cannot set default frequency or mode

Bug #1082868 reported by Pelle van der Scheer
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
indicator-cpufreq
Undecided
Unassigned

Bug Description

It would be very welcome to set a default frequency to use on startup, for example in a conf file somewhere?

using 0.1.4-0ubuntu2
on dualcore 1.9ghz laptop

Revision history for this message
Artem Popov (artfwo) wrote :

I see your point, but don't currently see an easy solution. Ubuntu CPU governor is usually "performance", when the system boots for maximum speed during bootup. After 60 seconds (reasonably chosen boot time) the system explicitly switches the governor to "ondemand".

There is a small conflict here — if indicator-cpufreq chooses some frequency after you log in, Ubuntu system scripts may override it just a bit later, because of the above hardcoded behaviour, which is actually okay for many users. Thoughts?

Revision history for this message
Борис Михаилов (boriseto) wrote :

Well how does the system switch it from "performance" to "ondemand"?
Isn't there a way to run a script after 70 seconds that would change the value in to the prefered one then? Like the system does.

Revision history for this message
Artem Popov (artfwo) wrote :

Yep, it's possible to either edit the script in /etc/init.d/ondemand (line 27) and replace "ondemand" with a preferred governor. Or keep a similar command sequence in /etc/rc.local.

Revision history for this message
Michael P (crank) wrote :

Well, if you have a SSD, Ubuntu boots in less than 10 seconds (about 7) to the desktop.
Because of that I lowered the time from 60 seconds to 10.
Thanks for the hint.

Revision history for this message
Casonade (damystica) wrote :

Comment #3 and #4. Thank you very much! Now, how do I fix it so that, on resume from suspend, it will switch to Conservative right away? I'm very new to Linux and would really appreciate your help.

Revision history for this message
Casonade (damystica) wrote :

In response to my question written above on 2013-03-19, I have LMT (laptop-mode-tools) enabled on my system and a file named "cpufreq.conf" was in conflict with indicator-cpufreq. I simply disabled that file and problem was fixed. Thank you for this program, author.

Asus U31SD-XH51 on Ubuntu 12.04 LTS

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers