Wednesday, March 07, 2007

KPowersave Debian / (K)Ubuntu packages

Now are also updated packages (v0.7.2) of KPowersave for Debian via experimental available (see here). Thanks to Michael Biebl for packaging and maintain the package for Debian.

Also thanks to Luka Renko for update the Ubuntu/Kubuntu KPowersave package to v0.7.2. As it looks also many people would like to see KPowersave as default (see e.g. this discussion) on Kubuntu. Maybe Kubuntu can switch from the guidance-power-manager to KPowersave (since we use now HAL instead of powersave) as default under KDE ?!

Feel free to test the packages and report bugs to your distribution.
Tech Tags:

7 comments:

Lure said...

Danny, 0.7.2 is great progress and nice work from you.

Now that dependency on powersaved is gone, kpowersave is much better match for Kubuntu.I pushed hard to get it into repositories (makes much more sense than 0.6.x), but to change the default that late (just before the beta release) would be asking for trouble.

What is still considered an issue for Kubuntu is complexity of GUI. There are too many options given to user, which makes it great for power users, but may confuse the main audience of Kubuntu. Schemes concept is nice, but not used by many users, therefore making it more complex for the typical user. Using same names for scheme as well as for CPU frequency policy (Powersave and Performance) can add up to confusion.

It would also help if kpowersave can be put into KDE SVN (playground is fine for start). It is much easier to follow progress and get wider review and we could also fork some work branches to test ideas. With KDE4 around the corner and most of HW abstraction moving to Solid, we will anyway have to re-factor power management substantially (moving HAL stuff to Solid, using very light applet based on on Solid). And involving KDE Usability team would make lot's of sense.

Leo S said...

I installed kpowersave 0.7.2 on Debian sid so I could get proper reaction to acpi events instead of polling, but it didn't work so well. Suspend and hibernate does nothing. Then I installed powersaved which made hibernate work at least. Suspend still did nothing. After messing around with the config files I finally got it to suspend, but it would not wake up properly anymore.

So I finally uninstalled it and wanted to go back to klaptop, which worked fine before. But now klaptop wont even show the icon, saying: Your computer seems to have a partial ACPI installation. ACPI was probably enabled, but some of the sub-options were not - you need to enable at least 'AC Adaptor' and 'Control Method Battery' and then rebuild your kernel.

Any ideas how to fix this?

Leo S said...

The funny thing is that if I execute klaptop_acpi_helper from the command line everything works just great. But for some reason it doesn't think my acpi installation is working. I wonder what it looks for.

Danny said...

@leo: I'm not sure how your machine suspend. But you should have an actual HAL version (>= 0.5.8.1) and a tool which HAL use to suspend. I would prefer pm-utils.

The best would be you report the problem to the Debian bugzilla, so that the Debian maintainer of the package could take a look at the problems.

eye said...

this seems to be a Debian bug. On my machine, hibernate works, s2disk, pm-utils, everything. The following command also works:

dbus-send --system --print-reply --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Hibernate

however, hibernate in KPowerSave 0.7.2 results in no action.

What would be further steps to nail the problem down?

eye said...

Sorry, wasn't a bug, but a deliberate limitation from Debian.

Normal users have to be added to group 'powerdev' to be able to access hibernate and suspend features. Then, everything works.

Anonymous said...
This comment has been removed by a blog administrator.