Jump to content

SMC Monitor


oldnapalm
 Share

87 posts in this topic

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

Link to comment
Share on other sites

Hi oldnapalm,

 

I tried this application,works fine for me ;)

 

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

 

 

 

 

smc_mo10.jpg

 

 

 

 

p__c_s10.jpg

 

 

 

 

prefer10.jpg

 

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

 

 

 

 

Another great job oldnaplm... :(

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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>

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 ?

p_c_states.tiff

Link to comment
Share on other sites

  • 2 months later...

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Works :(

 

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

Fan #0:
Actual speed : 1016 Key[F0Ac]
Minimum speed: 0
Maximum speed: 0
Safe speed   : 0
Target speed : 0
Mode		 : auto

Fan #1:
Actual speed : 2428 Key[F1Ac]
Minimum speed: 0
Maximum speed: 0
Safe speed   : 0
Target speed : 0
Mode		 : auto

 

 

Thanks man :(

 

p.s. ACPIMonitor is for?? I can delete this?

Link to comment
Share on other sites

Hi oldnapalm,

 

I do not understand this zero? Is something wrong here? Thanks !

If you are using Chameleon RC5 to generate P-states, it's normal, it injects zeros in those positions.

 

perl -e 'open(CMD, "ioreg -lw0 \| grep SSDT-1|") or die; while(<CMD>) { chomp; if($_ =~ /\"SSDT-1\.?\d?\"=<([^>]*)>/) { $buff = $1; open(PIP, "|xxd -r -p > SSDT-1.aml") or die; print PIP "$1"; } }'

 

        Name (PSS, Package (0x04)
       {
           Package (0x06)
           {
               0x00000963, 
               [color="#FF0000"]0x00000000[/color], 
               0x0000000A, 
               0x0000000A, 
               0x00000926, 
               0x00000001
           }, 
           Package (0x06)
           {
               0x00000858, 
               [color="#FF0000"]0x00000000[/color], 
               0x0000000A, 
               0x0000000A, 
               0x00000824, 
               0x00000002
           }, 
           Package (0x06)
           {
               0x0000074D, 
               [color="#FF0000"]0x00000000[/color], 
               0x0000000A, 
               0x0000000A, 
               0x00000720, 
               0x00000003
           }, 
           Package (0x06)
           {
               0x00000642, 
               [color="#FF0000"]0x00000000[/color], 
               0x0000000A, 
               0x0000000A, 
               0x0000061D, 
               0x00000004
           }
       })

Link to comment
Share on other sites

Thanks man !

 

I have only one more question!

Trying to get a fan display. But after computer restart, it disappears!

 

W836x: found Winbond W83627DHG-P

 

I deleted everything except W836x and I made edit in the plist:

 

<key>FANINLIMIT</key>

<integer>4</integer>

 

And of course fakesmc 3.1!

 

See picture please... What is wrong here?

 

Many Thanks ! :(

post-646273-1302740954_thumb.png

Link to comment
Share on other sites

What do you mean "it disappears"?

 

Did you update kext cache after editing the plist?

 

I use SuperIOFamily and FakeSMC in /Extra/Extensions.

 

 

Failed to load kext org.mozodojo.W836x (error 0xdc00800e)

Link to comment
Share on other sites

Failed to load kext org.mozodojo.W836x (error 0xdc00800e)

 

As oldnapalm had already noted, the FakeSMC 3.1.0 is intended to load from the /Extra/Extensions directory rather than the /System/Library/Extensions. While those directories are normally interchangeable, this is an important distinction.

Link to comment
Share on other sites

 Share

×
×
  • Create New...