[powersave-devel] Re: [kubuntu-devel] Re: kpowersave and backup applications

Michael Biebl biebl at teco.edu
Thu Feb 16 23:37:56 GMT 2006

Jonathan Riddell wrote:
> On Fri, Jan 27, 2006 at 06:24:24PM +0100, Danny Kukawka wrote:
>> On Sun Jan 22 20:37:03 2006 Sebastian K??gler wrote:
>>> On Wednesday 18 January 2006 21:29, Jonathan Riddell wrote:
>>>> Has anyone had experiences with kpowersave?  It seems better
>>>> maintained than the klaptopdaemon we use at the moment but I'm looking
>>>> for experiences of whether it's more reliable or not.
>> Sound good for us as KPowersave/powersave developers. KPowersave is since 
>> years the default powermanagement fontend/solution under KDE on SUSE. We 
>> would be happy if KPowersave could also replace klaptop on an other 
>> distribution. ;-)
> Great :)
> A couple of questions, how does kpowersave (or libpowersave) actually do the suspend?
> And what does it use HAL for?
> If it uses HAL for the suspend that probably means that it works just
> perfectly on Kubuntu as far as the gnome stuff works on Ubuntu.

How does HAL actually do the suspend? If it just calls the
scripts you have nothing special to do. This script already checks for
the powersave binary and if its is found it uses powersave for handling
the actual suspend.
Three points that you should consider for kubuntu:
1.) DBus access is controlled via the group plugdev in Debian. As Ubuntu
now has libpam_foreground you could simply delete the
debian/patches/dbus_access.diff patch of the powersave source package.
2.) The shell scripts of the acpi-support package should check for a
running powersaved process and if found simply exit and leave the acpi
event processing to powersaved. Take the sleep.sh script for example. It
should contain something like this

if pidof powersaved ; then
	exit 0

at the beginning of the script.
3.) Make sure that no other cpufrequency scaling daemon is installed as
powersaved handles this itself.

If you have more questions, please ask.


Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/kubuntu-devel/attachments/20060217/d163779a/signature.pgp

More information about the kubuntu-devel mailing list