login
Header Space

 
 

Sorry, maybe I don't

October 10, 2008 - 7:57am
Anonymous (not verified)

Sorry, maybe I don't describe the question clearly.

My power button and others such as halt shudown commands are work correctly. But finally, it shows "Power down", but not power off. I mean the screen is still on, the cpu fan is still noise, the usb devices are still powered on, it seems only the cdrom is powered off, I can't open it. I must press the power button for several seconds to power off completely.

So the problem is not about the acpi event-handler mapping. I use archlinux, and have something like this in /etc/acpi/handler.sh:

case "$1" in
button/power)
#echo "PowerButton pressed!">/dev/tty5
case "$2" in
PWRF) pm-hibernate ;;
*) logger "ACPI action undefined: $2" ;;
esac
...

and it works fine, except one thing, of course, don't power off.

Regards

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <b> <quote> <pre> <hr> <br> <p> <img> <blockquote> <font> <tt> <table> <tr> <i>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

speck-geostationary