View Single Post
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#28
Originally Posted by nokian-series View Post
I'm trying to change the value on, for exemple:
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
with this command:
sudo echo 1000000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
using: queen beecon widget
That command line won't work because you're just using sudo to run "echo" with su privileges - the redirect happens with normal user privileges so fails.

Try "echo 1000000 | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq"

You may need to add "tee" to the sudoers configuration first.