View Single Post
Posts: 915 | Thanked: 3,209 times | Joined on Jan 2011 @ Germany
#2751
Hi,

I recently upgraded from v42 to v49. My profile, looks like this (which is basically the old "ideal" profile and worked fine under v42) :
Code:
# kernel configuration file generated by /usr/sbin/kernel-config
MINFREQ=500
MAXFREQ=850
FREQS="0:30,90 250:38,180 500:30,360 550:33,400 600:38,430 720:45,430 805:48,430 850:48,500 900:54,500 950:54,500 1000:48,500 1100:72,520 1150:72,520 "
SMARTREFLEX_VDD1=0
SMARTREFLEX_VDD2=0
GOVERNOR=ondemand
IGNORE_NICE_LOAD=1
UP_THRESHOLD=75
SAMPLING_RATE=150000
POWERSAVE_BIAS=0
Please note that I've already removed the 700MHz entry and changed the one for 750MHz to 720MHz.

The problem is that when I load this profile I get the following error messages:
Code:
Nokia-N900-02-8:~# kernel-config load myprofile
loading /home/user/.kernel/myprofile1
sh: write error: Invalid argument
sh: write error: Invalid argument
successfully loaded.
I tracked it down to these two lines in kernel-config:
Code:
    echo $vsel > $pwr/vdd1_opps_vsel                          
    echo $rate > $pwr/dsp_opps_rate
The reason seems to be that $vsel and $rate still contain entries for the 700MHz setting since it's one value more than the files they are written to contain:
Code:
Nokia-N900-02-8:~# cat /sys/power/vdd1_opps_vsel 
30 38 48 54 60 60 60 60 60 60 60 72 72 
Nokia-N900-02-8:~# cat /sys/power/dsp_opps_rate 
90 180 360 400 430 520 520 520 520 520 520 520 520
outputs of the variables in kernel-config just before they are written to the files:
Code:
vsel 30 38 38 30 33 38 45 48 48 54 54 48 72 72
rate 90 180 180 360 400 430 430 430 500 500 500 500 520 520
So it seems like my profile is not the only file I have to edit to remove the 700MHz setting. Can somebody please tell me where else I have to look for it?

Last edited by sulu; 2012-02-05 at 17:42.
 

The Following User Says Thank You to sulu For This Useful Post: