The CPU governor is not correctly set

Bug #38862 reported by Michele Campeotto
This bug report is a duplicate of:  Bug #37252: Fails to set CPU governor. Edit Remove
Affects Status Importance Assigned to Milestone
laptop-mode-tools (Ubuntu)

Bug Description

In the script /usr/sbin/laptop_mode there is a bug which prevents the correct governor to be set when no userspace governor is used and CONTROL_CPU_FREQUENCY is activated.

Here is the fix, already included in newer upstream versions:

--- laptop_mode~ 2005-11-29 19:19:58.000000000 +0100
+++ laptop_mode 2006-04-09 01:58:21.000000000 +0200
@@ -603,7 +603,7 @@
                        echo "Setting CPU minimum frequency for cpu $THISCPU to $THIS_CPU_MINFREQ." > $OUTPUT
                        echo $THIS_CPU_MINFREQ > $THISCPU/cpufreq/scaling_min_freq
                        echo "Setting CPU frequency governor for cpu $THISCPU to $THIS_CPU_GOVERNOR." > $OUTPUT
- echo $THIS_GOVERNOR > $THISCPU/cpufreq/scaling_governor
+ echo $THIS_CPU_GOVERNOR > $THISCPU/cpufreq/scaling_governor

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.