Jump to content

VirtualSMC — SMC Emulator


vit9696
760 posts in this topic

Recommended Posts

Anybody notice a difference in their CineBench scores

I find that OpenGL is more than 50% slower

Cpu is around 46  points slower.

I go back to FakeSmc and the scores return to normal, I stick with it.

 

edit:

Must have been a glitch as now VSMC faster than FSMC

 

 

Edited by STLVNUB
  • Like 1
Link to comment
Share on other sites

9 hours ago, STLVNUB said:

Anybody notice a difference in their CineBench scores

I find that OpenGL is more than 50% slower

Cpu is around 46  points slower.

I go back to FakeSmc and the scores return to normal, I stick with it.

i can't say the same

im using virtualsmc right now, and didnt notice any slower or reduced score in opengl / cpu (cinebench).

Link to comment
Share on other sites

My battery suddenly started showing as "Replace Soon" with SMCBatteryManager.

 

My battery still has 73% of its design capacity!! Switched back to ACPIBatteryManager to check if it'll say the same thing, but nope. Says battery condition is good. Capacity hasn't changed since I installed SMCBatteryManager. At lease not that I've noticed.

Link to comment
Share on other sites

7 hours ago, Regi Yassin said:

i can't say the same

im using virtualsmc right now, and didnt notice any slower or reduced score in opengl / cpu (cinebench).

Actually it's faster now in both using VirtualSMC, must have been a glitch.

Link to comment
Share on other sites

Hi, 

Great project - thanks!
FakeSMC has the ability of reading motherboard infos (try: ioreg -c FakeSMCKeyStore | awk /product-name/ ). 

 

Does anyone know if this is possible with VirtualSMC? 

Regards :-) 

 

# SOLVED # Thanks to TheRacerMaster!

Edited by drlove
Link to comment
Share on other sites

@vit9696

 

Can you implement cycle count reading for the battery like in ACPIBatteryManager ? It shows 0 cycles on my HP ProBook 4540s.

 

and when I plug the AC it says Fully Charged and I am at 86 %, and Charging says No.

 

What debug files do you need ?

Link to comment
Share on other sites

trying out VirtualSMC release v1 on a Dual E5-2420 v2 supermicro system

missing CPU Frequency

WMs-Mac-Pro:tools wm$ ./smcread -s
macOS 10.13.6 (17G65)
Public keys (129):
[#KEY] type [ui32] 75693332 len [ 4] attr [80] -> 00000081
[$Adr] type [ui32] 75693332 len [ 4] attr [80] -> 00000300
[$Num] type [ui8 ] 75693820 len [ 1] attr [D0] -> 01
[BATP] type [flag] 666C6167 len [ 1] attr [80] -> 00
[BEMB] type [flag] 666C6167 len [ 1] attr [80] -> 00
[CLKH] type [{clh] 7B636C68 len [ 8] attr [D0] -> 0000708000011940
[CLKT] type [ui32] 75693332 len [ 4] attr [D0] -> 0000DB90
[CLWK] type [ui16] 75693136 len [ 2] attr [D0] -> FFFF
[CRCA] type [ui32] 75693332 len [ 4] attr [80] -> 10381F50
[CRCB] type [ui32] 75693332 len [ 4] attr [80] -> D902103A
[CRCC] type [ui32] 75693332 len [ 4] attr [80] -> B5B6E677
[CRCF] type [ui32] 75693332 len [ 4] attr [90] -> 06F7B0A6
[CRCK] type [ui32] 75693332 len [ 4] attr [90] -> 00000000
[CRCR] type [ui32] 75693332 len [ 4] attr [80] -> 904DCF86
[CRCU] type [ui32] 75693332 len [ 4] attr [80] -> 2AB5E66C
[CRCa] type [ui32] 75693332 len [ 4] attr [90] -> 10381F50
[CRCb] type [ui32] 75693332 len [ 4] attr [90] -> D902103A
[CRCc] type [ui32] 75693332 len [ 4] attr [90] -> B5B6E677
[CRCr] type [ui32] 75693332 len [ 4] attr [90] -> 904DCF86
[CRCu] type [ui32] 75693332 len [ 4] attr [90] -> 2AB5E66C
[DPLM] type [{lim] 7B6C696D len [ 5] attr [51] -> NOT READABLE, code 85
[DUSR] type [ui8 ] 75693820 len [ 1] attr [40] -> NOT READABLE, code 85
[EFBM] type [ui8 ] 75693820 len [ 1] attr [C0] -> 00
[EFBP] type [ui8 ] 75693820 len [ 1] attr [C0] -> 00
[EFBS] type [ui8 ] 75693820 len [ 1] attr [D0] -> 0D
[EPCI] type [ui32] 75693332 len [ 4] attr [80] -> 0810F000
[EVCT] type [hex_] 6865785F len [ 2] attr [D0] -> 0000
[EVHF] type [ch8*] 6368382A len [28] attr [90] -> 00000000000000000000000000000000000000000000000000000000
[EVRD] type [ch8*] 6368382A len [32] attr [90] -> 0000000000000000000000000000000000000000000000000000000000000000
[FAC0] type [ui8 ] 75693820 len [ 1] attr [C0] -> 00
[FNum] type [ui8 ] 75693820 len [ 1] attr [80] -> 00
[HBKP] type [ch8*] 6368382A len [32] attr [C0] -> 0000000000000000000000000000000000000000000000000000000000000000
[LDKN] type [ui8 ] 75693820 len [ 1] attr [80] -> 02
[LDLG] type [ch8*] 6368382A len [ 1] attr [50] -> NOT READABLE, code 85
[LDSP] type [flag] 666C6167 len [ 1] attr [40] -> NOT READABLE, code 85
[LsNM] type [ui8 ] 75693820 len [ 1] attr [80] -> 00
[MSDW] type [flag] 666C6167 len [ 1] attr [50] -> NOT READABLE, code 85
[MSFW] type [flag] 666C6167 len [ 1] attr [C0] -> 00
[MSPC] type [ui8 ] 75693820 len [ 1] attr [D0] -> 19
[MSPP] type [ui8 ] 75693820 len [ 1] attr [80] -> 00
[MSPR] type [ui8 ] 75693820 len [ 2] attr [80] -> 0001
[MSPS] type [hex_] 6865785F len [ 2] attr [80] -> 0004
[MSQC] type [ui8 ] 75693820 len [ 1] attr [80] -> 00
[MSSD] type [si8 ] 73693820 len [ 1] attr [D0] -> 05
[MSSP] type [si8 ] 73693820 len [ 1] attr [C0] -> 05
[MSSW] type [flag] 666C6167 len [ 1] attr [C0] -> 00
[MSTc] type [ui8 ] 75693820 len [ 1] attr [80] -> 00
[MSTe] type [ui8 ] 75693820 len [ 1] attr [80] -> 00
[MSTf] type [ui8 ] 75693820 len [ 1] attr [80] -> 00
[MSTi] type [ui8 ] 75693820 len [ 1] attr [80] -> 00
[MSTj] type [ui8 ] 75693820 len [ 1] attr [80] -> 00
[MSTm] type [ui8 ] 75693820 len [ 1] attr [80] -> 00
[MSWr] type [ui8 ] 75693820 len [ 1] attr [80] -> 00
[NATJ] type [ui8 ] 75693820 len [ 1] attr [C0] -> 00
[NATi] type [ui16] 75693136 len [ 2] attr [C0] -> 0000
[NTOK] type [ui8 ] 75693820 len [ 1] attr [50] -> NOT READABLE, code 85
[OSWD] type [ui16] 75693136 len [ 2] attr [C0] -> 0012
[RBr ] type [ch8*] 6368382A len [ 8] attr [80] -> 6A39300031330000
[REV ] type [{rev] 7B726576 len [ 6] attr [90] -> 02200F000018
[RGEN] type [ui8 ] 75693820 len [ 1] attr [80] -> 02
[RMAC] type [ch8*] 6368382A len [ 6] attr [C4] -> F0ADABB20928
[RMSN] type [ch8*] 6368382A len [17] attr [C4] -> 46354B3534313130345158463530335545
[RMde] type [char] 63686172 len [ 1] attr [80] -> 41
[RPlt] type [ch8*] 6368382A len [ 8] attr [80] -> 6A39300000000000
[RSSN] type [ch8*] 6368382A len [16] attr [C4] -> 46354B4D583230364639564D00000000
[RVBF] type [{rev] 7B726576 len [ 6] attr [90] -> 02280F000007
[RVCR] type [{rev] 7B726576 len [ 6] attr [90] -> FFFFFFFFFFFF
[RVUF] type [{rev] 7B726576 len [ 6] attr [90] -> 02280F000007
[WKTP] type [ui8 ] 75693820 len [ 1] attr [D0] -> 00
[AL! ] type [ui16] 75693136 len [ 2] attr [C0] -> 0000
[ALI0] type [{ali] 7B616C69 len [ 4] attr [80] -> 07010600
[ALI1] type [{ali] 7B616C69 len [ 4] attr [80] -> 00000000
[ALRV] type [ui16] 75693136 len [ 2] attr [80] -> 0001
[ALV0] type [{alv] 7B616C76 len [10] attr [C0] -> 0101000A000000028000
[ALV1] type [{alv] 7B616C76 len [10] attr [C0] -> 00010000000000000000
[LKSB] type [{lkb] 7B6C6B62 len [ 2] attr [C0] -> A0E0
[LKSS] type [{lks] 7B6C6B73 len [ 2] attr [C0] -> 0001
[MSLD] type [ui8 ] 75693820 len [ 1] attr [80] -> 00
[PC0C] type [sp96] 73703936 len [ 2] attr [80] -> 0298
[PC0R] type [sp96] 73703936 len [ 2] attr [80] -> 0298
[PC3C] type [flt ] 666C7420 len [ 4] attr [80] -> 39E70C41
[PCAM] type [flt ] 666C7420 len [ 4] attr [80] -> F3372641
[PCEC] type [flt ] 666C7420 len [ 4] attr [80] -> 39E70C41
[PCPC] type [sp96] 73703936 len [ 2] attr [80] -> 0298
[PCPR] type [sp96] 73703936 len [ 2] attr [80] -> 0771
[PCPT] type [sp96] 73703936 len [ 2] attr [80] -> 0771
[PCTR] type [sp96] 73703936 len [ 2] attr [80] -> 0771
[TC0C] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC0D] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC0E] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC0F] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC0G] type [sp78] 73703738 len [ 2] attr [80] -> 0000
[TC0H] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC0J] type [sp78] 73703738 len [ 2] attr [80] -> 0000
[TC0P] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC0c] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC0p] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC1C] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC1D] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC1E] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC1F] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC1G] type [sp78] 73703738 len [ 2] attr [80] -> 0000
[TC1H] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC1J] type [sp78] 73703738 len [ 2] attr [80] -> 0000
[TC1P] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC1c] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC1p] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC2C] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC2c] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC3C] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC3c] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC4C] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC4c] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC5C] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC5c] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC6C] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC6c] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC7C] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC7c] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC8C] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC8c] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC9C] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TC9c] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TCAC] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TCAc] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TCBC] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[TCBc] type [sp78] 73703738 len [ 2] attr [80] -> 2800
[VC0C] type [sp3c] 73703363 len [ 2] attr [80] -> 0D5E
[VC1C] type [sp3c] 73703363 len [ 2] attr [80] -> 0D35

Hidden keys (?):
[____] type [flag] 666C6167 len [ 1] attr [80] -> 01
[OSK0] type [ch8*] 6368382A len [32] attr [90] -> 6F757268617264776F726B62797468657365776F72647367756172646564706C
[OSK1] type [ch8*] 6368382A len [32] attr [90] -> 65617365646F6E74737465616C2863294170706C65436F6D7075746572496E63
[KPPW] type [ch8*] 6368382A len [32] attr [50] -> NOT READABLE
[KPST] type [ui8 ] 75693820 len [ 1] attr [80] -> 00


WMs-Mac-Pro:~ wm$ kextstat | grep -v apple 
Index Refs Address            Size       Wired      Name (Version) UUID <Linked Against>
   36    0 0xffffff7f834a1000 0x4000     0x4000     com.rehabman.driver.USBInjectAll (0.5.14) 1B366826-5657-354C-9618-E69EFDB01D41 <12 11 4 3>
   37    6 0xffffff7f834a6000 0x21000    0x21000    as.vit9696.Lilu (1.2.7) 4EA74271-18D4-38CC-AAD2-03F2875BCF14 <7 5 4 3 2 1>
   38    0 0xffffff7f834c7000 0x60000    0x60000    as.vit9696.WhateverGreen (1.2.2) 03CB6B14-08F7-3836-90EF-99449B613893 <37 12 7 5 4 3 2 1>
   39    0 0xffffff7f83527000 0xd3000    0xd3000    as.vit9696.AppleALC (1.3.2) 42E1908A-664A-3B2C-903A-070129B0F27A <37 12 7 5 4 3 2 1>
   40    2 0xffffff7f835fa000 0x11000    0x11000    as.vit9696.VirtualSMC (1.0.0) 1CA8E67C-B462-3669-8073-3BDAD9C0C377 <37 11 7 5 4 3 2 1>
   41    0 0xffffff7f8360b000 0x3000     0x3000     ru.usrsse2.SMCLightSensor (1) C6DFA8BB-91DC-3EC6-A589-62072373D46C <40 37 11 7 5 4 3 2 1>
   42    0 0xffffff7f8360f000 0x4000     0x4000     as.lvs1974.HibernationFixup (1.2.3) 67C31FBF-C503-3F5F-B5E1-2B75B2A5DBDA <37 7 5 4 3 2 1>
   43    0 0xffffff7f83613000 0x5000     0x5000     as.vit9696.SMCProcessor (1.0.0) 798573D8-3C54-3874-8193-775407DA0AA3 <40 37 11 7 5 4 3 2 1>
   49    0 0xffffff7f83618000 0x2000     0x2000     org.voodoo.driver.VoodooTSCSync (1.1) 0547D0AD-C9FE-3D5A-9CD7-6B90E6BC0335 <7 4 3>
   64    0 0xffffff7f8134e000 0x17b000   0x17b000   at.obdev.nke.LittleSnitch (5094) 8C6CB9D1-CC0A-3342-9FD5-7D5680E7ECC6 <7 5 4 3 1>
   75    0 0xffffff7f8361a000 0x18000    0x18000    com.insanelymac.driver.AppleIntelE1000e (3.3.5) 9D1E2775-F6C2-A585-E806-42F3A5527FFC <15 12 5 4 3 1>
  100    0 0xffffff7f81826000 0x3000     0x3000     com.nvidia.NVDAStartupWeb (10.3.3) 4F3B6943-C73B-378C-9EA7-D36569B4B6D3 <12 4 3>
  118    0 0xffffff7f81347000 0x4000     0x4000     com.intel.driver.EnergyDriver (2.0) 7FE9AF4A-A8C2-3099-A956-971DDC86A467 <7 5 4 3>
  136    2 0xffffff7f80b91000 0x679000   0x679000   com.nvidia.web.NVDAResmanWeb (10.3.3) 37FC338B-1C2C-3C37-8DAD-576DB29CC7F4 <119 103 92 12 7 5 4 3 1>
  137    0 0xffffff7f81926000 0x15e000   0x15e000   com.nvidia.web.NVDAGK100HalWeb (10.3.3) 8839B076-B7DE-3CF3-A02D-9BA3B751A1F6 <136 12 4 3>
  139    0 0xffffff7f8171f000 0xa8000    0xa8000    com.nvidia.web.GeForceWeb (10.3.3) 5A3D0480-1765-38CD-A966-F045C9E35371 <138 136 103 92 12 7 5 4 3 1>
  149    0 0xffffff7f81823000 0x2000     0x2000     com.nvidia.CUDA (1.1.0) E13478CB-B251-3C0A-86E9-A6B56F528FE8 <4 1>
  150    0 0xffffff7f822a2000 0x3000     0x3000     com.paceap.kext.pacesupport.snowleopard (5.9.1) 25206F6A-6BC3-E93C-C31E-371502C8CE8E <7 5 4 3 1>


2018-09-20 15:26:33.572652-0400 0x15f      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:   efend @ no extra rtc memory is present for key erase

2018-09-20 15:26:40.825320-0400 0x5ac      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [QENA] not found for info

2018-09-20 15:26:40.942761-0400 0x376      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [QCLV] not found for info
2018-09-20 15:26:40.952315-0400 0x376      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [MTLV] not found for info
2018-09-20 15:26:40.952939-0400 0x376      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [DICT] not found for info

2018-09-20 15:26:40.957432-0400 0x616      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [HE0N] not found for writing

                                                                                        kernel: (kernel) VirtualSMC:  kstore @ key [F0Ac] not found for info
2018-09-20 15:27:05.711836-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [PG0R] not found for info
2018-09-20 15:27:05.721405-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [PG1R] not found for info
2018-09-20 15:27:05.730735-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [PH0R] not found for info
2018-09-20 15:27:05.739725-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [PMTR] not found for info
2018-09-20 15:27:05.754748-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [PSTR] not found for info
2018-09-20 15:27:05.769205-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [PZ0E] not found for info
2018-09-20 15:27:05.783562-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [PZ0F] not found for info
2018-09-20 15:27:05.797702-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [PZ1E] not found for info
2018-09-20 15:27:05.811464-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [PZ1F] not found for info
2018-09-20 15:27:05.825011-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [PZ2E] not found for info
2018-09-20 15:27:05.838341-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [PZ2F] not found for info
2018-09-20 15:27:05.851538-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [PZ3E] not found for info
2018-09-20 15:27:05.864704-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [PZ3F] not found for info
2018-09-20 15:27:05.877380-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [PZ4E] not found for info
2018-09-20 15:27:05.889644-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [PZ4F] not found for info
2018-09-20 15:27:05.901653-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [PZ5E] not found for info
2018-09-20 15:27:05.913483-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [PZ5F] not found for info
2018-09-20 15:27:05.925035-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [MSAc] not found for info
2018-09-20 15:27:05.936641-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [MSAf] not found for info
2018-09-20 15:27:05.948232-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [MSAg] not found for info
2018-09-20 15:27:05.959572-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [MSAi] not found for info
2018-09-20 15:27:05.970666-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [MSPA] not found for info
2018-09-20 15:27:05.981504-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [MSGA] not found for info
2018-09-20 15:27:05.992065-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [WIr0] not found for info
2018-09-20 15:27:06.002520-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [WIw0] not found for info
2018-09-20 15:27:06.012967-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [WIz0] not found for info
2018-09-20 15:27:06.023426-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [SBFL] not found for info
2018-09-20 15:27:06.033867-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [TA0V] not found for info
2018-09-20 15:27:06.044328-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [TCXc] not found for info
2018-09-20 15:27:06.054513-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [Te0T] not found for info
2018-09-20 15:27:06.064707-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [TG0F] not found for info
2018-09-20 15:27:06.074914-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [TG0R] not found for info
2018-09-20 15:27:06.085083-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [TG1F] not found for info
2018-09-20 15:27:06.095309-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [TG1R] not found for info
2018-09-20 15:27:06.105536-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [TH0A] not found for info
2018-09-20 15:27:06.115773-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [TH0C] not found for info
2018-09-20 15:27:06.126029-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [TH0F] not found for info
2018-09-20 15:27:06.136236-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [TM0V] not found for info
2018-09-20 15:27:06.146533-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [TS0V] not found for info
2018-09-20 15:27:06.152820-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [Tp0F] not found for info
2018-09-20 15:27:06.158986-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [DM0P] not found for info
2018-09-20 15:27:06.165124-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [DM0S] not found for info
2018-09-20 15:27:06.171387-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [DM0T] not found for info
2018-09-20 15:27:06.181841-0400 0x37a      Default     0x0                  0      0    kernel: (kernel) VirtualSMC:  kstore @ key [DICT] not found for info

 

 A.png.2ea820c6081a3254d030369ce1249090.pngB.png.8286187de4044a4e528cc1e936d81a0c.png

