https://bugzilla.novell.com/show_bug.cgi?id=233147 ------- Comment #5 from hmacht@novell.com 2007-01-10 06:44 MST ------- (In reply to comment #2)
cpufreq-selector is a simple binary accessing following files: /sys/devices/system/cpu/cpu*/cpufreq /proc/cpufreq
It does not use HAL.
If you can provide simple HAL helper with following API, I will replace it:
cpufreq-selector --help Usage: cpufreq-selector [OPTION...] - CPUFreq Selector
Help Options: -?, --help Show help options
Application Options: -c, --cpu CPU Number -g, --governor Governor -f, --frequency Frequency in KHz
The HAL addon provides the following methods: (More information can be found in the HAL spec [1]) GetCPUFreqGovernor SetCPUFreqGovernor GetCPUFreqPerformance SetCPUFreqPerformance GetCPUFreqConsiderNice SetCPUFreqConsiderNice GetCPUFreqAvailableGovernors So it doesn't provide the possibility to manually the the frequency to a specific one. It just provides the possibility to either set it to fixed low/high, or to tune the dynamic algorithm. Manually setting the frequency would also require the userspace governor to be used, which ideally shouldn't be the case anymore. It is just used as a fallback if the ondemand governor does not work. So the actual question is why someone would like to change the frequency manually at all, and why then this person wouldn't be able to log in as root before doing so... [1] http://gitweb.freedesktop.org/?p=hal.git;a=blob_plain;f=doc/spec/hal-spec.ht... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.