** Description changed: Binary package hint: powersaved VERSION: using fully updated kubuntu edgy. - Frequency scaling is not working because - powersaved fails to load cpu frequency governors, and frequency scaling doesn't work because - at the start of the load_governors() function, script /etc/init.d/powersaved checks for readable "/sys/devices/system/cpu/cpu0/cpufreq". And that folder doesn't exist _at that time_. If the folder does not exist or is not readable, cpu freq governors kernel modules are not loaded. because - the folder "/sys/devices/system/cpu/cpu0/cpufreq" is created by the kernel after the appropriate cpufreq module is loaded (in load_cpufreq_modules() function) and - load_governors() is called too early after loading cpufreq module - The FIX: - in function load_cpufreq_modules() of /etc/init.d/powersaved, a small delay has to be introduced between the loading of cpufreq module and the call to load_governor. - I tried a sleep .2 which was too short, but a sleep 5 works perfectly. + a quick FIX: + - in function load_cpufreq_modules() of /etc/init.d/powersaved, a small delay could be introduced between the loading of cpufreq module and the call to load_governor. I tried a sleep .2 which was too short, but a sleep 1 works perfectly. - The sleep delay has to be adapted, which I couldn't do (lack of time). - I hope this report is useful. - - thanks for your work + Hoping this reporting is useful, thanks for your work
-- powersaved: frequency scaling not working [FIX included] https://launchpad.net/bugs/68423 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs