Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

Plugin reading Core Temps on quad Core i5

Discuss anything to do with plugins

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo

Post Reply
hyenadog
Posts: 8
Joined: July 24th, 2009, 1:18 pm

Plugin reading Core Temps on quad Core i5

Post by hyenadog »

hi,

i have ben happily using lcdsmartie with a realtemp plugin (which read the log file on older versions of coretemp) until core temp changed its logfile structure. Also the older versions of coretemp that would work with this smartie plugin wouldnt work with i5 quad.

So as coretemp is such a useful function for lcd smartie i couldnt believe thee was not a plugin for smartie fo either coretemp or realtemp and came to the conclusion there are 2 easy (for someone who understands C# or c++) to create the plugin

1. using realtemp core i/o opensource dll (webring0.dll) eg
I suggest downloading winring0.dll to read core temps. It is what Real Temp uses to read core temps; the rest of the program really just fiddles with what the dll reports. You can read a lot of other system data with the dll. Take a look through the doc.

http://openlibsys.org/

Once you have the dll, here's how to read temps (borland c++ builder). The below is using a TJMax of 100, change that to suit your needs since different processors have a different tjmax.

Code: Select all
//This must be called first
InitializeOls();

void GetTemps(DWORD* iTemp, int iCoreNum)
{
DWORD dwEAX, dwEDX;

RdmsrEx( 0x19C , &dwEAX , &dwEDX , iCoreNum );

dwEAX = dwEAX & 0xFF0000;
dwEAX = dwEAX >> 16;

*iTemp = 100 - dwEAX;


2. using memory area interface (where temps stored) of coretemp

http://www.alcpu.com/CoreTemp/developers.html



has anyone had a bash at generating a core temp reading plugin for core i5 ?

thx

ian

caesar
Forum Supporter
Posts: 734
Joined: October 15th, 2005, 10:39 am
Location: Romania
Contact:

Re: Plugin reading Core Temps on quad Core i5

Post by caesar »

You might want to look at Speedfan, it also works with new Intel CPUs besides other great features.
That is at least until someone makes a core temp plugin.

hyenadog
Posts: 8
Joined: July 24th, 2009, 1:18 pm

Re: Plugin reading Core Temps on quad Core i5

Post by hyenadog »

thx .

speedfan is a bit overkill

pity lcdsmatie hasnt been maintained for a few years as i guess it would be using winring0.dll and we would have real temp's (as this uses this opensource dll) coretemp like functionality built in :-(

we will just have to wait

for anyone interested theres a german site that has used the winring0.dll to get core temps and display them in a vista gadget .. cant be much to do for someone in the know to get lcdsmartie up and running with this ?


http://translate.google.co.uk/translate ... =&ie=UTF-8

once you plug the cpu tjmax in to options its spot on with coretemp




ian

hyenadog
Posts: 8
Joined: July 24th, 2009, 1:18 pm

Re: Plugin reading Core Temps on quad Core i5

Post by hyenadog »

.. further to my last post hes done an even sweeter vista gadget recently to replace the above one, still using winring0 but this time with auto cpu detection and auto tjmax setting etc ..

http://translate.googleusercontent.com/ ... hND0IQN9MQ

Post Reply