![]() |
|
|
#1 |
|
Jun 2005
Madison, Indiana, U.S.A.
2110 Posts |
Does anyone know of any code that I can place in an app to read the cpu's core temperature sensor?
|
|
|
|
|
|
#2 |
|
Jun 2005
3×5 Posts |
I would be suprised if there is any simple bit of code. I believe it would be processor and motherboard dependant.
|
|
|
|
|
|
#3 |
|
Oct 2004
52910 Posts |
It does depend on the chip used on the motherboard.
However there are some common chips that would cover most mobos with this capability. As for source code to read them.... Well check out the sensors library under linux which I think uses I2C protocol to communicate with the sensor chip. Sometimes different scaling factors are used to calculate temp. There is also GUI monitor to run under KDE which gets figures from sensors. see lm-sensors at.... http://secure.netroedge.com/~lm78/ HOWEVER DO *NOT* USE THIS ON AN IBM THINKPAD!!! Read readme about probs so maybe need to detect ibm and exit monitoring if you dont want to lockup user's thinkpad very nastily. This prob doesn't affect other manufacturers. http://ksensors.sourceforge.net/ (gui reporting of results from lm-sensors) You are advised to download, compile and install these on a linux box as I have done to become familiar with them. Now if you are a windows programmer, the reason I have told you this is that you can go get the linux SOURCE code, read through, see what it is doing, what chips it supports and make a few changes to implement the same stuff under windows. I assume you are trying to implement similar functionality as Motherboard Monitor into your own app. You should also find it possible to monitor temperatures of certain hard drives if you desired to do so. Your hope to read temperatures is certainly possible. Sorry there is not a simple Windows API call to do so. Wish you every success. Last fiddled with by Peter Nelson on 2005-07-11 at 22:32 |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CPU temperature different when LL than when TF | Schamschi | Hardware | 3 | 2009-11-17 20:48 |
| LL vs. DC ... am I reading this right? | petrw1 | PrimeNet | 9 | 2008-12-02 11:57 |
| cpu temperature 80 C_>>is it normal? | gh_tino | Hardware | 8 | 2007-04-04 05:30 |
| Core2Duos - temperature | nucleon | Hardware | 19 | 2006-10-04 20:40 |
| How do I check the temperature of the CPU | dave_0273 | Hardware | 4 | 2003-12-14 23:15 |