Do not require the password for cpu frequency scaling in Ubuntu Karmic 9.10
December 8th, 2009 at 6:33pm |
In Ubuntu Karmic 9.10 the frequency scaling GNOME applet always requires a password in order to allow you to change CPU frequency or governor. This is due to policykit profiles enforcing some more strict security.
Helas these profiles are not editable trough the applet in System -> Administration -> Authorisation.
Fortunately, as always in linux this can be achieved by simply editing a text file:
gksudo gedit /usr/share/polkit-1/actions/org.gnome.cpufreqselector.policy
locate the following lines
<message xml:lang="zh_TW">要調整 CPU 頻率需要權限。</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
</action>
</policyconfig>
and replace the highlighted text
<message xml:lang="zh_TW">要調整 CPU 頻率需要權限。</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
</policyconfig>
This change is unfortunately to be applied every time policykit gets updated.
The launchpad bug is #455694
Related posts:
- VMware Workstation 6.5.3 on Ubuntu Karmic 9.10
- Install nvidia-glx-180 drivers in Ubuntu Karmic 9.10
- howto create password protected archives in linux
- enable nVidia CoolBits (frequency tuner)
Print This Post
|
Email This Post
Posted in GNOME
[...] Do not require the password for cpu frequency scaling in Ubuntu Karmic 9.10 [...]
[...] Fonte: http://www.aldeby.org/blog/do-not-require-the-password-for-cpu-frequency-scaling-in-ubuntu-karmic-9-... [...]
In spite of making these edits to the policy file, my cpu frequency still does not scale. Under Hardy, the speed increased along with load level (or similar). Under Karmic, it stays at its lowest level.
That is pretty strange since it should be by default either on OnDemand or Performance (whenever the cpu scaling driver is missing or not working).
Please have a look at your desktop environment (KDE or GNOME) performance settings and doublecheck laptop-mode settings ( in /etc/laptop-mode/laptop-mode.conf )
I don’t seem to have a file /usr/share/polkit-1/actions/org.gnome.cpufreqselector.policy in karmic