Re: Automatic reboot on PPC (was: Re: Two issues with 2.4.18pre3 on

Benjamin Herrenschmidt (benh@kernel.crashing.org)
Wed, 16 Jan 2002 18:55:24 +0100


> btw, i've heard there was a trick to enable automatic reboot of apple
>powermac after a power failure (broken link on www.penguinppc.org, I've even
>asked webmasters whithout having any response)
>
> My main server/gateway/firewall _is_ a PPC running linux, and I would damn
>like to know this trick !
>
>thanx for any pointer/answer/whatever..

The actual command to send to /dev/adb is different depending if
your machine has the Cuda or the PMU chip for controlling power.

Also, it sorta have to be reset in the kernel when doing a normal
shutdown or your machine will always come back up ;) So we need
some kind of userland script putting it back ON and the kernel
putting it back off.

I'll go dig around to find the exact commands, but you could well
post a message to the linuxppc-dev and get a reply before I find
that out ;)

Ben.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/