LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   KPowerSave can't set CPU frequency policy (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/kpowersave-cant-set-cpu-frequency-policy-875878/)

killy9999 04-19-2011 08:30 AM

KPowerSave can't set CPU frequency policy
 
Hi guys,

I have a problems with setting cpu frequency using kpowersave 0.7.3 (I'm using KDE 3.5.10 under openSUSE 11.4). kpowersave displays cpu frequencies properly, but is unable to detect the current frequency policy/governor (it says it's unknown) and can't set the cpu speed - the option is available but attempt to use it results in a warning that the given policy cannot be set. I can successfully set the cpu governor using commands like powersave or cpufreq-set, it's just that kpowersave can't do it.

killy9999 04-19-2011 11:03 AM

Problem solved. Here's the solution in case any of you encounters the same problem. Everything seems to have been caused by Polkit/Hal interaction. In /etc/Polkit/Polkit.conf I added:

<match action="org.freedesktop.hal.power-management.cpufreq">
<return result="yes"/>
</match>

You man add <match user="yourusername"></match> to restrict access to particular user. Previously I had problems with mounting removable devices - this also required extending Polkit policies.

You may also use polkit-actions to list available Polkit entries.


All times are GMT -5. The time now is 10:26 PM.