You are not logged in.
i use ondemand governor and i want to change up_threshold value.
Whenever i change profile through powerdevil up_threshold gets its default vaule of 80.
what i did was to create a script named threshold containing the lines:
#!/bin/bash
sudo sh -c 'echo 50 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold'
i have also set through /etc/sudoers that this script is passwordless for my user.
if i run the script, it successfully changes the value. It also runs successfully if i put it in startup.
My problem is that it fails to run when i choose it to run when a profile loads through powerdevil. I am refering to the feature shown below :
at first i thought that this function has a problem. so i chose to run kate, and when i changed profile, kate started immediately. So i guess that there is a problem with my script.
Any ideas?
Last edited by mechmg93 (2009-10-20 20:14:30)
Mikes on AUR
Offline
i finally solved my problem by adding as first line on the script the command:
sleep 2
Mikes on AUR
Offline
I hope someone reads this thread also its already marked as solved...
Anyway, i would like to use CPU frequency scaling, but in the powermanagement settings,
i cant shoose anything for frequency scaling.
What do i have to do to be able to set "ondemand" or "always lowest frequency"?
Wich daemons and/or modules do i have to activate to change the frequency policy?
Would be very nice if someone could help me.
Arch Linux @ Thinkpad X1 Carbon Gen 5
Offline
Hi, have a look at (section CPU Frequency Driver):
http://wiki.archlinux.org/index.php/Cpufrequtils
Last edited by BlueSkyNis (2009-10-20 23:52:15)
Offline
Thanks so far, i thought i already tried this, but maybe it'll work this time.
If i want to change the cpu scaling policies via PowerDevil, i just need to load the Modules, not the Daemon, right?
Arch Linux @ Thinkpad X1 Carbon Gen 5
Offline