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

Jean-Luc Fontaine (
Sun, 26 Jul 1998 10:10:57 +0200

Doug Nazar wrote:

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

It works, thanks!I failed to see it documented anywhere though.
Maybe a short explanation could be added to the CONFIG_APM_POWER_OFF help?

Jean-Luc Fontaine

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to Please read the FAQ at