Jump to content

CPU temperature in iStat


  • Please log in to reply
207 replies to this topic

#61
jasjeet

jasjeet

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 249 posts

If someone want to, please test this. Should show temp for each core, and there's a "tjmax" key in Info.plist so one can change it's value.
Thanks.

10.6
10.5


I tried it, but im just getting Sensor A and B for my Quad Core Q6600 in iStat, Temp monitor reprts A B C D but as youve explained the wrong temp 8000+
Using CPU injector for Snow to recognize Q6600 Xeon

#62
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,836 posts
  • Gender:Male
  • Location:Brazil

I tried it, but im just getting Sensor A and B for my Quad Core Q6600 in iStat, Temp monitor reprts A B C D but as youve explained the wrong temp 8000+
Using CPU injector for Snow to recognize Q6600 Xeon


Strange thing, just tested with CPU injector and it still shows 4 cores, did you test without it to see if it's the problem?
Attached File  Captura_de_tela_2009_10_21__s_19.27.04.png   75.06KB   165 downloads

Do you see 4 CPUs in IORegistryExplorer?

Edit: did you check iStat preferences? Maybe other cores are unchecked. If Temperature Monitor shows the other cores, the keys must be there (even it showing wrong values).

#63
jasjeet

jasjeet

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 249 posts
in iStat, only Core A and B are selectable, C and D are not even in options.
I will try without CPU injector tomorrow.

what do you mean by "Do you see 4 CPUs in IORegistryExplorer?"

#64
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,836 posts
  • Gender:Male
  • Location:Brazil

what do you mean by "Do you see 4 CPUs in IORegistryExplorer?"


Please see screenshot. I asked that because the kext uses IOService to count CPUs.

Attached File  Captura_de_tela_2009_10_21____s_21.05.09.png   12.33KB   39 downloads

#65
VCH888

VCH888

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 585 posts

If someone want to, please test this. Should show temp for each core, and there's a "tjmax" key in Info.plist so one can change it's value.
Thanks.



Thank you very much for your work.

#66
jasjeet

jasjeet

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 249 posts
i see this:

Attached Files



#67
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,836 posts
  • Gender:Male
  • Location:Brazil

i see this:


please test with this kext
Attached File  fakesmc.kext.zip   30.79KB   40 downloads
then check your kernel.log for which keys were added

grep added /var/log/kernel.log

Oct 22 15:40:18 localhost kernel[0]: added TC0D key
Oct 22 15:40:18 localhost kernel[0]: added TC1D key
Oct 22 15:40:18 localhost kernel[0]: added TC2D key
Oct 22 15:40:18 localhost kernel[0]: added TC3D key

#68
jasjeet

jasjeet

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 249 posts
ok tried new kext get these messages
Oct 22 19:47:25 localhost kernel[0]: netkas presents fakesmc, a kext which emulates smc device
Oct 22 19:47:25 localhost kernel[0]: added TC0D key
Oct 22 19:47:25 localhost kernel[0]: added TC1D key
Oct 22 19:47:25 localhost kernel[0]: added TC2D key
Oct 22 19:47:25 localhost kernel[0]: added TC3D key

and some key not found...

Still 2 CPU A and B in iStat and the IORegistryExplorer shows the same information as before.

#69
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,836 posts
  • Gender:Male
  • Location:Brazil

ok tried new kext get these messages
Oct 22 19:47:25 localhost kernel[0]: netkas presents fakesmc, a kext which emulates smc device
Oct 22 19:47:25 localhost kernel[0]: added TC0D key
Oct 22 19:47:25 localhost kernel[0]: added TC1D key
Oct 22 19:47:25 localhost kernel[0]: added TC2D key
Oct 22 19:47:25 localhost kernel[0]: added TC3D key


This means the keys for all cores were added, the problem must be in iStat.
Are you using the latest version? Try to reinstall version 2.0 and the sensor module.

#70
jasjeet

jasjeet

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 249 posts
It works in iStat menu bar, but not in dashboard, but thats good enough for me, thanks!

#71
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,840 posts
  • Gender:Male
  • Location:Moscow
iStatPro that works in Dashboard uses following keys for sensors
Oct 23 12:45:17 sergey kernel[0]: akeSMC: key info not found Tp1C, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found Tp0C, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TB0T, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TB1T, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TB2T, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TB3T, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TN0P, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TN1P, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TN0H, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TM0S, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TM1S, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TM2S, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TM3S, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TM4S, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TM5S, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TM6S, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TM7S, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TM8S, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TM9S, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TMAS, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TMBS, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TMCS, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TMDS, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TMES, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TMFS, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TM0P, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TM1P, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TM2P, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TM3P, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TM4P, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TM5P, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TM6P, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TM7P, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TM8P, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TM9P, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TMAP, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TMBP, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TMCP, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TMDP, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TMEP, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TMFP, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found Tm0P, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TS0C, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TW0P, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found Tp0P, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TA0S, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TA1S, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TA2S, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TA3S, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found TA1P, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found Tp1P, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found Tp2P, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found Tp3P, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found Tp4P, length - 6
Oct 23 12:45:17 sergey kernel[0]: FakeSMC: key info not found Tp5P, length - 6
Oct 23 12:45:19 sergey kernel[0]: FakeSMC: key info not found FNum, length - 6
Oct 23 12:47:16: --- last message repeated 1 time ---


#72
kozlek

kozlek

    InsanelyMac Sage

  • Developers
  • 331 posts
  • Gender:Male
  • Location:Israel
