For the case with cpufreq on 12.04.3 using the 3.8 kernel LTS enablement
stack, I've found that the /sys/devices/system/cpu/cpufreq/ondemand
folder doesn't exist on boot. It seems to appear some time later. Maybe
30 - 60 s after boot. I have resorted to putting the below in
/etc/rc.local and not use sysfsutils:

until [ -d "/sys/devices/system/cpu/cpufreq/ondemand" ]; do
    sleep 1
done

echo -n "25" > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
echo -n "10" > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/955918

Title:
  sysfs settings not applied at boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sysfsutils/+bug/955918/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to