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 Desktop
Packages, which is subscribed to sysfsutils in Ubuntu.
https://bugs.launchpad.net/bugs/955918
Title:
sysfs settings not applied at boot
Status in “sysfsutils” package in Ubuntu:
Confirmed
Bug description:
I added some sysfs tweaks to /etc/sysfs.conf and those changes are not
applied when the computer boots. If i start the service manually
everything works ok.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: sysfsutils 2.1.0+repack-1
ProcVersionSignature: Ubuntu 3.0.0-17.30-generic-pae 3.0.22
Uname: Linux 3.0.0-17-generic-pae i686
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Thu Mar 15 11:35:59 2012
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
SourcePackage: sysfsutils
UpgradeStatus: Upgraded to oneiric on 2011-10-14 (153 days ago)
mtime.conffile..etc.sysfs.conf: 2012-03-09T17:24:51.116117
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sysfsutils/+bug/955918/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp