Jump to content

SMC Monitor


  • Please log in to reply
88 replies to this topic

#21
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,874 posts
  • Gender:Male
  • Location:Stuttgart / Germany
REQ: were to DL that P&C States tool (shown 3 posts above) ?
Thanks

#22
SP1950

SP1950

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts

REQ: were to DL that P&C States tool (shown 3 posts above) ?
Thanks


You didn't go through the menus in the tool, did you? :wacko:

#23
DarwinX

DarwinX

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 610 posts
  • Gender:Male
  • Location:Florida

REQ: were to DL that P&C States tool (shown 3 posts above) ?
Thanks


From the first post: "There's also a window with P and C states info parsed from ioreg."

To view the P & C States window within the SMC Monitor.app, go to the File menu, then select the P & C States option.

#24
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,813 posts
  • Gender:Male
  • Location:Brazil
About smc-0.01 which comes with smcFanControl (http://www.eidac.de/?p=134), I guess it was compiled on Tiger. Trying to compile it on Snow Leopard I get this error
Undefined symbols:
  "_IOConnectMethodStructureIStructureO", referenced from:
	  _SMCCall in smc.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
"Intel Sensors Module" from iStat (http://www.islayer.c...tatmenus-intel/) uses IOConnectCallStructMethod instead of IOConnectMethodStructureIStructureO, this way it compiles fine on Snow, but the "list all keys and values" option doesn't work. SMCReadIndexCount returns correct value, but SMCCall return is != kIOReturnSuccess in SMCPrintAll. Any ideas on this?

@blackosx, can you read the keys you know exist, even if they are not listed, using smc binary?
./smc -k TCAH -r


#25
el coniglio

el coniglio

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 101 posts
I can read a key that is not listed in 'smc -l'.

I got these results after reading the TC0D key with 3-4s interval on a macbook air.

TC0D [sp78] (bytes 32 60)
TC0D [sp78] (bytes 32 90)
TC0D [sp78] (bytes 33 10)

I'm not sure about its format, but I'd guess its the temp in celcius * 0xFF.

#26
jboehm

jboehm

    InsanelyMac Protégé

  • Members
  • Pip
  • 26 posts
Is there a decoder for what CST Info means?

It would be really useful if we had a CState residency reporter like the Linux turbostat.

sample turbostat output

CPU GHz TSC %c0 %c1 %c3 %c6 %pc3 %pc6 %pc7
avg 1.64 3.30 1.77 11.44 0.67 86.13 0.00 0.00 0.00
0 1.64 3.30 16.40 61.73 3.92 17.95 0.00 0.00 0.00
1 1.62 3.30 0.13 0.22 0.04 99.61 0.00 0.00 0.00
2 1.61 3.30 0.07 0.12 0.04 99.77 0.00 0.00 0.00
3 1.62 3.30 0.03 0.27 0.01 99.68 0.00 0.00 0.00
4 1.62 3.30 0.05 0.07 0.00 99.88 0.00 0.00 0.00
5 1.64 3.30 0.03 0.10 0.00 99.86 0.00 0.00 0.00
6 1.66 3.30 4.23 73.90 3.92 17.95 0.00 0.00 0.00
7 1.63 3.30 0.04 0.31 0.04 99.61 0.00 0.00 0.00
8 1.60 3.30 0.05 0.14 0.04 99.77 0.00 0.00 0.00

From this you can see that most of the treads are in C6. C6 is the lowest power mode. Package CState appear to be disabled. The second column shows the running frequency.

#27
Flashe

Flashe

    Flashy ~ Flasheu

  • Members
  • PipPipPipPipPip
  • 298 posts
  • Location:93 Carats
Hi oldnapalm,

I tried this application,works fine for me ;)

I use FakeSMC.kext version 2.7.7,which contains 5 PlugIns sensor.




Posted Image




Posted Image




Posted Image

Means that the options in preferences #KEY,CIST,0SK0,$Num,NVPR,BALG,LSSB,LSOF,REV,MOST,ect ect....




Another great job oldnaplm... :(

#28
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,010 posts
  • Gender:Male
  • Location:UK

@blackosx, can you read the keys you know exist, even if they are not listed, using smc binary?

./smc -k TCAH -r

Hi oldnapalm

I like your thinking here, and I think it will as el coniglio has shown. However I won't be back on my iMac until Monday so I can't give you any feedback until then.

#29
Alex//3oo1

Alex//3oo1

    Cheesecake Destroyer

  • Pandora Team
  • 11,591 posts
  • Gender:Male
  • Location:Lodi
Hi oldnapalm,thanks for sharing!!!

Posted Image

#30
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

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

IntelCPUMonitor get BUS frequency from DeviceTree where it is appeared due to Bootloader.
It may be wrong.

Thanks, Slice.

That was really the problem here, FSB detected by Chameleon was wrong. I configured SMexternalclock in smbios.plist and IntelCPUMonitor shows correct frequencies now.

#31
aleister Crowley

aleister Crowley

    InsanelyMac Protégé

  • Members
  • PipPip
  • 76 posts

Thanks, Slice.

That was really the problem here, FSB detected by Chameleon was wrong. I configured SMexternalclock in smbios.plist and IntelCPUMonitor shows correct frequencies now.


nice.. can you tell me what i have to add in my smbios.plist ?

I use 150mhz BLCK/FSB on my Core i5 750 on SL 10.6.6

#32
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

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

nice.. can you tell me what i have to add in my smbios.plist ?

I use 150mhz BLCK/FSB on my Core i5 750 on SL 10.6.6

You should add 150, I guess.

I have a C2D 2.0 GHz, 800 MHz FSB, and added this to smbios.plist
<key>SMmaximalclock</key>
	<string>2000</string>
	<key>SMexternalclock</key>
	<string>200</string>


#33
aleister Crowley

aleister Crowley

    InsanelyMac Protégé

  • Members
  • PipPip
  • 76 posts

You should add 150, I guess.

I have a C2D 2.0 GHz, 800 MHz FSB, and added this to smbios.plist

<key>SMmaximalclock</key>
	<string>2000</string>
	<key>SMexternalclock</key>
	<string>200</string>


no difference with :
<key>SMexternalclock</key>
<string>150</string>

The Calculation of the CPU Frequenzies is still wrong in SMCMonitor.
Also the CPU Clock Rates are not based on the real Speedstep/Turbo Clocks. SMCMonitor is always Off and shows Idle or Load Frequenzies where is a completely different Clock Rate in Realitiy (SMCMonitor shows 1011Mhz where 3.150Mhz is right), Strange.

#34
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,813 posts
  • Gender:Male
  • Location:Brazil
Can you post a screenshot of the "P & C states" window?

Actually all calculation is done by FakeSMC (IntelCPUMonitor), SMC Monitor just reads the keys from FakeSMC.

#35
aleister Crowley

aleister Crowley

    InsanelyMac Protégé

  • Members
  • PipPip
  • 76 posts

Can you post a screenshot of the "P & C states" window?

Actually all calculation is done by FakeSMC (IntelCPUMonitor), SMC Monitor just reads the keys from FakeSMC.


I attached a Screen of P&C States fro my Core i5 .
Accordings to Voltage changes and Frequenzies in MSR Tools native Speedstep/Turbo works without Problems from Bios Settings. I dont use DSDT edits or Chameleon C&P states.

The P&C States Table looks normal to me ? All standard Frequenzies up to 2268 Mhz (standard for Core i5 750)

But why IntelCPUMonitor/FakeSMC calculates so wrong Values ?

Attached Files



#36
Fiox89

Fiox89

    InsanelyMacaholic

  • Moderators
  • 4,518 posts
  • Gender:Male
  • Location:Soverato - Italy
  • Interests:Informatica, Motori...e Donne! :D
Hi guys, i have a simple question, witch kexts needes for control fan speed?

I have fakesmc 3.1 and i monitoring my hardware but i have no values for fan speed. I have also ACPIMonitor - IntelCPUMonitor - NVClockx - SuperIOFamily (with IT87x, PC8739x, W836x )

macpro-di-fiox:fiox$ ./SMC_util2 -f
Total fans in system: 0


Image smc_monitor


I have also speedstep vanilla in my dsdt

Solutions?

Thanks :(


p.s. edited

#37
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,813 posts
  • Gender:Male
  • Location:Brazil
You can get fan speed with ACPIMonitor (needs DSDT patch) or one of the Super I/O plugins, depending on the chip your motherboard has (ITE, FINTEK, NSC, WINBOND).

http://www.projectos...p?showforum=165

#38
Fiox89

Fiox89

    InsanelyMacaholic

  • Moderators
  • 4,518 posts
  • Gender:Male
  • Location:Soverato - Italy
  • Interests:Informatica, Motori...e Donne! :D
Hi oldnapalm and first thanks for your reply :(


I have ACPIMonitor but I have not edited dsdt for this

I have also SuperIOFamily with IT87x, PC8739x, W836x

How do I determine the chip on my motherboard?On startup i have this message

W836x: found Winbond W83627DHG


#39
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,813 posts
  • Gender:Male
  • Location:Brazil
Remove the Super I/O plugins you don't need, edit W836x.kext/Contents/Info.plist and change
<key>FANINLIMIT</key>
				<integer>4</integer>
I also had this problem if I remember well.

#40
Fiox89

Fiox89

    InsanelyMacaholic

  • Moderators
  • 4,518 posts
  • Gender:Male
  • Location:Soverato - Italy
  • Interests:Informatica, Motori...e Donne! :D
W836x.kext is on SuperIOFamily.kext, however i have install W836x and remove SuperIOFamily, and change values of FANINLIMIT but no result

Now on startup i do not have this message

W836x: found Winbond W83627DHG

I took the W836x.kext from SuperIOFamily.kext/Contents/PlugIns - I installed it - I changed values in Info.plist





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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