ACPI help

Steve Holmes steve at
Sun Jun 20 09:02:00 EDT 2004

Hash: SHA1

I'm kinda new to this APM/ACPI stuff but I own an older Hitachi laptop
and can't really tell if ACPI will work on it.  About the only thing
I've been successful at doing is leave APM support in the kernel and
now if I type 'shutdown -h now', the machine will actually turn itself
off.  Before doing that to the kernel, the machine would stay on and
have to be manually turned off.  I cannot seem to adiquately monitor
any APM events and apmd would consistantly cause my machine to lock up
anyway.  I now run the machine without APMD and my machine never locks
up any more.  I understand ACPI is much better than APM but I don't
think older machines' hardware supports it.  Any good way to find out?
I realy would like a way to just close the lid for example and have
that auto-suspend or auto-standby the computer for me or simply have
it power itself down gracefully.

On Thu, Jun 17, 2004 at 07:26:01PM -0400, Jacob Schmude wrote:
> 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.

- -- 
HolmesGrown Solutions
The best solutions for the best price!
Version: GnuPG v1.2.3 (GNU/Linux)


More information about the Speakup mailing list