View Single Post
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#120
Originally Posted by StocChr View Post
hey vi_ i build my own Xsession Script, maybe you can proofreading it for me before i will test it on my device?!

i tried to put all things from the kernel-settings dsp profile in the xsession script:

Code:
echo "125000" > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/avoid_frequencies

echo "30 30 38 48 54 60 60 60 60 60 60 60 72 72" > /sys/power/vdd1_opps_vsel

echo "90 90 180 360 400 430 520 600 600 600 600 600 600 600" > /sys/power/dsp_opps_rate

echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

echo "95" > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold

echo "300000" > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate

echo "0" > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load

echo "0" > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/powersave_bias
Set max+min scalling speeds in /etc/pmconfig.
Set smartreflex in /etc/pmconfig.

Other wise it is fine.

You can set almost everything from pmconfig. You no longer need to set voltage values as SR will do it for you.

Just make sure the script runs with no errors before you set it to start automatically from xsession.post.

Also, just use xsession to start your script. Stick you script elsewhere.
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.