Jump to content

CPU temperature in iStat


  • Please log in to reply
207 replies to this topic

#101
Master Chief

Master Chief

    Just Chief

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,176 posts
  • Gender:Male

Thanks friend.

I was reading this topic http://www.insanelym...howtopic=170384 (see you were reading it too), looks like they couldn't make it work with OSK0 and OSK1 keys. Do you think it could work for sensor keys?

I was yes. I only noticed certain comments here, so I had to see for myself what they were about. Anyway. Writing keys on a Mac Pro is easy, because it has the required SMC chip. But looking at FakeSMC... yes that logic can be written in ASL. Intercepting writes to and reads from the two ports (0x0300/0x0304) is however is a different story. It might trigger some sort of (ACPI) event, but I haven't really looked into it yet.

#102
d00d

d00d

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 476 posts
  • Gender:Male
  • Location:41.648324, -70.635260

I was yes. I only noticed certain comments here, so I had to see for myself what they were about. Anyway. Writing keys on a Mac Pro is easy, because it has the required SMC chip. But looking at FakeSMC... yes that logic can be written in ASL. Intercepting writes to and reads from the two ports (0x0300/0x0304) is however is a different story. It might trigger some sort of (ACPI) event, but I haven't really looked into it yet.

Nicolas Boichat did some work on this issue at http://www.mail-arch...t/msg00860.html.
I'm not sure which machine he used 2.5 years ago, but his results may be useful.
Perhaps someone with SMC version 1.39f5 (Apple hardware MacPro4,1) could disassemble the driver with otool and use it to get it's keys.

#103
takumikun999

takumikun999

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
Hello,

In IStat, my CPU temperature readings is frozen, It's not changing at all. Right now it's stuck at 37 for cpu A and 34 for cpu B in celsius.

I'm using the modified fakesmc for snow leopard.


My specs:
Snow Leopard 10.6.1
Pentium D E6300 2.80 GHZ
G31M-ES2L
Sata Harddrives
Nvidia 7500LE

#104
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

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

In IStat, my CPU temperature readings is frozen, It's not changing at all. Right now it's stuck at 37 for cpu A and 34 for cpu B in celsius.


Hi,

did you test VoodooMonitor in this computer? As I wrote in the first post, the code used in this modified FakeSMC is from VoodooMonitor. In one computer (MSI mobo and C2D CPU) I had the same problem you had, temperatures stuck at 37 and 39º C, using both iStat and VoodooMonitor. I think we'll need help from MojoDojo again.

Edit: I did some more tests and the temps actually change. Running "yes" they go up to around 45º C, but return to 37-39 in just a few seconds after the command stops running, pretty strange (my Q6600 takes much longer to cool after a stress).

#105
kdawg

kdawg

    InsanelyMac Legend

  • Donators
  • 508 posts
  • Gender:Male
  • Location:Boston, MA
Where did I see how to disable the missing key warnings in fakeSMC? Or should I just add dummy values for all the missing keys.

#106
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

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

Where did I see how to disable the missing key warnings in fakeSMC? Or should I just add dummy values for all the missing keys.


Please see post #23, you just have to remove or comment out the "IOLog" lines from IOACPIPlatformDeviceCh.cpp with the messages you see in log.
There's a compiled version a few posts after that, but it's not the latest. I will compile it without debug messages when I get home tonight.

Edit: added to the first post.

#107
Master Chief

Master Chief

    Just Chief

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,176 posts
  • Gender:Male

Nicolas Boichat did some work on this issue at
<a href="http://www.mail-arch.../msg00860.html" target="_blank">http://www.mail-arch...00860.html</a>.
I'm not sure which machine he used 2.5 years ago, but his results may be useful.
Perhaps someone with SMC version 1.39f5 (Apple hardware MacPro4,1) could disassemble the driver with otool and use it to get it's keys.

Thanks, but I have a Mac Pro 4,1 but I am not interested in the keys. But adding SMC keys like TC1D can be done. Just take a look at this screen shot where I debug the addition of the TC1D key on my Mac Pro 4,1 (step by step debugging in ACPICAexec). Telling me that my code works.

#108
xsmurf

xsmurf

    InsanelyMac Protégé

  • Members
  • Pip
  • 19 posts

Thanks, but I have a Mac Pro 4,1 but I am not interested in the keys. But adding SMC keys like TC1D can be done. Just take a look at this screen shot where I debug the addition of the TC1D key on my Mac Pro 4,1 (step by step debugging in ACPICAexec). Telling me that my code works.


