Reply
Thread Tools
Posts: 11 | Thanked: 2 times | Joined on Jan 2007
#1
Hi,

I have found a /sys file that seems to inform about the temp of the CPU. I don't know where it is located, but I have tested with games and the temp increses with the CPU at 100%.

Code:
cat /sys/devices/platform/i2c_omap.1/i2c-1/1-0048/temp1_input
What else are we going to discover?

Happy hacking!
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#2
Can be CPU can be also something else (touchscreen). I think temperature sensor is in most/all touchscreens since the data (resistance?) that go from touchscreen is temperature dependent so you need to take temperature into account. For more info about it see datasheet here
http://focus.ti.com/docs/prod/folder...nicaldocuments
Not sure if this one is used in N770/N800, maybe not.
 
Posts: 150 | Thanked: 3 times | Joined on Jan 2007
#3
Nice Nice!

I got a value of 35500... do you know how wide the scaling is?
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#4
in fact maybe N770/n800 uses this one
http://focus.ti.com/docs/prod/folder...t/tsc2301.html
which has temperature sensor too
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#5
According to kernel log info on boot, N770 uses ADS7846 , N800 uses TSC2301 so maybe this value on N800 comes from TSC2301 chip.
 
Karel Jansens's Avatar
Posts: 3,220 | Thanked: 326 times | Joined on Oct 2005 @ "Almost there!" (Monte Christo, Count of)
#6
That's interesting. My Newtons have two temperature sensors: one that measures ambient temperature and one in the battery compartiment (to help the charging circuitry).

The Newton's ambient temperature sensor gives a pretty accurate reading of the room temperature.
 
Posts: 75 | Thanked: 4 times | Joined on Apr 2006
#7
I have a 770 and these are the values I get (no load, but it's in partial sunlight right now):

Code:
~ $ find /sys/devices/platform/ | grep temp
/sys/devices/platform/omap_uwire/spi2.0/temp1
/sys/devices/platform/omap_uwire/spi2.0/temp0
~ $ cat /sys/devices/platform/omap_uwire/spi2.0/temp0
971
~ $ cat /sys/devices/platform/omap_uwire/spi2.0/temp1
1161
Who'll be the first to drop their tablet in 100 C water / 0 C water and tell us the temperatures? (kidding)
 
Posts: 22 | Thanked: 1 time | Joined on Nov 2005
#8
Originally Posted by mzandrew View Post
I have a 770 and these are the values I get (no load, but it's in partial sunlight right now):

Code:
~ $ cat /sys/devices/platform/omap_uwire/spi2.0/temp0
971
~ $ cat /sys/devices/platform/omap_uwire/spi2.0/temp1
1161
No load, no sunlight, removed from pocket just for this test:

Code:
~ $ cat /sys/devices/platform/omap_uwire/spi2.0/temp0
967
~ $ cat /sys/devices/platform/omap_uwire/spi2.0/temp1
1155
After sitting on the desk for 5 minutes:

Code:
~ $ cat /sys/devices/platform/omap_uwire/spi2.0/temp0
969
~ $ cat /sys/devices/platform/omap_uwire/spi2.0/temp1
1157
Etaoin
 
Posts: 319 | Thanked: 6 times | Joined on Apr 2006
#9
Originally Posted by mzandrew View Post
I have a 770 and these are the values I get (no load, but it's in partial sunlight right now):

Code:
~ $ find /sys/devices/platform/ | grep temp
/sys/devices/platform/omap_uwire/spi2.0/temp1
/sys/devices/platform/omap_uwire/spi2.0/temp0
~ $ cat /sys/devices/platform/omap_uwire/spi2.0/temp0
971
~ $ cat /sys/devices/platform/omap_uwire/spi2.0/temp1
1161
Who'll be the first to drop their tablet in 100 C water / 0 C water and tell us the temperatures? (kidding)
actually I've got just to tool to do this at home. Only I'm not going to go sticking my hands into no 100c degree water to push buttons. 0 ok, but not 100.
 
Posts: 209 | Thanked: 8 times | Joined on Nov 2005 @ Fishers, Indiana
#10
I have a n800 and I can only see one temperature entry-- temp1_input. Reading it returns 30500, sitting on my desk while charging in a cool room. I note that the value varies in steps of 250. Dividing the value by 250 results in 122. From the TSC2301 data sheet it appears it is capable of returning the temperature in increments of 0.3 C. Multiplying 122 by 0.3 results in 36.6C or 97.9F -- a very reasonable internal temperature for charging. I'll have to do it after it's been idle (and not charging) to see if this agrees more closely with the ambient temperature.

Larry
 
Reply


 
Forum Jump


All times are GMT. The time now is 15:59.