You are not logged in.
Pages: 1
Hello and first of all, sorry about my english!
When I run kpowersave as a regular user, CPU Frequency Policy and Suspend to RAM/Disk options are disabled (right click on tray icon).
But when I run kpowersave as root options are available.
How can I make those options available when I run kpowersave as a regular user?
My DE is KDE3.5 and I have my user in 'power' group.
Last edited by nemp (2009-05-22 14:08:50)
Offline
Do you have hal and acpid?
Offline
Do you have hal and acpid?
Yes, those daemons are started.
Last edited by nemp (2009-05-17 22:00:22)
Offline
I also tried to add user in wheel group and then uncomment %wheel ALL=NOPASSWD : ALL in /etc/sudoers, but still no luck.
Anyone else have idea?
Offline
Try adding yourself to "power" group.
Offline
As I said, I have my user in power group.
Last edited by nemp (2009-05-22 10:58:14)
Offline
Sorry, didn't notice that.
Then, this may be a policykit issue. Try adding something like that in your /etc/PolicyKit/PolicyKit.conf (that should be inside "config" section) and see whether it enables suspend and hibernate (I don't remember action names for cpu scaling - even not sure there are those):
<match action="org.freedesktop.hal.power-management.suspend">
<match group="power">
<return result="yes"/>
</match>
</match>
<match action="org.freedesktop.hal.power-management.hibernate">
<match group="power">
<return result="yes"/>
</match>
</match>
Last edited by Mr.Cat (2009-05-22 11:49:09)
Offline
Solved!
Thanks Mr.Cat!
This was a policykit issue. I added those lines to my /etc/PolicyKit/PolicyKit.conf but instead of <match group="power"> i added <match user="USERNAME"> and I also added two more <match> tags for cpufreq and lcd-panel
<match action="org.freedesktop.hal.power-management.suspend">
<match user="nemp">
<return result="yes"/>
</match>
</match>
<match action="org.freedesktop.hal.power-management.hibernate">
<match user="nemp">
<return result="yes"/>
</match>
</match>
<match action="org.freedesktop.hal.power-management.cpufreq">
<match user="nemp">
<return result="yes"/>
</match>
</match>
<match action="org.freedesktop.hal.power-management.lcd-panel">
<match user="nemp">
<return result="yes"/>
</match>
</match>
Last edited by nemp (2009-05-22 14:12:19)
Offline
Glad it helped.
Still, I'm quite confused with what is going on with policykit and not sure, whether hacking PolicyKit.conf is a proper way to fix the issues. I think, I'll start a new topic for that.
Offline
Pages: 1