Juanito
Group: Members
Posts: 1601
Joined: Sep. 2005 |
|
Posted: Nov. 15 2006,05:35 |
|
I guess the first step would be to verify that your system will work with acpi.
Note that you may need to add "apm=off" and/or "acpi=force" to your syslinux.cfg file to encourage DSL to work with acpi.
Once booted, try to "modprobe" the acpi modules "thermal", "processor", "fan", "button", "battery" & "ac".
If the above works, then try "apt-get install acpid"
If all of the above works, you should be in good shape to have acpid detect a "button" event and run the powerdown script of your choice.
The /share/doc/acpid readme files or the /share/man/acpid files installed with acpid may give some explanation on how to set-up acpi events/scripts. If not, you could try a Google search on acpid and the name of your laptop - in my case this gave several links to explanations on how various people set up their system to work with acpi.
|