Other Help Topics :: Enabling the power button for shut down.
I'm installing DSL 3.0 on a Dell CP laptop. I'd like for it to recognize when the power button has been hit, so it can initiate its own shutdown.
Is there anyway to make that happen?
(Dell specs are located here: http://support.dell.com/support/edocs/systems/pmojav/specs.htm )
Thanks in advance!
Lester
Something to do with apm/acpi (power management)...?
If your machine is acpi compliant, you can install the acpid daemon and write a simple script to call "exitcheck.sh shutdown" when the powerbutton is pressed momentarily
Excellent. Forgot to add: I'm a Linux idiot. How, exactly, would that script look? :-)
Quick update: during boot it reports...
"ACPI BIOS Found. Activating Modules: ac battery button fan processor thermal"
Not sure what "button" means, but it looks like ACPI is on there. I just need a way to throw the switch. (Pardon the metaphor.)
Next Page...
original here.