public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* APM, ACPI, WOL, Oh My!
@ 2001-01-16 18:11 Alex Deucher
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Deucher @ 2001-01-16 18:11 UTC (permalink / raw)
  To: linux-kernel

Is there something special that linux vendors do to make their machines
power off when they are shutdown?  I've used both redhat and mandrake
supplied 2.4.x SMP kernels, and all of them manage to turn off the
machine when I shutdown.  I realize that apm is not supported in smp
mode, but the have the option apm=poweroff in my lilo.conf and with the
vendor supplied kernels it always works fine.  However, whenever I build
by own SMP kernel, I cannot get it to power off.  I have tried just
about every combination of apm options, but to no avail.  I've been
building apm into the kernel rather than as a module.  I also tried with
both apm and acpi, since some of the vendor kernels have had both
enabled on them, but still to no avail.

WOL (Wake on LAN) also ties into this.  I recently added a WOL ethernet
card so I could wake my PC remotely.  It works fine, but there are some
strange caveats...

If I shutdown in linux using a vender kernel with apm that powers off
the machine, it powers off fine and stays off until I hit the power
button or I send a wake up packet.  If I shutdown and power off using
win98, or with the power button, the machine goes off, but will then
preceed to reboot with in 3-4 minutes.  This is completely repeatable. 
Turning it off manually during the reboot will not stop this.  If I turn
it off manually after it turns itself on, it will continue to try and
reboot itself every few minutes.  they only solution is to let linux
boot and perform a shutdown and power off.  then it stays off. 

AFAIK, WOL is software independant.  The only thing I can figure it that
it is somehow tied into apm or acpi and some state that the machine is
left in after a shutdown.

Sorry if this is somewhat off topic.

Thanks,

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: APM, ACPI, WOL, Oh My!
       [not found] <Pine.LNX.4.10.10101161336420.1529-100000@coffee.psychology.mcmaster.ca>
@ 2001-01-16 18:54 ` Alex Deucher
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Deucher @ 2001-01-16 18:54 UTC (permalink / raw)
  To: Mark Hahn, linux-kernel



Mark Hahn wrote:
> 
> > mode, but the have the option apm=poweroff in my lilo.conf and with the
> 
> apm=power-off.  I'm looking at modern kernels, of course (2.4+).
> power_off is a valid alternative.  at one time, the magic string
> was smp-power-off.
> 

Whoops, I should reread my emails before I hit send; the actual string I
have on my PC is apm=power-off.


> some bioses also need to be returned to real mode before that call;
> modern kernels have a config option for that.

I tried that option, but it didn't matter, smae behavior.  I also tried
most if not all of the others like enable apm at boot time etc.

> 
> > If I shutdown in linux using a vender kernel with apm that powers off
> > the machine, it powers off fine and stays off until I hit the power
> > button or I send a wake up packet.  If I shutdown and power off using
> > win98, or with the power button, the machine goes off, but will then
> > preceed to reboot with in 3-4 minutes.  This is completely repeatable.
> > Turning it off manually during the reboot will not stop this.  If I turn
> > it off manually after it turns itself on, it will continue to try and
> > reboot itself every few minutes.  they only solution is to let linux
> > boot and perform a shutdown and power off.  then it stays off.
> 
> so don't use win98 ;)

I rarely do, which is why this problem is not as annoying as it could be
:p

> 
> > AFAIK, WOL is software independant.  The only thing I can figure it that
> 
> it's certainly not.

It's not?  But you can wake your PC remote with a WOL NIC regardless of
the OS. Shutting the PC down again is another issue.


Thanks,

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-01-16 18:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.10.10101161336420.1529-100000@coffee.psychology.mcmaster.ca>
2001-01-16 18:54 ` APM, ACPI, WOL, Oh My! Alex Deucher
2001-01-16 18:11 Alex Deucher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox