← Back to team overview

ubuntuforums-unanswered team mailing list archive

Re: [Question #75956]: CPU scaling

 

Question #75956 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/75956

    Status: Expired => Open

Rob is still having a problem:
My rc.local lokks like this now.

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

# Wlan power on

echo 1 | tee /sys/devices/platform/asus-laptop/wlan

# set powersave governor for every cpu

    count=$(ls /sys/devices/system/cpu/ | grep cpu[0-9]*$ | wc -l)
    for ((cpu=0; $cpu < $count; cpu=$((cpu + 1)) )); do
        echo "powersave" > /sys/devices/system/cpu/cpu$cpu/cpufreq/scaling_governor
    done


exit 0


But still starting in Ondemand. I don´t know what to do now.

-- 
You received this question notification because you are a member of UF
Unanswered Posts Team, which is an answer contact for Ubuntu.