Comment 2 for bug 264311

Revision history for this message
pakraticus (pakraticus) wrote : Re: pm-utils stoped working in Intrepid

Works on a T61 with some fixing. Fixes have been forwarded on to another pm-utils thread along with a patch.
A few things I've found.
1) gnome-power-manager's determination as to whether or not a system may suspend or hibernate appears to eventually depend on pm-is-supported --suspend and pm-is-supported --hibernate. 'sh -x /usr/bin/pm-is-supported {--suspend,--hibernate}; echo $?'can give some indication as to what it is doing.
2) The SLEEP_MODE=auto leads to an incorrect test for suspend if uswsusp is installed. Either remove uswsusp, or change pm-functions to have it check for s2ram instead of s2disk for uswsusp mode.
3) The straight kernel mode suspend has been a crap shoot for me. Yesterday my T61 was happier with s2ram from debian sid's uswsusp-0.8-1 rebuilt on intrepid. This morning that lead to network-manager not being able to recognize the return of the network.
4) Once you fix your system so that pm-is-supported reports accurately and behaves correctly, you will need to have dbus reload its information.
5) My system is back to logout and switchuser on the logout app, and suspend on the shutdown app.