maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] saveCPU - overheating control for overclocked n900 (https://talk.maemo.org/showthread.php?t=71454)

m750 2011-03-24 18:57

[Announce] saveCPU - overheating control for overclocked n900
 
I made ​​a script that controls the temperature through the bq27200 module and, if the n900 was overclocked, it reset the standard clock and turn on the LED.
The overclock will be automatically restored when the temperature drops 5 degrees Celsius below the alarm temperature.
A few weeks ago I added the ability to customize the script functions via UI.
Early versions were made ​​in Italian speak (safecpu at maemomeego.net, now SmartphoneTab.net). Now I add this version in English (packages have different names).

Through the graphical interface you can set:
- LED color
- activation temperature
- waiting time for each control
- enable / disable control

If enabled, the script will be launched each time the n900 starts.

Screenshot:

http://emmepole.altervista.org/N900/...t1-savecpu.png

banner when overheat but no overclock are detected
http://emmepole.altervista.org/N900/...t2-savecpu.png

banner when overheat and overclock are detected
http://emmepole.altervista.org/N900/...t3-savecpu.png

Packages needed:
- Enhanced Linux kernel for power users
- Enhanced Linux kernel for power users (settings)
- i2c-tools instead bq27200 (implemetation by Peter Leinchen)

Package

p.s: sorry for my sucks English

SalmanAbbas 2011-03-24 18:59

Re: [Announce] saveCPU - overheating control for overclocked n900
 
thanx, but to what degree of accuracy are the cpu temperatures?

sophocha 2011-03-24 19:00

Re: [Announce] saveCPU - overheating control for overclocked n900
 
this must be excellent! let me try it and report back!

m750 2011-03-24 19:13

Re: [Announce] saveCPU - overheating control for overclocked n900
 
Quote:

Originally Posted by SalmanAbbas (Post 974955)
thanx, but to what degree of accuracy are the cpu temperatures?

The temperature is not proper of the CPU because it is indicated by the bq27200 module, so it is not clear, but it is indicative.

Brad_M 2011-03-24 19:15

Re: [Announce] saveCPU - overheating control for overclocked n900
 
Thanks. I was wondering.. How does the app know what the CPU's temperature is??

m750 2011-03-24 19:18

Re: [Announce] saveCPU - overheating control for overclocked n900
 
Quote:

Originally Posted by Brad_M (Post 974972)
Thanks. I was wondering.. How does the app know what the CPU's temperature is??

Read the previus post :)

Brad_M 2011-03-24 19:24

Re: [Announce] saveCPU - overheating control for overclocked n900
 
Quote:

Originally Posted by m750 (Post 974974)
Read the previus post :)

Well I see that, but I was wondering if there was a temperature sensor on the CPU or something to do that.

ammyt 2011-03-24 19:26

Re: [Announce] saveCPU - overheating control for overclocked n900
 
Fantastic! I can now replace my crappy script with a neat looking GUI. Ottimo lavoro m750!

m750 2011-03-24 19:29

Re: [Announce] saveCPU - overheating control for overclocked n900
 
Quote:

Originally Posted by Brad_M (Post 974988)
Well I see that, but I was wondering if there was a temperature sensor on the CPU or something to do that.

Sorry, I don't know :(

ammyt 2011-03-24 19:32

Re: [Announce] saveCPU - overheating control for overclocked n900
 
Quote:

Originally Posted by Brad_M (Post 974988)
Well I see that, but I was wondering if there was a temperature sensor on the CPU or something to do that.

Nope. Our OMAP 3430 lacks a temperature sensor. Instead, there is a temperature sensor located near the battery, it can measure the battery's temperature in theory. Even though this might not be accurate, a battery temperature below 50 ^C is always good! :D

Brad_M 2011-03-24 19:37

Re: [Announce] saveCPU - overheating control for overclocked n900
 
Quote:

Originally Posted by ammyt (Post 974996)
Nope. Our OMAP 3430 lacks a temperature sensor. Instead, there is a temperature sensor located near the battery, it can measure the battery's temperature in theory. Even though this might not be accurate, a battery temperature below 50 ^C is always good! :D

Oh I see :p A temperature sensor on the CPU would've been more useful :p I never knew it had one though THANKS!!

m750 2011-03-24 19:40

