ACPI help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi
	You need to have acpid installed and an event associated with the 
power button. I'm not sure what gentoo's default configs for acpid are, an 
event for the power button may already be defined. In case it isn't, 
create a file in /etc/acpi/events called power or some such name and put 
the following two lines in it:
event=button/power.*
action=/sbin/poweroff
	Also, when enabling acpi, you got all sorts of options like fan, 
processor, ac adapter, button, etc. In order for the button to work, the 
button option has to be either compiled into the kernel or as a 
module--the module is named button.ko. I recommend enabling all of those 
options, unless you're on a desktop in which case "battery" can be left 
out.


On Thu, 17 Jun 2004, Jayson Smith wrote:

JS> Hi,
JS> On a related subject.  I've got a Gentoo box which supports ACPI.  I've
JS> enabled it in the 2.6.6 kernel, but when something happens E.G. I hit the
JS> power button, the machine just shuts down right away like there's no
JS> acpi-aware stuff there, and doesn't let Linux do anything about it.  Whereas
JS> for instance, in Windows, if you hit the power button Windows takes over and
JS> shuts down the system or at least that's what's supposed to happen. 




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux