Re: ISSUE: APM power off no longer works with 2.1

Doug Nazar (nazard@man-assoc.on.ca)
Sun, 26 Jul 1998 00:02:52 -0500


On Sat, 25 Jul 1998 22:37:45 +0200, Jean-Luc Fontaine wrote:

>[1.] APM power off no longer works with 2.1
>[2.] the computer (a PC based on a FIC PA-2012 ATX motherboard) fails to
>power off with 2.1 kernels (tested with 2.1.109 up to 2.1.111), whereas
>it used to work with 2.0.34. Of course, kernels were all compiled with
>CONFIG_APM_POWER_OFF turned on.

The kernel was modified to support both halting and powering down.
The old method modified the halt function to poweroff. The 2.1 kernels
offer both a halt and poweroff function. You need to have a version of
sysvinit which can handle this. I'm using version 2.72 here. You then
need to modify your shutdown script (on slackware its /etc/rc.d/rc.0)
to call either 'halt -p' or 'poweroff'.

Doug Nazar

Phone: (416) 708-1578
Fax: (416) 708-8081

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html