lkml.org 
[lkml]   [1998]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ISSUE: APM power off no longer works with 2.1
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 mailto:jfontain@mygale.org
http://www.mygale.org/~jfontain/





-
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

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.058 / U:0.884 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site