Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Enabling the power button for shut down.< Next Oldest | Next Newest >
lester67 Offline





Group: Members
Posts: 4
Joined: Feb. 2006
Posted: Dec. 08 2006,03:37 QUOTE

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
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Dec. 08 2006,13:49 QUOTE

Something to do with apm/acpi (power management)...?
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Dec. 08 2006,14:46 QUOTE

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
Back to top
Profile PM 
lester67 Offline





Group: Members
Posts: 4
Joined: Feb. 2006
Posted: Dec. 11 2006,00:50 QUOTE

Excellent.  Forgot to add: I'm a Linux idiot.  How, exactly, would that script look? :-)
Back to top
Profile PM 
lester67 Offline





Group: Members
Posts: 4
Joined: Feb. 2006
Posted: Dec. 11 2006,01:46 QUOTE

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.)
Back to top
Profile PM 
5 replies since Dec. 08 2006,03:37 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Enabling the power button for shut down.

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code