Reading CPU Temperature (including each core temperature) without third party tools
-
I'm trying to make a program that reads the temperature from the cpu and then sends it to my arduino duemilanove, where I have a 4 digit 7-segment display. I've been searching for a while but found nothing about reading the temperature from cpu's DTS (Digital Thermal Sensors). I don't want to use CoreTemp or any other related tool. EDIT: By the way, I have a asus n61jq laptop with intel core i7 720QM
-
I'm trying to make a program that reads the temperature from the cpu and then sends it to my arduino duemilanove, where I have a 4 digit 7-segment display. I've been searching for a while but found nothing about reading the temperature from cpu's DTS (Digital Thermal Sensors). I don't want to use CoreTemp or any other related tool. EDIT: By the way, I have a asus n61jq laptop with intel core i7 720QM
http://en.wikipedia.org/wiki/SMbus[^] Well you could check this out!
-
http://en.wikipedia.org/wiki/SMbus[^] Well you could check this out!
I'm trying to use __readmsr() intrinsic function to get the temperature, but it keeps giving this error: "Unhandled exception at 0x000000013fd81009 in test.exe: 0xC0000096: Privileged instruction." It seems that rdmsr instruction must be executed in privileged mode. EDIT: Is there any way of switching from user-mode to kernel-mode instead of making a driver?
modified on Tuesday, August 17, 2010 8:29 AM
-
I'm trying to make a program that reads the temperature from the cpu and then sends it to my arduino duemilanove, where I have a 4 digit 7-segment display. I've been searching for a while but found nothing about reading the temperature from cpu's DTS (Digital Thermal Sensors). I don't want to use CoreTemp or any other related tool. EDIT: By the way, I have a asus n61jq laptop with intel core i7 720QM
Is the
Win32_TemperatureProbe
class of any help?"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
-
Is the
Win32_TemperatureProbe
class of any help?"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
It could help but I never worked with WMI, so I will need a example of its use. I've just downloaded the WDK and I will try to read the temperature by making a driver. This could be fun! :D
-
It could help but I never worked with WMI, so I will need a example of its use. I've just downloaded the WDK and I will try to read the temperature by making a driver. This could be fun! :D
Using WMI will be much simpler than doing a driver - search CP and you'll find lots of articles on WMI such as Making WMI Queries In C++[^] Judy
Be wary of strong drink. It can make you shoot at tax collectors - and miss. Lazarus Long, "Time Enough For Love" by Robert A. Heinlein