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: 59 | Thanked: 7 times | Joined on Jan 2010
#3541
Originally Posted by sdpkom View Post
Updated script to switch profiles based on temperature

What it does -
Probes the temperature every 30 seconds
If the temperature is higher then 45 degrees, switches to the deafult profile (safety measure).
If the temperature is 40-45 degrees, runs on ideal config, with max =850
If the device is cold, starvs the CPU and let it run till 900MHZ.


#!/bin/sh
set old=""
set limits=""
set oldlimits=""
while test 2 -gt 1;
do
modprobe bq27x00_battery
read tmpr </sys/class/power_supply/bq27200-0/temp
if test $tmpr -gt 45;
then new="default";
limits="250 600";
else
if test $tmpr -gt 40;
then
new="ideal";
limits="500 850";
else
new="starving";
limits="500 900"
fi
fi
if test $old!=$new;
then
/usr/sbin/kernel-config load $new;
/usr/sbin/kernel-config limits $limits;
else if test $limits!=$oldlimits
/usr/sbin/kernel-config limits $limits;
fi
fi
old=$new
oldlimits=$limits
sleep 30
done
this is excellent Can you please help me , how do i run the script ?
I copy paste all these commands on x-terminal? or there is something else i have to do?
 
CarstenDutch's Avatar
Posts: 147 | Thanked: 78 times | Joined on Dec 2009 @ Netherlands
#3542
Originally Posted by gabby131 View Post
i read on a thread (i think it was the "saving battery, undervoltage kernels") that the developer of the starving itself stated that there is no guarantee for the starving kernel to work to all devices.

i am aware of it since i read it, but still want to try when its available.

unfortunately, no luck, im sticking with low voltages of titan.

thanks to titan

EDIT: i can chhoose to tweak the settings but i chose not to, i want the kernels the way they are when i installed them, and based on past my experience touching the pmconfig. by usig the ulv and ideal kernels @1ghz, my device has less time producing heat. and only up to 25°c (its a bit cold here, thats why its low) even if using game emus.
I know that it won't run on all nokia's but the starving config was running great on maemo25 kernel, i only needed to upgrade the voltage for 125:23,90 by adding 0.0125v so it will boot-up and downed the 250mhz voltage by 0.0250v and upped the 600mhz range by 0.0250v with the maemo27 kernel it was dsp related, i tested it with locked freq and calculating pi and same time watching video clip looking for artifacts and hickups.

now i have,
# kernel configuration file generated by /usr/sbin/kernel-config
MINFREQ=125
MAXFREQ=600
FREQS="0:22,90 125:23,90 250:26,180 500:29,360 550:32,400 600:35,430"
UP_THRESHOLD=75
SAMPLING_RATE=150000
SMARTREFLEX_VDD1=0
SMARTREFLEX_VDD2=0
IGNORE_NICE_LOAD=1

Last edited by CarstenDutch; 2010-05-11 at 15:13.
 
Posts: 543 | Thanked: 151 times | Joined on Feb 2010 @ Germany
#3543
This thread is slowly confusing me, so many different settings and firmware. Is there a kind of "safe starter package" somewhere? I follow it since a while now and everyone here got a different opinion about it.
 

The Following User Says Thank You to Crogge For This Useful Post:
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#3544
Originally Posted by dimkit View Post
this is excellent Can you please help me , how do i run the script ?
I copy paste all these commands on x-terminal? or there is something else i have to do?
You copy it into a file.. and then "chmod +x" and den "./file.sh"

1. become root (need rootsh installed)
root

2. Make a directory if you haven't
mkdir /home/opt/scripts

3. Make file (need leafpad)
leafpad /home/opt/scripts/oc-safty.sh (paste into file and save)

4. make it executable
chmod +x /home/opt/scripts/oc-safty.sh

5. got to dir
cd /home/opt/scripts/

6. Run it
./oc-safty.sh

You could probably put it in init.d to make it run automatically every reboot. But am not sure exactly how to do that.

Last edited by AlMehdi; 2010-05-10 at 18:13.
 
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#3545
Originally Posted by Crogge View Post
This thread is slowly confusing me, so many different settings and firmware. Is there a kind of "safe starter package" somewhere? I follow it since a while now and everyone here got a different opinion about it.
Actually.. there is only two different kinds of kernels. The one Letho made and the one Titan made. Letho have stopped updating his kernel but Titan are constantly improving his.

Titans are also dynamic in the sense of configurable while still running. The different settings you see ppl talking about is that. How they have set up Titans kernel. People are trying to get the lowest voltage as possible while still stable. They are just tuning the same kernel for their likening

Here you can find how to set it up. This is the only thing you need to do. http://talk.maemo.org/showpost.php?p...postcount=3412
 

The Following User Says Thank You to AlMehdi For This Useful Post:
Posts: 59 | Thanked: 7 times | Joined on Jan 2010
#3546
Originally Posted by AlMehdi View Post
You copy it into a file.. and then "chmod +x" and den "./file.sh"

1. Make a directory if you haven't
mkdir /home/opt/scripts

2. Make file (need leafpad)
leafpad /home/opt/scripts/oc-safty.sh (paste into file and save)

3. make it executable
chmod +x /home/opt/scripts/oc-safty.sh

4. Run it.
cd /home/opt/scripts/
./oc-safty.sh

You could probably put it in init.d to make it run automatically every reboot. But am not sure exactly how to do that.
thanks a lot i will try it immediately
 
Posts: 59 | Thanked: 7 times | Joined on Jan 2010
#3547
Originally Posted by AlMehdi View Post
You copy it into a file.. and then "chmod +x" and den "./file.sh"

1. Make a directory if you haven't
mkdir /home/opt/scripts

2. Make file (need leafpad)
leafpad /home/opt/scripts/oc-safty.sh (paste into file and save)

3. make it executable
chmod +x /home/opt/scripts/oc-safty.sh

4. Run it.
cd /home/opt/scripts/
./oc-safty.sh

You could probably put it in init.d to make it run automatically every reboot. But am not sure exactly how to do that.
my friend i follow your instructions (to the end of the script i have also put the "done", but when i run the final step.
cd /home/opt/scripts/./oc-safty.sh

i take the message cd: i can not cd to /home/opt/scripts/./oc-safty.sh
 
Posts: 5,795 | Thanked: 3,151 times | Joined on Feb 2007 @ Agoura Hills Calif
#3548
There are two great ways to simplify any confusion about this thread:

One: Read the wiki at

http://wiki.maemo.org/Overclocking

Two: Read jakiman's intro to overclocking at

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

The second is more newbie friendly; the first is more complete.

My advice is that you try Titan's Ideal settings; if they work you are good to go, and they probably do work.

Last edited by geneven; 2010-05-10 at 17:53.
 

The Following User Says Thank You to geneven For This Useful Post:
Posts: 1,067 | Thanked: 313 times | Joined on Sep 2009 @ USA
#3549
Originally Posted by jakiman View Post
FYI - I've updated my guide with reference to the latest kernel-power-settings 0.6 as per titan's above post.

I am now using tonism's starving profile and so far so good even at 1.1Ghz. =)
http://talk.maemo.org/showpost.php?p...&postcount=101

where did you get that theme and quick-launch buttons for the frq's?


thanks!
 
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#3550
Originally Posted by dimkit View Post
my friend i follow your instructions (to the end of the script i have also put the "done", but when i run the final step.
cd /home/opt/scripts/./oc-safty.sh

i take the message cd: i can not cd to /home/opt/scripts/./oc-safty.sh
opss.. you need to be root.. try:

1. root
2. cd /home/opt/scripts/
3. ./oc-safty.sh
 
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 05:37.