[Bug 114595] Re: Feisty HAL upgrade broke suspend on lid close

2008-01-29 Thread Stijn Vansummeren
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

[Bug 151648] Re: guidance-power-manager needs restarting after resume in order to suspend again

2008-01-25 Thread Stijn Vansummeren
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

[Bug 151648] Re: guidance-power-manager needs restarting after resume in order to suspend again

2008-01-03 Thread Stijn Vansummeren
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