Edited by THEHAWKs
Link to comment
Share on other sites

I have changed to using the VirtualSMC.kext and the istar program with the three SMCBatteryManager.kext SMCLightSensor.kext and SMCProcessor.kext plugins and I have noticed that the only ones that do not appear are the fans (3)

Edited by Allan
Why codebox??
Link to comment
Share on other sites

@vit9696 I've discovered a design flaw in VirtualSMC. It's in method VirtualSMCKeystore::writeValueByName

 

The value is updated only when writeAccess return SmcSuccess, and the new value is not sent to writeAccess at all. However, there are cases when the plugin needs to check the new value before accepting it.

 

There are two ways to solve this:

1. Store old value, update new value, call writeAccess and check if it returns SmcSuccess. If it doesn't, restore the old value.

2. Send the new value as a parameter in writeAccess

 

Looking forward to your reply.

 

Edit: Just submitted a pull request for option two, which I think is better

Edited by baohiep
  • Thanks 1
Link to comment
Share on other sites

Noob question to devs:

I follow the commits of that sources with interest. 

Question: My smbios mac modell iMac13,2 was uploaded as new (commit) dump file and now there is an .txt in source.

Are that .text dumps used for compling or change the kext? I ask because the release build of kext is much older as the new imac13,2.txt dump today.

 

Link to comment
Share on other sites

6 minutes ago, telepati said:

Just wondering; can we make a USB installer with VirtualSMC right? We don't need to use FakeSMC?

 

 

 

 

I think you're right. VirtualSMC replace FakeSMC on macOS Installed system,  so he do the same for USB. I think.

Edited by Matgen84
  • Thanks 1
Link to comment
Share on other sites

1 hour ago, Matgen84 said:

 

I think you're right. VirtualSMC replace FakeSMC on macOS Installed system,  so he do the same for USB. I think.

 

Thank you. I am using VirtualSMC, but I never tried in installer USB. Good to know I will create a new USB installer tonight after apple release official Mojave :wink_anim:

Edited by telepati
Link to comment
Share on other sites

4 hours ago, mitch_de said:

Noob question to devs:

I follow the commits of that sources with interest. 

Question: My smbios mac modell iMac13,2 was uploaded as new (commit) dump file and now there is an .txt in source.

Are that .text dumps used for compling or change the kext? I ask because the release build of kext is much older as the new imac13,2.txt dump today.

 

 

No.

Dumps are necessary to developers as the help information.

Edited by Andrey1970
Link to comment
Share on other sites

16 minutes ago, bronxteck said:

Hi Deepak if your not using file vault to boot remove virtualsmc.efi from clover drivers. for me it triggers my bios's secureboot. just use the kext. see if that improves your boot times.

 

is it affecting the boot time?

Link to comment
Share on other sites

all hacks are different. in my case the efi driver triggers my secureboot which does not let me boot at all until  i go into bios and set secure boot off every time i cold boot somehow it enables it on it's own. but thats just my hacks case. on other machines sometimes it slows down boot times as it initializes in efi.

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

2 hours ago, bronxteck said:

all hacks are different. in my case the efi driver triggers my secureboot which does not let me boot at all until  i go into bios and set secure boot off every time i cold boot somehow it enables it on it's own. but thats just my hacks case. on other machines sometimes it slows down boot times as it initializes in efi.

 

Thanks. I try, lets see what will happen in my hack :D 

Link to comment
Share on other sites

9 hours ago, bronxteck said:

all hacks are different. in my case the efi driver triggers my secureboot which does not let me boot at all until  i go into bios and set secure boot off every time i cold boot somehow it enables it on it's own. but thats just my hacks case. on other machines sometimes it slows down boot times as it initializes in efi.

i see , thanks , it looks i need to make changes there 

9 hours ago, telepati said:

 

is it affecting the boot time?

yes, it take more time than fakesmc and verbose is flood with unusual logs

Link to comment
Share on other sites

×
×
  • Create New...