I've updated latest version to use with markswell's utulities. Now it works well in snowleo and shows correctly all cores.

Attached File  fakesmc.kext.zip   31.4KB   145 downloads
Attached File  fakesmc.src.zip   556.84KB   110 downloads

#73
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,836 posts
  • Gender:Male
  • Location:Brazil

I've updated latest version to use with markswell's utulities. Now it works well in snowleo and shows correctly all cores.

Attached File  fakesmc.kext.zip   31.4KB   145 downloads
Attached File  fakesmc.src.zip   556.84KB   110 downloads


Thank you Mojodojo.

I see you use cpuid_count_cores() from cpuid.h, the previous method didn't work for you in SnowLeo? Should we increase MaxCpuCount then?

BTW, are you the author of VoodooMonitor (CPU-i)? I got the code to count cores from CPU-i 1.03 source.

Are markswell's utilities open source? It would be nice to add mobo temp and fan speeds to fakesmc, I see it supports some more chips now.

Regards.

#74
kozlek

kozlek

    InsanelyMac Sage

  • Developers
  • 331 posts
  • Gender:Male
  • Location:Israel

Thank you Mojodojo.

I see you use cpuid_count_cores() from cpuid.h, the previous method didn't work for you in SnowLeo? Should we increase MaxCpuCount then?

BTW, are you the author of VoodooMonitor (CPU-i)? I got the code to count cores from CPU-i 1.03 source.

Are markswell's utilities open source? It would be nice to add mobo temp and fan speeds to fakesmc, I see it supports some more chips now.

Regards.


Yes, I made cpu-i.

You must ask a question about license and mark-i sources to mark. Cpuid utilities from voodoomonitor is different from mark-i project.

It would be great if fakesmc will receive mark-i functionality.

#75
THe KiNG

THe KiNG

    InsanelyMac Legend

  • Gurus
  • 674 posts
  • Gender:Male

It would be great if fakesmc will receive mark-i functionality.

Indeed! :rolleyes:

#76
TimeWalker75a

TimeWalker75a

    InsanelyMac Legend

  • Gurus
  • 918 posts
  • Gender:Male
Running an installation of 1.6.1.
CPU: E2160 M0 according to Everest info and articles fount in google tjmax=85C

Setting up the correct tj value in plist and installing kext shows up improper data in iStat.
Actual temperature reading from ITE chip is 30 to 33C idle and 37 max load. (according to data from mark-i and BIOS h\w health status). The CPU's cooled by Thermaltake BigTyphoon (and it's not the hottest cpu in the world, so yeah .. )

Teperature reading i get in iStat using ur mod are like 10C higher that the actual values are.
iStat shows 40 to 42C idle and all the way up to 50 @ load. Something weird's going on ...

Oh ...and I've used Mojodojo's editted version posted above ..

#77
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,836 posts
  • Gender:Male
  • Location:Brazil

Running an installation of 1.6.1.
CPU: E2160 M0 according to Everest info and articles fount in google tjmax=85C

Setting up the correct tj value in plist and installing kext shows up improper data in iStat.
Actual temperature reading from ITE chip is 30 to 33C idle and 37 max load. (according to data from mark-i and BIOS h\w health status). The CPU's cooled by Thermaltake BigTyphoon (and it's not the hottest cpu in the world, so yeah .. )

Teperature reading i get in iStat using ur mod are like 10C higher that the actual values are.
iStat shows 40 to 42C idle and all the way up to 50 @ load. Something weird's going on ...

Oh ...and I've used Mojodojo's editted version posted above ..


From what I understand, the value mark-i shows in "cpu temperature" is got from a sensor on the motherboard (see screenshot, here it shows 35º), while the values in the boxes on the right are diode core temps (around 51º here), they should be the same as in iStat (actually I see a 2º difference here).

Attached File  Captura_de_tela_2009_10_23__s_16.55.17.png   73.31KB   194 downloads

#78
TimeWalker75a

TimeWalker75a

    InsanelyMac Legend

  • Gurus
  • 918 posts
  • Gender:Male
Ok, i get your point, must've misunderstood the way it works.
Considering this correct the data in these fields of mark-i and data shown in iStat matches.
Here are my temp reading from mark-i comparing to those i've described above.
Posted Image
So I assume it works as intended ?

Thanx in advance.

#79
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,836 posts
  • Gender:Male
  • Location:Brazil

Considering this correct the data in these fields of mark-i and data shown in iStat matches.
So I assume it works as intended ?

AFAIK it does. Maybe someone else can confirm this (or disconfirm).

I've updated latest version to use with markswell's utulities. Now it works well in snowleo and shows correctly all cores.

Didn't the previous method work for you in SnowLeo? Here it works fine using serviceMatching("IOCPU") like in your CPU-i code.
I think the problem with iStatPro isn't related to this, it only shows CPUs A and B even if keys TC2D and TC3D were added.
Thanks.

#80
Beerkex'd

Beerkex'd

    Content Provider

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 3,000 posts
  • Gender:Male
  • Location:Belo Horizonte - Brazil

I've updated latest version to use with markswell's utulities. Now it works well in snowleo and shows correctly all cores.


Thanks. Bresink's Temperature Monitor now shows both temperature diodes A and B on my E8500.

And thanks for making VoodooMonitor and P-State Calculator.

I hope you don't mind me asking; could you fix P-State Calculator so that it supports fractional multipliers?

(not that it's difficult to place an extra "4" in DSDT.aml but it would be convenient)





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy