Quote:
Originally Posted by bogzab
I looked at the discussion on the lock files and this indeed seemed to be the problem which stopped my calls to pm-suspend and pm-hibernate working. Deleted the lock file and tested again, now a bit more confident that my lilo.conf and mkinitrd.conf files were correct (is it right that the "RESUME=" entries should have the swap partition as the parameter?).
|
Yes, that's correct.
Quote:
pm-suspend then worked OK with my usual nvidia-supplied X driver, but again installing the nv driver screwed things up, this time quite badly when attemptng a pm-hibernate. Awaking from the hibernation failed and subsequent re-boot required a lot of fsck on the root file system to correct errors which seem to have arisen (there were references to .Xauthority and /var/run/pm-utils among the filesystem fixes that fsck undertook). Finally got back to bootable (and undamaged as far as I can make out) system, changed back to the nvidia driver and both pm-suspend and pm-hibernate working again.
|
Hrm, I wish I had hardware to test the nv driver and try to reproduce that, but unfortunately, I don't.
Quote:
Conclusion for me : Apart from ability to bibernate, no obvious gain over using other utilities that I have (KDE Klaptop "suspend" function and "acpitool -s" both of which seem to work (but only with the nvidia driver), and have the advantage for me in routine use of not having to be run as root.
|
The obvious gain is that pm-utils is the backend used by HAL for power management functions. Basically, the HAL methods perform calls to pm-utils by default. The benefit is that (depending on hardware, of course), assuming a power management daemon is installed, it will "just work" without any custom user setup.
As an example, I'm currently using a recent subversion snapshot of what will eventually be Xfce 4.6 and a not-quite-there subversion snapshot of the xfce4-power-manager goodie. I've disabled my custom acpi scripts and let xfce4-power-manager handle all of it. It allows me to configure (in a gui) what actions I want to happen when the power button is pressed, when the lid is closed, and so on, as well as different "profiles" for AC and battery usage. As an added aside, the xfce4-power-manager is developed by a Slackware user, so that's a plus :-)