Jump to content

CPU temperature in iStat


oldnapalm
 Share

208 posts in this topic

Recommended 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 fakesmc.kext.zip

10.5 fakesmc.kext.zip

 

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.

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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 =

iStat reads: 0x0031 = 49

Temperature Monitor reads 0x3100 = 12544

Link to comment
Share on other sites

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.

 

post-375259-1256144497_thumb.png

post-375259-1256144512_thumb.png

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

post-375259-1256147194_thumb.png

Link to comment
Share on other sites

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 fakesmc.kext.zip

10.5 fakesmc.kext.zip

 

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

Link to comment
Share on other sites

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?

Captura_de_tela_2009_10_21_Ã_s_19.27.04.png

 

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).

Link to comment
Share on other sites

i see this:

 

please test with this kext

fakesmc.kext.zip

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 ---

Link to comment
Share on other sites

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

 

fakesmc.kext.zip

fakesmc.src.zip

 

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

 Share

×
×
  • Create New...