LinHES Forums
http://forums.linhes.org/

Power button on case does not shutdown?
http://forums.linhes.org/viewtopic.php?f=14&t=14401
Page 1 of 1

Author:  tarantoga [ Wed Feb 28, 2007 11:48 pm ]
Post subject:  Power button on case does not shutdown?

Hi,

I installed R5E50 on an Asus Pundit, combined Frontend/Backend. The one thing I can not get to work is shutting down Linux through the power button on the front.

It used to work in the previously installed Fedora on the same HW, but I cannot get it to work on KnoppMyth.

How can I trigger an action from the Pundit's power button?

Thanks.

Author:  bigbro [ Thu Mar 01, 2007 10:29 pm ]
Post subject: 

Holding the case button for 5 seconds is a forced shutdown, but that will take it down. Kind of hard on the mysql instance as that will basically crash the tables. Tehrefore that type of shutdown would not be advised.

The other option is to go to Knoppmyth in the main menu and choose "Power Off" That performs a normal shutdown after closing out all of the Linux files.

Author:  bigB [ Mon Mar 05, 2007 10:58 pm ]
Post subject: 

Hi,

I can't recall exactly how to do this but these pointers should get you started. It requires the ACPI daemon to be running, and you may need to load the "button" kernel module.

This is an example on how to change a currently working power button operation:
http://www.mythtv.org/wiki/index.php/Change_Power_Button_Action

But you should be able to do a google search on "acpi" and "button" for more info.

BigB.

Author:  tarantoga [ Tue Mar 06, 2007 10:52 am ]
Post subject: 

bigB wrote:
.....
It requires the ACPI daemon to be running, and you may need to load the "button" kernel module.


Thanks for your pointer; I found out that I had to install the acpid.
KnoppMyth came with acpi clients, but
Code:
apt-get install acpid
added the necessary daemon and powerbtn.sh scripts.

Tarantoga

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/