Re: [Announce] saveCPU - overheating control for overclocked n900
 
OK thanks, but also the bq27200 module is related to the battery.

MetalSer 2011-03-24 19:59

Re: [Announce] saveCPU - overheating control for overclocked n900
 
This sounds really good. I will wait till it hits the extras, but thanx in advance!

casketizer 2011-03-24 20:10

Re: [Announce] saveCPU - overheating control for overclocked n900
 
What exactly does the control delay do/mean?

m750 2011-03-24 20:18

Re: [Announce] saveCPU - overheating control for overclocked n900
 
Quote:

Originally Posted by casketizer (Post 975023)
What exactly does the control delay do/mean?

The temperature is not constantly monitorated, it is checked every "X" minutes. X is the control delay

casketizer 2011-03-24 20:23

Re: [Announce] saveCPU - overheating control for overclocked n900
 
ow....i guess after the default 10min you have the cpu well done :)

j/k

jotoco 2011-03-24 20:32

Re: [Announce] saveCPU - overheating control for overclocked n900
 
Even though I have ran my n900 overclocked to 1150 for several hours of heavy load, it is good to have a fail safe tool.

Specially when you live in a city where 40ºC is normal room temp.

sub7 2011-04-01 15:51

Re: [Announce] saveCPU - overheating control for overclocked n900
 
I recently installed this but it shows me always 0 degrees.

Why is this for? i have to install something before?.

m750 2011-04-01 20:41

Re: [Announce] saveCPU - overheating control for overclocked n900
 
Package needed:
Enhanced Linux kernel for power users
Enhanced Linux kernel for power users (settings)

And during installation the package try to install the bq27200 module
Code:

sudo gainroot
echo bq27x00_battery >> /etc/modules
modprobe bq27x00_battery


sophocha 2011-04-13 13:02

Re: [Announce] saveCPU - overheating control for overclocked n900
 
thank u for this app.it was a life saver for me.I was working on the car yesterday and i left my phone on the dash.totally forgot about it until i finished 2 hours later on a very hot day.I freaked out until I saw the app work its magic...and the phone was at 58 celcius.God know how much more it would have been with the 1000 overclock i had.thanks!

I recommend this app to anybody out there who overclocks!

alfmar 2011-04-13 13:18

Re: [Announce] saveCPU - overheating control for overclocked n900
 
I transferred my audio/video stuff from my old N900 to my brand new N900.

CD covers disappeared.

So in the Terminal I gave the command that eMHa specified in page 2 of this thread:

$ tracker-processes --hard-reset

then started the MediaPlayer and wait the (slow) index rebuild. Just Worked(tm).

m750 2011-04-13 17:49

Re: [Announce] saveCPU - overheating control for overclocked n900
 
Sorry? (in italian: scusa?)

laasonen 2011-04-13 19:44

Re: [Announce] saveCPU - overheating control for overclocked n900
 
Quote:

Originally Posted by sophocha (Post 987302)
thank u for this app.it was a life saver for me.I was working on the car yesterday and i left my phone on the dash.totally forgot about it until i finished 2 hours later on a very hot day.I freaked out until I saw the app work its magic...and the phone was at 58 celcius.God know how much more it would have been with the 1000 overclock i had.thanks!

I recommend this app to anybody out there who overclocks!

Probably 58 °C, if it wasn't doing anything and you haven't increased the minimum frequency too.

cipper 2011-04-28 09:12

Re: [Announce] saveCPU - overheating control for overclocked n900
 
I get a high cpu utilization by savecpu, about 25%, for long time. I had to kill it.

In addition, why so long delay between checks? In 5 minutes you can melt a cpu quite easily! I think the delay should range 1..10 minutes.

LavaCroft 2011-04-28 10:07

Re: [Announce] saveCPU - overheating control for overclocked n900
 
Quote:

Originally Posted by cipper (Post 996666)
I get a high cpu utilization by savecpu, about 25%, for long time. I had to kill it.

In addition, why so long delay between checks? In 5 minutes you can melt a cpu quite easily! I think the delay should range 1..10 minutes.

I can confirm the high CPU utilization, closing the saveCPU GUI seems to 'resolve' the problem.

Thank you for this application. Once it works it will be of good use during the hopefully hot summer.

m750 2011-04-29 16:11

Re: [Announce] saveCPU - overheating control for overclocked n900
 
Yes, I confim: only the GUI use high CPU. You don't need to take it open, after you have select and stored the parameters.

sophocha 2011-05-04 00:34

Re: [Announce] saveCPU - overheating control for overclocked n900
 
any chance of an update now that we have power kernel 47?It reads 0 degrees and it always downgrades the cpu cause it doesn`t read the temp properly.

Thanks

eefo 2011-05-04 11:29

Re: [Announce] saveCPU - overheating control for overclocked n900
 
need you help m750.
i have updated kernel-power to v47 and after updating qcpufreq started showing temp above 400 some how i managed to get the right temperature and uninstalled Qcpufreq but now savecpu is not showing the actually temp and it's blinking as actual temp is 40.6 now .
i have a widget for showing temp.

zdanee 2011-05-04 12:39

Re: [Announce] saveCPU - overheating control for overclocked n900
 
Quote:

Originally Posted by eefo (Post 999947)
need you help m750.
i have updated kernel-power to v47 and after updating qcpufreq started showing temp above 400 some how i managed to get the right temperature and uninstalled Qcpufreq but now savecpu is not showing the actually temp and it's blinking as actual temp is 40.6 now .
i have a widget for showing temp.

As it has been discussed many times v47 kernel corrects a bug that was in v46 regarding the temperature. Since all apps using the temperature information was written regarding the bug in v46, now they do not work well. No need to uninstall qcpufreq.

eefo 2011-05-04 15:54

Re: [Announce] saveCPU - overheating control for overclocked n900
 
Quote:

Originally Posted by zdanee (Post 1000002)
As it has been discussed many times v47 kernel corrects a bug that was in v46 regarding the temperature. Since all apps using the temperature information was written regarding the bug in v46, now they do not work well. No need to uninstall qcpufreq.

alright thanks !

m750 2011-05-04 16:41

Re: [Announce] saveCPU - overheating control for overclocked n900
 
I received this alert. I need to change the widget ... Please, be patient!

m750 2011-05-04 21:04

Re: [Announce] saveCPU - overheating control for overclocked n900
 
Version 2.19.13-1 in extras-devel.
Please let me know if it solves the problems with power-kernel v47

handaxe 2011-05-04 21:13

Re: [Announce] saveCPU - overheating control for overclocked n900
 
It does - displays temp correctly. Thanks

Sergei 2011-05-28 19:38

Re: [Announce] saveCPU - overheating control for overclocked n900
 
That works!

I find though that my phone will 'go red' now and again even without overclocking. Is 50C really the temperature I need to start worrying at?

m750 2011-05-29 18:28

Re: [Announce] saveCPU - overheating control for overclocked n900
 
If it does so during charging, could be normal, but if it exceeds 50°C under normal use ...
Set warning temperature 20-25°C over your "normal" temperature.
It is true that you live in a desert?! :p

corduroysack 2011-06-02 16:26

Re: [Announce] saveCPU - overheating control for overclocked n900
 
i installed savecpu and noticed my battery meter v1.6 started showing a strange reading and also QCPU freq is showing 440°c i'm using powerv47. i've apt-get purge savecpu but my readings are still giving wrong details. any ideas? i rebuilt my battery meter but still showing weird result?

when i installed powerv47 i did this if this helps explain anything?
entered as root

echo "blacklist bq27x00_battery" >> /etc/modprobe.d/blacklist


whilst i installed savecpu i had qcpufreq open and watched it jump in temperature.

corduroysack 2011-06-03 09:41

Re: [Announce] saveCPU - overheating control for overclocked n900
 
anyone shed any light?

pierrem 2011-06-03 10:08

Re: [Announce] saveCPU - overheating control for overclocked n900
 
According to kernel power thread, temperature values given by kernel power v47 must be divided by 10 before being displayed: apps using those values must be updated to reflect this change

corduroysack 2011-06-03 10:15

Re: [Announce] saveCPU - overheating control for overclocked n900
 
i'm wondering wether to re-install power v47 and see if it sorts it.

corduroysack 2011-06-03 13:42

Re: [Announce] saveCPU - overheating control for overclocked n900
 
sorted it needed tweaked version of qcpufreq and a tweaked verion of battery meter :)


All times are GMT. The time now is 10:37.

vBulletin® Version 3.8.8