The Following User Says Thank You to titan For This Useful Post: | ||
![]() |
2010-04-15
, 15:36
|
Posts: 53 |
Thanked: 8 times |
Joined on Apr 2010
@ Switzerland
|
#2782
|
the new kernel kernel-power-flasher has been uploaded to extras-devel and is ready to brick your devices
DSP frequencies are now specified as MHz, it includes squashfs, Matan's LED fixes,
and two more crypto modules.
Please vote for it if it works for you here
I've renamed all packages to kernel-power* and made kernel-maemo-flasher
a transition package. I've never done this before in Maemo so I don't know whether
it will work in HAM. It worked for me with
alternatively,Code:apt-get install kernel-flasher-maemo apt-get remove kernel-flasher-maemo
Don't forget to reboot after the installation!Code:apt-get install kernel-power-flasher apt-get remove kernel-flasher-maemo
the new package kernel-power-settings contains the upstart script and
kernel configurations. it is experimental and may totally brick your device!
it will automatically move your old kernel or kernel-maemo upstart scripts to /root
Ideally, you would install it and then as user (remove "sudo" before the command if you are root)
1) to try a configuration (you can replace "ideal" with default, lv, ulv, xlv
or specify a file you created based on the template /usr/share/kernel-power-settings/default )
Note: do NOT modify the files in /usr/share/kernel-power-settings/Code:sudo /usr/sbin/kernel-load /usr/share/kernel-power-settings/ideal
instead copy them them as in 3) and then modify the file /etc/default/kernel-power
2) to permanently install a default configuration
3) or your own configCode:sudo rm -f /etc/default/kernel-power sudo ln -s /usr/share/kernel-power-settings/ideal /etc/default/kernel-power
4) and to immediately apply itCode:sudo rm -f /etc/default/kernel-power sudo cp <filename> /etc/default/kernel-power
For beginners and "noobs" (beginners that can't spell correctly...):Code:sudo /usr/sbin/kernel-load
try 1) and check whether the device is stable.
then do 2). to reset it to the defaults use
and reboot.Code:sudo rm -f /etc/default/kernel-power
Have fun! (and remember not to try >600MHz unless you want to fry your device)
![]() |
2010-04-15
, 15:41
|
Posts: 36 |
Thanked: 8 times |
Joined on Apr 2010
|
#2783
|
![]() |
2010-04-15
, 15:43
|
Posts: 27 |
Thanked: 10 times |
Joined on Mar 2010
|
#2784
|
Could you explain exactly what steps you take and post your /usr/share/kernel-power-settings/ideal file here?
The only two steps you need to take is:
Edit the "/usr/share/kernel-power-settings/ideal" and then run "kernel-load /usr/share/kernel-power-settings/ideal"
This will be temporary until reboot then you need to do it again.
To check the settings you could install cpufreq-info with "apt-get install cpufrequtils" if you havent. Run it after the kernel-load and post the output here.
UP_THRESHOLD=75 SAMPLING_RATE=150000 VDD1_OPPS_VSEL="30 30 30 30 33 38 45 45 48 48 54 54 60 72 72" DSP_OPPS_RATE="90 90 180 360 400 430 430 430 430 500 500 500 500 520 520" MIN_FREQ=500000 MAX_FREQ=850000 SMARTREFLEX_VDD1=0 SMARTREFLEX_VDD2=0
/usr/sbin/kernel-load: line 11: cannot create /sys/power/vdd1_opps_vsel: nonexistent directory /usr/sbin/kernel-load: line 12: cannot create /sys/power/dsp_opps_rate: nonexistent directory
![]() |
2010-04-15
, 15:50
|
Posts: 49 |
Thanked: 11 times |
Joined on Mar 2010
|
#2785
|
![]() |
2010-04-15
, 15:58
|
Posts: 946 |
Thanked: 1,650 times |
Joined on Oct 2009
@ Germany
|
#2786
|
![]() |
2010-04-15
, 15:58
|
Posts: 527 |
Thanked: 121 times |
Joined on Feb 2010
|
#2787
|
![]() |
2010-04-15
, 16:07
|
Posts: 53 |
Thanked: 8 times |
Joined on Apr 2010
@ Switzerland
|
#2788
|
![]() |
2010-04-15
, 16:32
|
Posts: 78 |
Thanked: 53 times |
Joined on Nov 2009
|
#2789
|
I have done the following in this order but I'm not sure if the kernel speed/voltage changes are being applied.
1) From a clean pr 1.1.1 I have installed the latest kernel package (24?) from apps manager
2) Installed the power kernel settings/config app also from app manager
3) Restarted the phone
4) opened xterminal
5) Typed sudo gainroot (rootsh is installed)
6) Typed sudo /usr/sbin/kernel-load /usr/share/kernel-power-settings/ideal (which I understand will allow me to test the "ideal" kernel config without making permanent changes)
So I thought I would check if my minimum clock speed was now fixed at 500mhz (as set in the ideal file by default) using the conky app. But my min clock speed is actually 250Mhz which leads me to think that the above commands are not working or I have missed something out.
Can anyone spot my mistake please?
Edit to add, I do not have a file called "kernel-power" in my /etc/default directory - is this normal when only wanting to "test" settings before making them permanent or do I need this file even when just running in "test" mode?
Thanks
![]() |
2010-04-15
, 16:36
|
Posts: 1,751 |
Thanked: 844 times |
Joined on Feb 2010
@ Sweden
|
#2790
|
I have done the following in this order but I'm not sure if the kernel speed/voltage changes are being applied.
1) From a clean pr 1.1.1 I have installed the latest kernel package (24?) from apps manager
2) Installed the power kernel settings/config app also from app manager
3) Restarted the phone
4) opened xterminal
5) Typed sudo gainroot (rootsh is installed)
6) Typed sudo /usr/sbin/kernel-load /usr/share/kernel-power-settings/ideal (which I understand will allow me to test the "ideal" kernel config without making permanent changes)
So I thought I would check if my minimum clock speed was now fixed at 500mhz (as set in the ideal file by default) using the conky app. But my min clock speed is actually 250Mhz which leads me to think that the above commands are not working or I have missed something out.
Can anyone spot my mistake please?
Edit to add, I do not have a file called "kernel-power" in my /etc/default directory - is this normal when only wanting to "test" settings before making them permanent or do I need this file even when just running in "test" mode?
Thanks
![]() |
|
They may be overwritten by upgrades of the kernel-power-settings package.
The idea is that most users would just symlink one of them to /etc/default/kernel-power
and benefit from updates.
Only if you want to tweak the settings yourself you would copy one file to /etc/default/kernel-power
edit it there. Don't put it in /usr/share/kernel-power-settings/ as it may be removed or overwritten.