Comment 4 for bug 554586

Revision history for this message
onox (onox) wrote :

You need to have a directory like /sys/devices/system/cpu/cpu0/cpufreq/ and the cpufreq-selector binary in your path (type "which cpufreq-selector" in a terminal).

I currently use a very small python script, but it has been chmodded SUID, which means it will run as root. According to the Awn core devs this will trigger some chain reaction of neurons in the brains of Linux distribution devs (read: core devs think that distribution devs don't want to install that script if I would distribute it along with Awn Extras), so instead I need to write some code that starts a DBus service object (to be automatically started by DBus) (I still think as root if you want to be able to change the values in /sys) + PolicyKit. Since PolicyKit only has API reference manual for the C language and there is no proper manual with examples, it's gonna take some time to find out how this stuff works. I need to read and try to understand gnome's cpufreq-selector code (which is written in a certain old unreadable deprecated language from the early 70's (read: C)).

@kylehuff: I don't idle in #awn anymore, so I'll contact you in a private message if necessary