View Single Post
Posts: 805 | Thanked: 1,605 times | Joined on Feb 2010 @ Gdynia, Poland
#101
Originally Posted by lolloo View Post
what about QCPUFreqapp ,when i run it CPU temp shows me 346C ! hehe

any fix for this.....
Fix: contact QCPUFreqapp developer Previously, kernel reported temperature different way, now it reports units in 0.1C (which, by the way, is proper behaviour, old way was not proper and non-standard), so if you want to know your CPU temperature, you have to divide it by 10, so 346C shown / 10 = in fact 34.6C

Edit: If you know how to compile software yourself, you can download source of version 0.4.1-1 and in file "mainwindow.cpp" change line 204 from:
return QString( readSysFile( "class/power_supply/bq27200-0/temp" ) + " " + QString::fromUtf8("\302\260") + "C" );
to
return QString( readSysFile( "class/power_supply/bq27200-0/temp" ).left(QString(readSysFile("class/power_supply/bq27200-0/temp")).length()-1) + "." + QString( readSysFile( "class/power_supply/bq27200-0/temp" ) ).right(1) + " " + QString::fromUtf8("\302\260") + "C" );
(You can also compile newer version, just find function "MainWindow::getCPUTemp()" and change the same fragment, it can be in different line)
It's an ugly hack (just reads temperature characters without last one, puts dot and reads last character), but it works. Don't contact developer with this, because from what i can tell looking at the sources, it already is hard to be maintaned (in almost every function there are different flows for power kernel and normal kernel). Once pali will become maintainer of power-kernel package, he (or we all) will contact QCPUFreqapp dev and other devs of software reading temperature and inform them about needed changes :P

Last edited by misiak; 2011-04-21 at 14:19.
 

The Following 9 Users Say Thank You to misiak For This Useful Post: