My fix for Kubuntu Guidance was based on the following observations. I
am not familiar with the way HAL is *supposed* to work, so I don't know
whether this constitutes a bug in HAL.
The problem lies in the following section of /usr/lib/hal/scripts/linux
/hal-system-power-suspend-linux:
#Refresh d
Attached is a fix to this bug.
The problem is that after a resume HAL re-inserts all button objects.
These button objects are not necessarily re-inserted in the same order
that they were in before resuming however. As such, the lid object can
be "/org/freedesktop/Hal/devices/computer_logicaldev_i
I have the same problem on my Dell XPS M1210 laptop running KUbuntu 7.10
Gutsy Gibbon.
* Summary:
The first time the lid is closed the laptop goes into sleep perfectly, after
that I need to restart the power manager.
* Analysis of the problem:
I added some print statements to both guidance-pow