public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: <linux-kernel@vger.kernel.org>,
	Thomas Capricelli <tcaprice@logatique.fr>
Subject: Re: Automatic reboot on PPC (was: Re: Two issues with 2.4.18pre3 on PPC)
Date: Wed, 16 Jan 2002 18:55:24 +0100	[thread overview]
Message-ID: <20020116175525.31579@smtp.adsl.oleane.com> (raw)
In-Reply-To: <20020116165420.9814923CBB@persephone.dmz.logatique.fr>
In-Reply-To: <20020116165420.9814923CBB@persephone.dmz.logatique.fr>

>	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.



  reply	other threads:[~2002-01-16 17:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-16 13:47 Two issues with 2.4.18pre3 on PPC Lukas Geyer
2002-01-16 15:24 ` Ed Sweetman
2002-01-16 18:56   ` Lukas Geyer
2002-01-16 16:37 ` benh
2002-01-16 16:55   ` Automatic reboot on PPC (was: Re: Two issues with 2.4.18pre3 on PPC) Thomas Capricelli
2002-01-16 17:55     ` Benjamin Herrenschmidt [this message]
2002-01-16 17:05   ` Two issues with 2.4.18pre3 on PPC Tom Rini
2002-01-16 17:10     ` Eric S. Raymond
2002-01-16 17:31       ` Tom Rini
2002-01-16 17:25         ` Eric S. Raymond
2002-01-16 17:54           ` Tom Rini
2002-01-17  0:08       ` Horst von Brand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020116175525.31579@smtp.adsl.oleane.com \
    --to=benh@kernel.crashing.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tcaprice@logatique.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox