Active Topics

 


Poll: Do you think its possible to overclock the N900?!
Poll Options
Do you think its possible to overclock the N900?!

Reply
Thread Tools
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#2781
Please do NOT edit the templates in /usr/share/kernel-power-settings/
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.
 

The Following User Says Thank You to titan For This Useful Post:
Posts: 53 | Thanked: 8 times | Joined on Apr 2010 @ Switzerland
#2782
Originally Posted by titan View Post
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
Code:
apt-get install kernel-flasher-maemo
apt-get remove kernel-flasher-maemo
alternatively,
Code:
apt-get install kernel-power-flasher
apt-get remove kernel-flasher-maemo
Don't forget to reboot after the installation!

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 )
Code:
sudo /usr/sbin/kernel-load /usr/share/kernel-power-settings/ideal
Note: do NOT modify the files in /usr/share/kernel-power-settings/
instead copy them them as in 3) and then modify the file /etc/default/kernel-power

2) to permanently install a default configuration
Code:
sudo rm -f /etc/default/kernel-power
sudo ln -s /usr/share/kernel-power-settings/ideal /etc/default/kernel-power
3) or your own config
Code:
sudo rm -f /etc/default/kernel-power
sudo cp <filename> /etc/default/kernel-power
4) and to immediately apply it
Code:
sudo /usr/sbin/kernel-load
For beginners and "noobs" (beginners that can't spell correctly...):
try 1) and check whether the device is stable.
then do 2). to reset it to the defaults use
Code:
sudo rm -f /etc/default/kernel-power
and reboot.

Have fun! (and remember not to try >600MHz unless you want to fry your device)
when i try the point 4 i get this errors:

Nokia-N900-51-1:/etc/default# sudo /usr/sbin/kernel-load
/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
 
Posts: 36 | Thanked: 8 times | Joined on Apr 2010
#2783
Manchmal, wirklich nur manchmal, frage ich mich ernsthaft, wie manche Leute es eigentlich schaffen unfallfrei aus dem Bett aufzustehen. Die Helden fragen immer wieder denselben Scheiß, der zwei Seiten vorher schon gefragt und beantwortet wurde. Es ist zum Schreien.

Read about 2 pages in the past and you get your answer.
 
Posts: 27 | Thanked: 10 times | Joined on Mar 2010
#2784
Originally Posted by AlMehdi View Post
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.
I installed packages kernel-power-flasher & -settings with application manager. I did make /etc/default/kernel-power same as /usr/share/kernel-power-settings/ideal

Code:
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
I tried to kernel-load but error occurs;
Code:
/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
I do not have such files as /sys/power/vdd1_opps_vsel and /sys/power/dsp_opps_rate and files can not be created nor copied there. I think that's my issue.
 
Posts: 49 | Thanked: 11 times | Joined on Mar 2010
#2785
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

Last edited by MarkyboyUK; 2010-04-15 at 16:02.
 
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#2786
Originally Posted by Salatheel View Post
I do not have such files as /sys/power/vdd1_opps_vsel and /sys/power/dsp_opps_rate and files can not be created nor copied there. I think that's my issue.
you need to reboot!
 
Posts: 527 | Thanked: 121 times | Joined on Feb 2010
#2787
@Titan:

latest power kernel flasher works great after I set it as Ideal...

After reboot the loopable wallpaper (self-made) I had set was gone and corrupted after trying to recreate...
Just to let you know

Thanks again
 
Posts: 53 | Thanked: 8 times | Joined on Apr 2010 @ Switzerland
#2788
Originally Posted by titan View Post
you need to reboot!
reboot didn't helped, maybe we need a clean way, to revert to default kernel and then restart over, i also did this upgrade from -21 and upgrade stright to -24 seems simple not working.
 
Posts: 78 | Thanked: 53 times | Joined on Nov 2009
#2789
Originally Posted by MarkyboyUK View Post
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

you need to create /etc/default/kernel-power from xterm, then copy the settings from /usr/share/kernel-power-settings/

an easier method is to install ssh and edit those files from your pc using winscp

and when your done, reboot, and then from xterm

sudo gainroot

navigate to /usr/sbin/

then type

kernel-load /etc/default/kernel-power

read this post

http://talk.maemo.org/showpost.php?p...postcount=2752

so far i've not messed about with pmconfig at all so i don't know if those settings will be loaded or not ...

Last edited by sierrafoxtrot; 2010-04-15 at 16:36.
 
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#2790
Originally Posted by MarkyboyUK View Post
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
Instead of: 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)

You could:
1. root
2. mv /usr/share/kernel-power-settings/ideal /etc/default/kernel-power
3. leafpad /etc/default/kernel-power
4. set min_freq to 500000
5. kernel-load /etc/default/kernel-power

Last edited by AlMehdi; 2010-04-16 at 01:35.
 
Reply

Tags
cooking on gas, cortex-a8, faster, first to fry it wins!, hardware, its smoking, n900, need for speed, need for weed, nos, omap, omap3, omap3430, overclock, overclocking, soc, system-on-a-chip, the dogs, this thread got good!, vtec just kicked in y0!, warranty will be void, whooplah, zoom zoom


 
Forum Jump


All times are GMT. The time now is 06:56.