You are not logged in.
I posted a related problem in the Newbie Corner but it turned into a more laptop/acpi specific problem, so I'll try again here. Basically, my /etc/acpi/handler.sh is apparently not handling my power events. I am running the laptop-mode and acpid daemons, and I have pm-utils installed, but even though i have added /usr/bin/pm-hibernate to the button/lid section my laptop does not hibernate when the lid is shut. However, when the lid is shut the screen is shut off, and when on battery power the screen dims. So my question to the laptop experts is this: if handler.sh is not controlling these events, what is?
Offline
laptop-mode-tools may be controlling it. You really only need acpi and pm-utils. Try uninstalling laptop-mode-tools, and tweak your acpi handler script to log EVERY input it gets, then try shutting your lid and try going from AC->battery and inspect what gets logged. Then you can confirm that the script is really trying to capture the specific events your laptop generates.
(A bit) more here: http://bbs.archlinux.org/viewtopic.php? … 67#p433667
Offline
Thanks for the help. I'll be out of town for a week but I'll give this a shot when I return and post my results.
Offline
Just remembered: you don't need to tweak the acpi handler script to log events; just use the acpi_listen utility included in the acpid package from extra.
Offline
I used acpi_listen and acpid was indeed logging the lid events. Exasperated, I tried to run /usr/bin/pm-hibernate from the command line, only to find that the file didn't exist! After some searching I found pm-hibernate in /usr/sbin. It's always the simple, stupid things that you miss that cause the biggest headaches. Anyways, thanks a lot for the help, now I can finally go on to configuring acpi to my liking.
Offline
Glad you're back on track. Good luck.
Offline