I seem to have this same bug. I'm on an HP Pavilion dv1111AV.
acpi_listen shows that acpi is getting the events. However, gnome-power-
manager --verbose does not show gnome-power-manager handling the events.
Ugly as it is, I've worked around the problem by including commenting
out the CheckPolicy line of the lid and including the following, which
simulates the settings I tried to set up with gnome-power-manager.
#if [ `CheckPolicy` = 0 ]; then exit; fi
grep -q closed /proc/acpi/button/lid/*/state
if [ $? = 0 ]
then
echo "lid closed"
grep -q off-line /proc/acpi/ac_adapter/*/state
if [ $? = 0 ]
then
echo "sleep with gnome-power-cmd"
su tom
gnome-power-cmd.sh suspend
Yeah, that's ugly.
Let me know if I can give you some more output to help with this.
--
Only manual suspend-to-ram possible?
https://bugs.launchpad.net/bugs/44567
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs