Jump to content
vit9696

VirtualSMC — SMC Emulator

509 posts in this topic

Recommended Posts

Advertisement
On 10/1/2015 at 7:33 PM, spakk said:

thx!

My first impression is very positive.  :)
the new revised version makes editing of dsdt very easy, thanks for these great version. if you could create a package for AMD boards, then that would be great!  :thumbsup_anim:

 

tested and working with VirtualSMC my first impression without apparent problems here.
Thank you 

Share this post


Link to post
Share on other sites

Are model and serial number still read from the same values in Clover config.plist with VirtualSMC? Meaning, external factors aside, I should be able to swap FakeSMC with VirtualSMC and not break iMessage etc?

Share this post


Link to post
Share on other sites
23 minutes ago, scj312 said:

Are model and serial number still read from the same values in Clover config.plist with VirtualSMC? Meaning, external factors aside, I should be able to swap FakeSMC with VirtualSMC and not break iMessage etc?

Messages works because of working nvram, not FakeSMC or VirtualSMC.

Share this post


Link to post
Share on other sites

Got this errormessage when trying to compile in Mojave beta 9. 

Any ideas?

 

 

Screenshot 2018-08-31 at 20.42.20.png

Edited by obus

Share this post


Link to post
Share on other sites
2 minutes ago, obus said:

Got this errormessage when trying to compile in Mojave beta 9. 

Any ideas?

 

 

Screenshot 2018-08-31 at 20.42.20.png

You need to run the mactools script manually first then open the project with Xcode and compile after.

Share this post


Link to post
Share on other sites

@Pavo excuse my ignorance I'm a complete noob so please give me some guidance!:wub:

Edited by obus

Share this post


Link to post
Share on other sites

I'm uploading the kexts here in case if you have trouble building it yourself. Here you go:

 

VirtualSMC + Lilu.zip

 

Thanks again to @vit9696 for his awesome work. 

Edited by JennyDavid

Share this post


Link to post
Share on other sites

I'm a bit confused - what does the SMC Dumps do in practise and what is the consequences of running VirtualSMC with a missing SMC dump?

 

For example - I've set my Hack up as a iMac18,2 (which hasn't been added to VirtualSMC yet). What is the difference between running VirtualSMC without a compatible SMC dump or with a compatible dump?

Share this post


Link to post
Share on other sites
1 hour ago, vit9696 said:

SMC dumps have nothing to do to VirtualSMC functioning. Thy are mainly reference material to the research to help us make improvements of the emulated keys. Obviously, only real macs are of interest.

I really appreciate your work. Luckily, I have a MBP(14,2) and I am willing to provide my SMC dump file. I am a new beginner and is there a guide about dumping the SMC file? Thank you.

Share this post


Link to post
Share on other sites

Thanks for the development of VirtualSMC. Works great with me. :thumbsup_anim:

 

I have only one question too SMCLightSensor.kext. LightSensor works with this kext. But I do not understand how to activate the LightSensor.

It can activate the LightSensor by using BetterTouchTool > "Toggle Night Shift". But this ist the only way which I found.

 

Does anyone have an idea how to activate LightSensor without BTT?

 

2024929103_Screenshot_2018-09-0112_24.47_w08us6.thumb.jpg.8f8e8082373636660a20f609864588ca.jpg

Share this post


Link to post
Share on other sites

Yes, I realize that. 

My problem is that the command over BTT is the only way which activates auto-brightness on my Laptop.

When I use this command from BTT, the screen changes to Night Shift and auto-brightness work. Why I do not understand because unfortunately I do not know the command behind BTT.

So I wanted to ask how to activate auto-brightness normally.

Share this post


Link to post
Share on other sites

After the verbose boot has done (took 1:15 minutes), it stays in the Apple logo about 45 seconds and then the login screen appears. What's the reason behind this?

 

macOS 10.13.6 (17G65)
Public keys (117):
[#KEY] type [ui32] 75693332 len [ 4] attr [80] -> 00000075
[$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] -> 01
[CLKH] type [{clh] 7B636C68 len [ 8] attr [D0] -> 0000708000011940
[CLKT] type [ui32] 75693332 len [ 4] attr [D0] -> 00000E7F
[CLWK] type [ui16] 75693136 len [ 2] attr [D0] -> FFFF
[CRCA] type [ui32] 75693332 len [ 4] attr [80] -> 2EFA2170
[CRCB] type [ui32] 75693332 len [ 4] attr [80] -> 6DEB90B5
[CRCC] type [ui32] 75693332 len [ 4] attr [80] -> 5087C7AE
[CRCF] type [ui32] 75693332 len [ 4] attr [90] -> AA882464
[CRCK] type [ui32] 75693332 len [ 4] attr [90] -> 00000000
[CRCR] type [ui32] 75693332 len [ 4] attr [80] -> EAB76535
[CRCU] type [ui32] 75693332 len [ 4] attr [80] -> E476C090
[CRCa] type [ui32] 75693332 len [ 4] attr [90] -> 2EFA2170
[CRCb] type [ui32] 75693332 len [ 4] attr [90] -> 6DEB90B5
[CRCc] type [ui32] 75693332 len [ 4] attr [90] -> 5087C7AE
[CRCr] type [ui32] 75693332 len [ 4] attr [90] -> EAB76535
[CRCu] type [ui32] 75693332 len [ 4] attr [90] -> E476C090
[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] -> 0014
[RBr ] type [ch8*] 6368382A len [ 8] attr [80] -> 323031376D627000
[REV ] type [{rev] 7B726576 len [ 6] attr [90] -> 02430F000006
[RGEN] type [ui8 ] 75693820 len [ 1] attr [80] -> 02
[RMAC] type [ch8*] 6368382A len [ 6] attr [C4] -> B4C04F424732
[RMSN] type [ch8*] 6368382A len [17] attr [C4] -> 4330323134303330324435444D5433314D
[RMde] type [char] 63686172 len [ 1] attr [80] -> 41
[RPlt] type [ch8*] 6368382A len [ 8] attr [80] -> 6A31333061000000
[RSSN] type [ch8*] 6368382A len [16] attr [C4] -> 433032544E4841434856323900000000
[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
[ACEN] type [ui8 ] 75693820 len [ 1] attr [80] -> 01
[ACFP] type [flag] 666C6167 len [ 1] attr [80] -> 01
[ACID] type [ch8*] 6368382A len [ 8] attr [80] -> BABE3C45C0031043
[ACIN] type [flag] 666C6167 len [ 1] attr [80] -> 01
[B0AC] type [si16] 73693136 len [ 2] attr [C1] -> 0001
[B0AV] type [ui16] 75693136 len [ 2] attr [80] -> 31CC
[B0BI] type [ui8 ] 75693820 len [ 1] attr [80] -> 01
[B0CT] type [ui8 ] 75693820 len [ 1] attr [C1] -> 01
[B0FC] type [ui16] 75693136 len [ 2] attr [C1] -> 086B
[B0PS] type [hex_] 6865785F len [ 4] attr [C1] -> 00000000
[B0RM] type [ui16] 75693136 len [ 2] attr [C1] -> 086B
[B0St] type [hex_] 6865785F len [ 4] attr [C1] -> 40A00000
[B0TF] type [ui16] 75693136 len [ 2] attr [80] -> FFFF
[BBAD] type [flag] 666C6167 len [ 1] attr [80] -> 00
[BBIN] type [flag] 666C6167 len [ 1] attr [80] -> 01
[BFCL] type [ui8 ] 75693820 len [ 1] attr [C0] -> 64
[BNum] type [ui8 ] 75693820 len [ 1] attr [80] -> 01
[BRSC] type [ui16] 75693136 len [ 2] attr [C1] -> 0064
[BSIn] type [ui8 ] 75693820 len [ 1] attr [80] -> 42
[CHLC] type [ui8 ] 75693820 len [ 1] attr [80] -> 01
[PC0C] type [sp96] 73703936 len [ 2] attr [80] -> 0056
[PC0G] type [sp96] 73703936 len [ 2] attr [80] -> 0002
[PC0R] type [sp96] 73703936 len [ 2] attr [80] -> 0056
[PC3C] type [flt ] 666C7420 len [ 4] attr [80] -> 6837253F
[PCAM] type [flt ] 666C7420 len [ 4] attr [80] -> B69FAD3F
[PCEC] type [flt ] 666C7420 len [ 4] attr [80] -> 6837253F
[PCGC] type [flt ] 666C7420 len [ 4] attr [80] -> 39C5053D
[PCGM] type [flt ] 666C7420 len [ 4] attr [80] -> 39C5053D
[PCPC] type [sp96] 73703936 len [ 2] attr [80] -> 0056
[PCPG] type [sp96] 73703936 len [ 2] attr [80] -> 0002
[PCPR] type [sp96] 73703936 len [ 2] attr [80] -> 00A7
[PCPT] type [sp96] 73703936 len [ 2] attr [80] -> 00A7
[PCTR] type [sp96] 73703936 len [ 2] attr [80] -> 00A7
[TC0C] type [sp78] 73703738 len [ 2] attr [80] -> 3400
[TC0D] type [sp78] 73703738 len [ 2] attr [80] -> 3600
[TC0E] type [sp78] 73703738 len [ 2] attr [80] -> 3600
[TC0F] type [sp78] 73703738 len [ 2] attr [80] -> 3600
[TC0G] type [sp78] 73703738 len [ 2] attr [80] -> 0000
[TC0H] type [sp78] 73703738 len [ 2] attr [80] -> 3600
[TC0J] type [sp78] 73703738 len [ 2] attr [80] -> 0000
[TC0P] type [sp78] 73703738 len [ 2] attr [80] -> 3600
[TC0c] type [sp78] 73703738 len [ 2] attr [80] -> 3400
[TC0p] type [sp78] 73703738 len [ 2] attr [80] -> 3600
[TC1C] type [sp78] 73703738 len [ 2] attr [80] -> 3600
[TC1c] type [sp78] 73703738 len [ 2] attr [80] -> 3600
[TC2C] type [sp78] 73703738 len [ 2] attr [80] -> 3400
[TC2c] type [sp78] 73703738 len [ 2] attr [80] -> 3400
[VC0C] type [sp3c] 73703363 len [ 2] attr [80] -> 0EEB

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

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×