Feisty HAL upgrade broke suspend on lid close
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-power-manager (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
hal (Ubuntu) |
Fix Released
|
Undecided
|
Rolf Leggewie | ||
kde-guidance (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: hal
I have a IBM T60 laptop running Kubuntu feisty. Before the recent hal upgrade (2007-05-11), the laptop suspended correctly when the lid was closed. Now (with version 0.5.9 of hald) the system does not go to sleep when the lid is closed.
It does not matter if running with AC power or batteries. Suspend-to-RAM does work if I manually right-click on the KDE powermanager icon. If I do
cat /proc/acpi/
I correctly get
state: open
and if I do
sleep 5; cat /proc/acpi/
and close the lid in those 5 seconds I correctly get
state: closed
Yet, the laptop doesn't suspend even though it knows the lid is closed. I tried re-setting the KDE powermanager to suspend on lid closed, but this did not alter the behavior.
More information: on a reboot, the suspend on lid close works the _first_ time. But if you close the lid, wait, let it wake up, wait, and then close the lid again, it doesn't sleep.
Now I'm not sure about my assignment of this as a HAL problem, though: I did a dbus restart, which stops HAL and brings it back up again. Aside from it complaining that the battery has been removed (it hadn't), this didn't change things---suspend still failed on closing the lid.
Kernel version: /etc/init. d$ uname -a
tim@diva:
Linux diva 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux