[Bug 68423] Re: powersaved: frequency scaling not working [FIX included]
This is history, closing... ** Changed in: powersave (Ubuntu) Status: Confirmed = Invalid -- powersaved: frequency scaling not working [FIX included] https://bugs.launchpad.net/bugs/68423 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 68423] Re: powersaved: frequency scaling not working [FIX included]
** Changed in: powersave (Ubuntu) Importance: Undecided = Low Status: New = Confirmed -- powersaved: frequency scaling not working [FIX included] https://bugs.launchpad.net/bugs/68423 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 68423] Re: powersaved: frequency scaling not working [FIX included]
This problem seems to also affect laptops when coming out of sleep -- powersaved: frequency scaling not working [FIX included] https://bugs.launchpad.net/bugs/68423 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 68423] Re: powersaved: frequency scaling not working [FIX included]
** Tags added: packaging -- 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
[Bug 68423] Re: powersaved: frequency scaling not working [FIX included]
I can confirm that adding sleep 1 before load_governor fixes the problem. -- 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
[Bug 68423] Re: powersaved: frequency scaling not working [FIX included]
** 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