May one day you be free to release this information :D

#109
CmCd01

CmCd01

    InsanelyMac Protégé

  • Donators
  • 74 posts
I updated to your no-debug msg fakesmc.kext after doing the udpate to 10.6.2. It works nicely, THANK YOU. ;)

#110
adidasprince

adidasprince

    InsanelyMac Protégé

  • Members
  • Pip
  • 45 posts
GREAT JOB!!! Thank you.  Totally works on my gigabyte mb.

I'm just wondering is there any chance to get northbridge temp?

#111
dadi_oh

dadi_oh

    InsanelyMac Protégé

  • Members
  • Pip
  • 36 posts
Fantastic job. Working in 10.6.2 on both my Hacks Q9550 and Q6600 both on P5Q-PRO motherboards.

Next on my wish list if to get the GPU temp readings from my HD4870 and GTX260 video cards :whistle:

Thanks for your excellent work on this...

#112
jeffrey1790

jeffrey1790

    InsanelyMac Protégé

  • Members
  • PipPip
  • 61 posts
the temperatures show up, but are static. any ideas?

#113
crazybyte

crazybyte

    InsanelyMac Protégé

  • Members
  • PipPip
  • 68 posts
I have the same problems, Gigabyte EP35 DS4 and Q9300, temperature readings are static.

#114
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,836 posts
  • Gender:Male
  • Location:Brazil
Sorry guys, I have no idea on what can be causing this, it works with most Core CPUs.

Please see post #104 about my experience. Maybe if you do those tests and get some more information, we can figure it out.

#115
bcc9

bcc9

    InsanelyMac Legend

  • Coders
  • 1,277 posts
  • Gender:Male
Thanks oldnapalm & netkas for adding the temps to fakesmc.

I looked up tjmax for my processor line (mobile core 2 45nm) and it should be 105 not 100.
Note that fakesmc could dynamically get the trip point out of the ACPI table (it's in _CRT).
Lacking that, it's too bad fakesmc doesn't key off of a static table for the most common intel processors.

Once I updated tjmax I'm getting good results with istat nano, thanks again.

#116
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

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

Note that fakesmc could dynamically get the trip point out of the ACPI table (it's in _CRT).
Lacking that, it's too bad fakesmc doesn't key off of a static table for the most common intel processors.


Hi bcc9, thanks for the tip.
Please send this info to netkas if you have other way than writing in this thread. I don't have his e-mail, registration is disabled in his forum, and his PM box is full. I also have a question but don't know how to contact him (put it in first post).
Thanks again.

#117
kdawg

kdawg

    InsanelyMac Legend

  • Donators
  • 508 posts
  • Gender:Male
  • Location:Boston, MA

Hi bcc9, thanks for the tip.
Please send this info to netkas if you have other way than writing in this thread. I don't have his e-mail, registration is disabled in his forum, and his PM box is full. I also have a question but don't know how to contact him (put it in first post).
Thanks again.


Post it to his fakesmc post on his blog (netkas.org). If it catches his attention he'll respond either by emai,l if you include it, or in the post itself.

#118
netkas

netkas

    InsanelyMac Legend

  • Developers
  • 616 posts
  • Gender:Male

Hi bcc9, thanks for the tip.
Please send this info to netkas if you have other way than writing in this thread. I don't have his e-mail, registration is disabled in his forum, and his PM box is full. I also have a question but don't know how to contact him (put it in first post).
Thanks again.


love that :)





btw, reg on forum disabled cuz of spam.

#119
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

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

love that :(





btw, reg on forum disabled cuz of spam.


Please check bcc9 suggestion on post #115.

What about updating keys on demand or in loop? I ask because updating in loop, calling mp_rendezvous_no_intrs(IntelThermal, &magic) one time will update all keys, and updating on demand it will be called once for each key, so if you have more CPU cores it may be called more often (depending on update interval).

Thanks.

#120
scwhar

scwhar

    Scwhar

  • Members
  • PipPipPip
  • 112 posts
Is there a solution to the static temp readings? I get these with Oldnapalm or Netkas version of kext.

I have added Sbus and EC to DSDT, they both show up in Ioregexplorer although I haven't added all for support of these devices bits yet, causes a lot of compile errors if I try to. (as in Masterchief DSDT)

Still 38 degrees always shown for both cores, I would really like to know what temp my CPU is at to check the speedstep is working right.





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