Summary: | Often pressing suspend/sleep button does not do anything | ||
---|---|---|---|
Product: | [Frameworks and Libraries] solid | Reporter: | Andrey Borzenkov <arvidjaar> |
Component: | powermanagement-daemon | Assignee: | Dario Freddi <drf> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sebas, simply_bugz, slengyel |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Andrey Borzenkov
2009-12-08 05:15:01 UTC
It is probably not widget but kded module problem, because even calling method directly does nothing: {pts/2}% qdbus org.kde.kded /modules/powerdevil org.kde.PowerDevil.suspend 2 Nothing happens. method call sender=:1.188 -> dest=org.kde.kded serial=11 path=/modules/powerdevil; interface=org.kde.PowerDevil; member=suspend int32 2 method return sender=:1.16 -> dest=:1.188 reply_serial=11 Just for info: I run kde 4.3.4 on hentoo. pm-utils are installed. I have the same problem. I tried it with and without gnome power management. If I use gnome and gnome power management, suspend works. On Mandriva it has apparently been fixed with consolekit update. At least I have not seen this issue since then. Thank you for the idea. I works now. But for me I had to do a consolekit downgrade. I used consolekit 0.4.1 (Unstable?) and it failed. Downgraded to consolekit 1.3.0-r2 and now suspend works. It seems it is not really consolekit 0.4.1 problem, rather it is a question of permitions. Taking a comment from gentoo, "------- Comment #6 From Thomas Kahle 2009-12-15 20:14:18 0000 ------- Ok, after some tideous investigation I solved this one. It is a policy issue. My user is not allowed to suspend the computer. This can be changed by root if he starts up the kde system settings and then under "Advanced->PolicyKit Authorization" identifies the correct entries under org.freedesktop and sets them to an appropriate value. For instance org.freedesktop.hal.power-management.suspend should have the implicit authorization "anyone -> Yes" to make powerdevil work again. I have no idea what triggered this change in my systems configuration. Now, it seems like a configuration issue, where the package maintainer of these rules should decide upon standard values, like whether users are allows to suspend the system." and giving an implicit or in my case an explicit permission to suspend, powerdevil works fine for me. So it is not a real bug. But it would be nice if the kde program to inform me that I do not have permission, and maybe a recommandation for the solution, so I do not spend 2 days to find a problem. :-) KDE 4.4 RC1 using ubuntu lucid on Asus eeepc 901 Suspend button works all the time but when close the lid it might suspend but usually decides not to. Quite often it select wrong profile and locks the system instead of suspend. I have no means to predict its behaviour. To clarify the situation: It seems that something is really broken but not sure what. The power applet tells me I have no battery or that power cable is or isn't plugged in which often has nothing to do with the reality and often my netbook dies without warning because it decides I have no battery for no reason. Right on a fresh boot it tells me I have two batteries one 79% charged and the other 100% (I have only one battery) PS: none of this was an issue with kde4.3 on ubuntu karmic *trying* to assign to powerdevil (hi dario!) and now for real to powerdevil (sorry for the noise guys) |