Bug#431429: conflict between powersaved and kpowersave
Package: kpowersave Version: 0.7.2-3 Severity: normal Hi, There seems to be some conflict between whether kpowersave or powersaved handles button presses. After suspending to RAM, then pushing the power button, the computer wakes up then immediately suspends to disk. I think powersaved is intercepting the power button event and hibernating the computer. The computer wakes up normally if powersaved is not installed. One oddity is that if I suspend to RAM using the kpowersave icon, then push the power button, the computer wakes up normally without immediately suspend to disk -ing. Here is a table summarizing the observations: with powersaved (powersaved default configuration) - Push FN+Standby computer enters standby Push power button computer wakes up then suspends 2 disk with powersaved (powersaved default configuration) - activate suspend to RAM from kpowersave tray icon computer enters standby push power button computer wakes up normally no powersaved -- pushing FN+Standby computer enters standby push power button computer wakes up I would like to keep powersaved installed for when I'm not logged in to KDE, but a graphical interface is also nice! Thanks, C. --- System information. --- Architecture: i386 Kernel: Linux 2.6.21 Debian Release: lenny/sid 990 testing localhost 990 testing ftp.uwsg.indiana.edu 980 testing localhost 50 unstableftp.egr.msu.edu 25 feisty us.archive.ubuntu.com 25 edgyus.archive.ubuntu.com --- Package information. --- Depends (Version) | Installed ===-+-=== kdelibs4c2a (= 4:3.5.6-1) | 4:3.5.7.dfsg.1-1 libc6(= 2.5-5) | 2.5-9+b1 libdbus-1-3 (= 0.94) | 1.1.1-1 libdbus-qt-1-1c2 (= 0.62.git.20060814) | 0.62.git.20060814-2 libgcc1(= 1:4.1.2) | 1:4.2-20070609-1 libhal1(= 0.5) | 0.5.9-3 libstdc++6 (= 4.1.2) | 4.2-20070609-1 libxext6| 1:1.0.3-2 libxss1 | 1:1.1.2-1 libxtst6| 1:1.0.2-1 hal(= 0.5.8.1) | 0.5.9-3 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#431429: conflict between powersaved and kpowersave
C Sights wrote: Package: kpowersave Version: 0.7.2-3 Severity: normal Hi, There seems to be some conflict between whether kpowersave or powersaved handles button presses. After suspending to RAM, then pushing the power button, the computer wakes up then immediately suspends to disk. I think powersaved is intercepting the power button event and hibernating the computer. The computer wakes up normally if powersaved is not installed. One oddity is that if I suspend to RAM using the kpowersave icon, then push the power button, the computer wakes up normally without immediately suspend to disk -ing. Here is a table summarizing the observations: Your observation is correct. Beginning with the 0.7 series, kpowersave does not depend on powersaved anymore, but defines the policy (what to do on button presses etc.) itself and calls the corresponding HAL methods on its own. This will interere with powersaved 0.15, which also defines its own policy, so you get to processes reacting on the same event. The one which reacts first, wins. Beginning with powersaved 0.15, this will be solved properly. powersaved claims the D-Bus name org.freedesktop.Power, when it starts and is then responsible for the policy. Whenever you start a graphical session, with kpowersave, it will take over the D-Bus interface org.freedesktop.Power and then is solely responsible for the powermanagement. When you log out again, powersaved takes over again. Unfortunately, powersaved-0.15 depends on a package called PolicyKit in a version, which has been abandoned upstream. So powersaved 0.15 will not enter unstable in the current form. Maybe I can patch out the PolicyKit requirement in powersaved and use other authorization mechanisms, based on group memberships e.g. This will take time though. Sorry for the inconvenience. Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? signature.asc Description: OpenPGP digital signature
Bug#431429: conflict between powersaved and kpowersave
Thanks for the nice explanation! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]