Jump to content

CPU temperature in iStat


  • Please log in to reply
207 replies to this topic

#41
Beerkex'd

Beerkex'd

    Content Provider

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 3,000 posts
  • Gender:Male
  • Location:Belo Horizonte - Brazil
I just tried without OHR.kext, Restart and Shutdown does not work.

Added the EC to my DSDT today. Here's the latest and greatest:
http://www.insanelym...p;#entry1299409

edit

With the new fakeSMC I also see the +9000 degree CPU A temperature diode in Temperature Monitor.

#42
VCH888

VCH888

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 585 posts
I tested the fakesmc.kext from the 1st post on 945GCM-S2L, E2180 @ 2 GHz.

I got CPU temperature in iStat about 48-50 C. GB bios showed about 34-35 C. Is this Correct?
Attached File  temp_2.jpg   40.19KB   112 downloads


Also, I used Temperature Monitor and it showed as a below picture.

Posted Image

CPU A Temerature Diode was very high. I think this one was not correct. If I didn't use the modified fakesmc.kext, CPU A Temperature Diode would not show up.

Thank you for your work.

#43
William Parker

William Parker

    InsanelyMac Protégé

  • Members
  • PipPip
  • 75 posts

The file in question is in FakeSMC source package. I presume you don't have Xcode installed (sorry if I'm wrong), so here is the same kext without the "key not found" log message.


As I checked today I still have the errors in my log

(kernel FakeSMC: key info not found VSFC, length - 6 .... and so on)

Thanks

#44
Boombeng

Boombeng

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 598 posts
  • Gender:Male
  • Location:France
10.5 version works fine, thx

As Tmongkol, a new temperature appeared in Temperatur Monitor Menu but the value is wrong lol here is a screnshot :
Attached File  temp.jpg   43.93KB   188 downloads


I don't see any difference betwin Temp Monitor and IStat temp

Here is also the FakeSMC console error messages when I launched IStat, some seem to be related to FanSpeed value (Fnum?) :
Attached File  Fakesmc.txt   13.94KB   62 downloads


Thx

#45
lebidou

lebidou

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 153 posts
  • Gender:Male
  • Location:Fr
Just tested, and it works fine. The Temperature diode seems to be the temperature multiplied by 256.

Thank you, would be great to have the temp for each cores though.

#46
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

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

With the new fakeSMC I also see the +9000 degree CPU A temperature diode in Temperature Monitor.


CPU A Temerature Diode was very high. I think this one was not correct. If I didn't use the modified fakesmc.kext, CPU A Temperature Diode would not show up.


As Tmongkol, a new temperature appeared in Temperatur Monitor Menu but the value is wrong lol here is a screnshot :


About "CPU A Temperature Diode", looks like Temperature Monitor reads the same 2 bytes TC0D key, but big-endian, while iStat uses little-endian.
For example:
TC0D = <31 00>
iStat reads: 0x0031 = 49
Temperature Monitor reads 0x3100 = 12544

As I checked today I still have the errors in my log

(kernel FakeSMC: key info not found VSFC, length - 6 .... and so on)

Thanks


Looks like I removed the wrong log message ("key not found" instead of "key info not found"). I'll compile it again when I get home at night (GMT -3).

I tested the fakesmc.kext from the 1st post on 945GCM-S2L, E2180 @ 2 GHz.

I got CPU temperature in iStat about 48-50 C. GB bios showed about 34-35 C. Is this Correct?


I used 100 for Tjmax value, and looks like your CPU's is 85, that's why you see the 15º difference. I'll look for a better way to do it.

#47
DieBuche

DieBuche

    InsanelyMac Protégé

  • Members
  • PipPip
  • 85 posts
TC1D, TC2D, TC3D appear as CPU B, C and D

This is from smc.0.01 :

Temperature sensors
-------------------
TB0T
TC0D
TC0P
TM0P
TN0P
Th0H
Ts0P
TN1P
Th1H

Light sensors
-------------
ALV0 - Left 
ALV1 - Right 

Motion sensors
--------------
MO_X
MO_Y
MO_Z

Attached is the utility on which iStats sensormodule is based on.

Attached Files

  • Attached File  smc.zip   21.85KB   91 downloads


#48
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

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

TC1D, TC2D, TC3D appear as CPU B, C and D


Thanks, I'll try to make it show temps for all cores.

#49
DieBuche

DieBuche

    InsanelyMac Protégé

  • Members
  • PipPip
  • 85 posts
an interesting read is this : http://apt.wikimedia...wmon/applesmc.c
It's an smc port for hardy, from line 87 on, it lists all the smckeys for temperature which can be accessed for the respective mac model.

#50
yeehaa

yeehaa

    InsanelyMac Protégé

  • Members
  • PipPip
  • 81 posts
  • Gender:Male
  • Location:FL, USA

an interesting read is this : http://apt.wikimedia...wmon/applesmc.c
It's an smc port for hardy, from line 87 on, it lists all the smckeys for temperature which can be accessed for the respective mac model.


but that's for a mac which already has an smc device!

#51
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,840 posts
  • Gender:Male
  • Location:Brazil
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 Attached File  fakesmc.kext.zip   30.72KB   283 downloads
10.5 Attached File  fakesmc.kext.zip   17.24KB   58 downloads

#52
William Parker

William Parker

    InsanelyMac Protégé

  • Members
  • PipPip
  • 75 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 Attached File  fakesmc.kext.zip   30.72KB   283 downloads
10.5 Attached File  fakesmc.kext.zip   17.24KB   58 downloads


Hi,
Checked the latest edit to your fakesmc.kext. Indeed shows 4 CPU temp values in istat menus. Left Tjmax @ 100 (default), which values seem correct with Q9550 CPU.
But friend, those messages about smckeys are still there in the log. All else seems to work okay.

Thank you.

#53
THe KiNG

THe KiNG

    InsanelyMac Legend

  • Retired Developers
  • 755 posts
  • Gender:Male

But friend, those messages about smckeys are still there in the log. All else seems to work okay.

Mate those are there with a purpose, the kext is not finished...
Wait until someone add debug option in plist, or you do the job if that upset you so much...

#54
sk1nhead

sk1nhead

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 111 posts
  • Location:Manila
working great here, thanks a lot oldnapalm for the updated kext.

Posted Image

#55
Beerkex'd

Beerkex'd

    Content Provider

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

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.


Temperature monitor still shows 9000 degrees for diode A with this one. Anyone care to confirm?

#56
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

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

Temperature monitor still shows 9000 degrees for diode A with this one. Anyone care to confirm?


I confirm it, but if you change the kext to work with Temperature Monitor, iStat won't work anymore.

Temperature Monitor reads the same 2 bytes TC0D key, but big-endian, while iStat uses little-endian.
For example:
TC0D = <31 00>
iStat reads: 0x0031 = 49
Temperature Monitor reads 0x3100 = 12544



#57
mm67

mm67

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 673 posts
  • Gender:Male
  • Location:Finland

I confirm it, but if you change the kext to work with Temperature Monitor, iStat won't work anymore.


I get these kind of readings, Temperature monitor application works, but all sensors show +5 degrees compared to VoodooMonitor or iStat.

Attached File  Screen_shot_2009_10_21_at_19.58.37.png   26.53KB   85 downloads
Attached File  Screen_shot_2009_10_21_at_19.58.45.png   41.75KB   118 downloads

#58
Beerkex'd

Beerkex'd

    Content Provider

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

I confirm it, but if you change the kext to work with Temperature Monitor, iStat won't work anymore.


Now I understand, thanks, that'll teach me to read..

#59
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

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

I get these kind of readings, Temperature monitor application works, but all sensors show +5 degrees compared to VoodooMonitor or iStat.


Maybe Temperature Monitor calculates a different Tjmax value for your CPU?
Here it shows the same values as iStat and VoodooMonitor (except for diode temps which are 10000º+ as mentioned).

In Temperature Monitor preferences, under sensor tab, you can select "don't acquire readings from this sensor" for the ones showing wrong values.

#60
mm67

mm67

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 673 posts
  • Gender:Male
  • Location:Finland

Maybe Temperature Monitor calculates a different Tjmax value for your CPU?
Here it shows the same values as iStat and VoodooMonitor (except for diode temps which are 10000º+ as mentioned).

In Temperature Monitor preferences, under sensor tab, you can select "don't acquire readings from this sensor" for the ones showing wrong values.


Seems to be defined to 105 for some reason.
Attached File  Screen_shot_2009_10_21_at_20.45.13.png   57.24KB   127 downloads





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