Closed mircoianese closed 7 years ago
@ZombieTheBest I am no sure if it's related to deep-sleep patch, but you can try to disable this patch to see if it fix your audio issue. Search this line in deploy.sh
_tidy_exec "patch_acpi DSDT syscl "system_deep_idle"" "Added deep sleep and deep idle properties"
then change it to
#_tidy_exec "patch_acpi DSDT syscl "system_deep_idle"" "Added deep sleep and deep idle properties"
Save and re run again.
But, I double this won't work because I've experienced the same issue long time ago, I know how to fix it, but I haven't had a lot of time at this stage.
syscl
@syscl Did what u told and then problem was solved! After that I tried to flash latest Deploy without that comment and now it's working... I guess that the problem wasn't caused by "system_deep_idle" so it must be something else... now it works again 👍
And if I may ask, what deep-sleep patch does?
@ZombieTheBest Actually, I don't see any effect of deep-sleep patch as well. But this properties are what macOS looking for, thus I inject it as Pike R. Alpha's suggestion.
The major problem is that sleep may cause data corruption(need people tell if this issue solve or not).
Till now, I am very happy that you haven't experienced any of this issue.
Try the latest deploy.sh, it will give you a very great power management(because I tuned with X86PlatformPlugin). Please give me feedback after trying the latest deploy(CPU temperature, battery life, etc...)
Thank you, syscl
@syscl Gonna try it now and tomorrow I will report! 👍 Till now I got no sleep issues on my NVMe disk. I got some data corruption only after FULL HIBERNATION (which btw failed cause clover couldn't recognise sleep image), so I think that sleep may not be an issue :)
I performed a full disk backup, if you have something to test just tell me, not afraid to restore everything and start over ;)
Thank you, I will let u know about latest patch! :D
Thank you! I am really appreciate your feedback!
Have a nice day, syscl
Hi @syscl Latest Deploy script broke Sleep on my laptop. It shuts down but the power button light stays on, and I need to force a reboot. This happens both when closing the lid and when using the "Stop" option. I already tried to dump all ACPI tables and run the script again. Beside that, at my first impression PM is AWESOME and I think is working very very well, I will give you better numbers on battery/temps/watts soon. Meanwhile, what's going on with my sleep? D: My config.plist file is just like your's with minor changes (still using MacBook Pro 13,2). Remember that my CPU is i7-6600U. Thank you!
This is pmset -g
output (I didn't had standby
and standbydelay
options this morning, so I guess PM is working fine now!):
Mircos-MacBook:~ mirco$ pmset -g
System-wide power settings:
Currently in use:
standbydelay 4200
standby 1
halfdim 1
hibernatefile /var/vm/sleepimage
powernap 0
gpuswitch 2
disksleep 10
sleep 1
autopoweroffdelay 28800
hibernatemode 0
autopoweroff 1
ttyskeepawake 1
displaysleep 2
lidwake 1
Here's the Deploy
output, everything seems ok (need the -d one?):
Mircos-MacBook:XPS9350-macOS-master mirco$ sudo ./Deploy.sh
Password:
[ ---> ] Updating files from https://github.com/syscl/XPS9350-macOS...
fatal: Not a git repository (or any of the parent directories): .git
[ Note ] Your laptop is non-Iris version(i7-6600U).
[ OK ] Pre stage cleanup.
[ OK ] Create ./DSDT.
[ OK ] Create ./DSDT/prepare.
[ OK ] Create ./DSDT/precompile.
[ OK ] Create ./DSDT/compile.
/dev/disk0 (internal):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 256.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage MacOS 255.2 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: MacOS +254.8 GB disk1
Logical Volume on disk0s2
C4C4B0F0-A5B7-43D0-AB75-49F2E98A1B23
Unencrypted
Enter EFI's IDENTIFIER, e.g. disk0s1: disk0s1
[ OK ] Mount disk0s1.
[ OK ] Copy untouch ACPI tables.
Available touchpad kext:
[ 1 ] ApplePS2SmartTouchPad
[ 2 ] VoodooPS2Controller
Please choose the desired touchpad kext (1 or 2): 2
[ Note ] Use VoodooPS2Controller.
[ ---> ] Disassembling tables...
[ OK ] Disassemble DSDT.
[ OK ] Disassemble FACP.
[ OK ] Search specification tables by syscl/Yating Zhou.
[ ---> ] Patching DSDT.dsl
[ OK ] _DSM->XDSM.
[ OK ] Fix word field length Dword->Qword credit syscl.
[ OK ] OS Check Fix.
[ OK ] Fix brightness keys(F11/F12).
[ OK ] HDAS->HDEF.
[ OK ] Inject Audio Info.
[ OK ] Rename GFX0 to IGPU.
[ OK ] Inject USBX and PNLF credit syscl.
[ OK ] Fix USB _PRW.
[ OK ] IRQ Fix.
[ OK ] SMBus Fix.
[ OK ] AC Adapter Fix.
[ OK ] Add MCHC.
[ OK ] Fix _WAK Arg0 v2.
[ OK ] Add IMEI.
[ OK ] Fix Non-zero Mutex.
[ OK ] Fix MDBG Error credit x4080, syscl.
[ OK ] PPMC and PMCR combine together credit syscl.
[ OK ] Insert DMAC(PNP0200).
[ OK ] Make Device(MATH) load correctly in macOS.
[ OK ] SBTN->SLPB with correct _STA 0x0B.
[ OK ] iGPU TPMX to MEM2.
[ OK ] IMTR->TIMR, _T_x->T_x.
[ OK ] PXSX2ARPT with _PWR fix.
[ OK ] Remove WMI(PNP0C14).
[ OK ] Inject SSD device property credit syscl.
[ OK ] Declare GTF0 method object credit syscl.
[ OK ] Inject NVMe power management properties credit Pike R. Alpha, syscl.
[ OK ] Remove _PWR, _PSW in PWRB(PNP0C0C).
[ OK ] Inject reg-ltrovr for IOPCIFamily::setLatencyTolerance setting ltrOffset for PCI devices successfully (c) syscl.
[ OK ] Fix shutdown become reboot issue.
[ OK ] Added deep sleep and deep idle properties.
[ OK ] Remove DSDT backup.
[ ---> ] Patching SSDT-14.dsl
[ OK ] Rename GFX0 to IGPU.
[ ---> ] Patching SSDT-5.dsl
[ OK ] _DSM->XDSM.
[ OK ] Rename GFX0 to IGPU.
[ OK ] _DSM->XDSM.
[ OK ] Fix PARSEOP_IF error credit syscl.
[ ---> ] Fixing reboot issue
[ OK ] Fix reboot issue credit syscl.
[ ---> ] Copying tables to precompile...
[ OK ] Copy tables to precompile.
[ ---> ] Copying untouched tables to ./DSDT/compile...
[ OK ] Copy untouched tables to ./DSDT/compile.
[ ---> ] Compiling tables...
[ OK ] Compiling DSDT.
[ OK ] Compile DptfTa.
[ OK ] Compile SaSsdt.
[ OK ] Compile sensrhub.
[ ---> ] Copying SSDT-rmne.aml to ./DSDT/compile...
[ OK ] Copy SSDT-rmne.aml to ./DSDT/compile.
[ OK ] Install SSDT-pr for writing plugin-type to registry.
[ OK ] Install X86PlatformPluginInjector (c) syscl.
[ ---> ] Installing SSDT-XPS13SKL.aml to ./DSDT/compile...
[ OK ] Install SsdtS3 table.
[ ---> ] Installing SSDT-ARPT-RP05.aml to ./DSDT/compile...
[ OK ] Install ARPT table.
[ OK ] Clean dynamic SSDTs.
[ OK ] Drop SSDT-3.
[ OK ] Drop SSDT-6.
[ OK ] Create /Volumes/EFI/EFI/CLOVER/ACPI/patched.
[ OK ] Copy tables to /Volumes/EFI/EFI/CLOVER/ACPI/patched.
[ ---> ] Updating kexts...
[ OK ] Remove pervious kexts in /Volumes/EFI/EFI/CLOVER/kexts/10.12.
[ OK ] Update kexts from ./CLOVER/kexts/10.12.
[ OK ] Update kexts from ./Kexts.
[ OK ] Install VoodooPS2Controller.
[ OK ] Remove /Volumes/EFI/EFI/CLOVER/kexts/10.12/BrcmPatchRAM2.kext.
[ OK ] Remove /System/Library/Extensions/BrcmFirmwareRepo.kext.
[ OK ] Remove /System/Library/Extensions/BrcmPatchRAM2.kext.
[ OK ] Install BrcmPatchRAM2.
[ OK ] Install BrcmFirmwareRepo.
[ ---> ] Installing audio...
[ OK ] Install audio.
[ ---> ] Unlocking maximum pixel clock...
[ OK ] Patch and sign framework.
[ OK ] Generate configuration file of sleepwatcher launch daemon.
[ OK ] Generating script to unmount external devices before sleep (c) syscl/lighting/Yating Zhou.
[ OK ] Generate script to load RTWlanUSB upon sleep.
[ ---> ] Installing external devices sleep patch...
[ OK ] Install sleepwatcher daemon.
[ OK ] Install configuration of sleepwatcher daemon.
[ OK ] Install sleep script.
[ OK ] Install wake script.
[ OK ] Fix the permissions of /etc/sysclusbfix.sleep.
[ OK ] Fix the permissions of /etc/sysclusbfix.wake.
[ OK ] Trigger startup service of syscl.usb.fix.
[ OK ] Clean up.
[ OK ] Change hibernatemode from 3 to 0.
[ OK ] Mount disk0s3.
[ OK ] Backup found. No more patch operations need.
[ ---> ] Rebuilding kernel extensions cache...
[ OK ] Rebuild kernel extensions cache.
[ Note ] Congratulations! All operation has been completed.
[ Note ] Reboot now. -syscl/lighting/Yating Zhou @PCBeta.
Here's bdmesg
output (don't know if needed):
Mircos-MacBook:~ mirco$ bdmesg
0:100 0:100 MemLog inited, TSC freq: 2808415050
0:100 0:000 MemLog was calibrated without ACPI PM Timer: ACPI I/O space is not enabled.
0:100 0:000
0:100 0:000 Now is 22.2.2017, 23:43:27 (GMT)
0:100 0:000 Starting Clover revision: 4012 on American Megatrends EFI
0:100 0:000 Build with: [Args: -D NO_GRUB_DRIVERS_EMBEDDED | -D NO_GRUB_DRIVERS_EMBEDDED -D USE_LOW_EBDA -a X64 -b RELEASE -t XCODE5 -n 5 | OS: 10.12.4 | XCODE: 8.2.1]
0:100 0:000 SelfDevicePath=PciRoot(0x0)\Pci(0x1D,0x0)\Pci(0x0,0x0)\NVMe(0x1,6B-6B-03-00-02-0D-08-00)\HD(1,GPT,235A98E5-6880-424F-AD75-0EAB6D25421A,0x28,0x64000) @76ED1498
0:100 0:000 SelfDirPath = EFI\boot
0:116 0:016 === [ Get Smbios ] ========================================
0:116 0:000 Type 16 Index = 0
0:116 0:000 Total Memory Slots Count = 2
0:116 0:000 Type 17 Index = 0
0:116 0:000 SmbiosTable.Type17->Speed = 1867MHz
0:116 0:000 SmbiosTable.Type17->Size = 4096MB
0:116 0:000 SmbiosTable.Type17->Bank/Device = BANK 0 System Board Memory
0:116 0:000 SmbiosTable.Type17->Vendor = Elpida
0:116 0:000 SmbiosTable.Type17->SerialNumber = 12161217
0:116 0:000 SmbiosTable.Type17->PartNumber = EDFA232A2MA-JD-F-R
0:116 0:000 Type 17 Index = 1
0:116 0:000 SmbiosTable.Type17->Speed = 1867MHz
0:116 0:000 SmbiosTable.Type17->Size = 4096MB
0:116 0:000 SmbiosTable.Type17->Bank/Device = BANK 1 System Board Memory
0:116 0:000 SmbiosTable.Type17->Vendor = Elpida
0:116 0:000 SmbiosTable.Type17->SerialNumber = 12121212
0:116 0:000 SmbiosTable.Type17->PartNumber = EDFA232A2MA-JD-F-R
0:116 0:000 Boot status=0
0:116 0:000 Running on: 'XPS 13 9350' with board '0N2G33'
0:116 0:000 === [ GetCPUProperties ] ==================================
0:116 0:000 CPU Vendor = 756E6547 Model=406E3
0:116 0:000 The CPU supported SSE4.1
0:116 0:000 The CPU supported turbo
0:116 0:000 BrandString = Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz
0:116 0:000 TSC/CCC Information Leaf:
0:116 0:000 numerator : 234
0:116 0:000 denominator : 2
0:116 0:000 Calibrated ARTFrequency: 24003547
0:116 0:000 MSR 0xE2 before patch 7E008006
0:116 0:000 MSR 0xE2 is locked, PM patches will be turned on
0:116 0:000 MSR 0xE4 00051814
0:116 0:000 MSR 0xCE 0004043D_F1011C00
0:116 0:000 MSR 0x1A0 00850089
0:116 0:000 non-usable FLEX_RATIO = 10000
0:116 0:000 corrected FLEX_RATIO = 0
0:116 0:000 MSR 0x1B0 00000000
0:116 0:000 FSBFrequency=92MHz DMIvalue=100000kHz
0:116 0:000 Corrected FSBFrequency=100MHz
0:116 0:000 Vendor/Model/Stepping: 0x756E6547/0x4E/0x3
0:116 0:000 Family/ExtFamily: 0x6/0x0
0:116 0:000 MaxDiv/MinDiv: 28.0/4
0:116 0:000 Turbo: 32/32/32/34
0:116 0:000 Features: 0xBFEBFBFF
0:116 0:000 Threads: 4
0:116 0:000 Cores: 2
0:116 0:000 FSB: 100 MHz
0:116 0:000 CPU: 2600 MHz
0:116 0:000 TSC: 2600 MHz
0:116 0:000 PIS: 400 MHz
0:116 0:000 === [ GetDevices ] ========================================
0:116 0:000 PCI (00|00:00.00) : 8086 1904 class=060000
0:116 0:000 PCI (00|00:02.00) : 8086 1916 class=030000
0:116 0:000 - GFX: Model=Intel HD Graphics 520 (Intel)
0:116 0:000 PCI (00|00:04.00) : 8086 1903 class=118000
0:116 0:000 PCI (00|00:14.00) : 8086 9D2F class=0C0330
0:116 0:000 PCI (00|00:14.02) : 8086 9D31 class=118000
0:116 0:000 PCI (00|00:15.00) : 8086 9D60 class=118000
0:116 0:000 PCI (00|00:15.01) : 8086 9D61 class=118000
0:116 0:000 PCI (00|00:16.00) : 8086 9D3A class=078000
0:116 0:000 PCI (00|00:16.03) : 8086 9D3D class=070002
0:116 0:000 PCI (00|00:17.00) : 8086 9D03 class=010601
0:116 0:000 PCI (00|00:1C.00) : 8086 9D10 class=060400
0:116 0:000 PCI (00|00:1D.00) : 8086 9D18 class=060400
0:116 0:000 PCI (00|3A:00.00) : 1179 010F class=010802
0:116 0:000 PCI (00|00:1F.00) : 8086 9D48 class=060100
0:116 0:000 PCI (00|00:1F.02) : 8086 9D21 class=058000
0:116 0:000 PCI (00|00:1F.03) : 8086 9D70 class=040380
0:116 0:000 PCI (00|00:1F.04) : 8086 9D23 class=0C0500
0:116 0:000 === [ GetDefaultSettings ] ================================
0:116 0:000 Clover load options size = 296 bytes
0:122 0:006 EFI\CLOVER\.plist not loaded with name from LoadOptions: Invalid Parameter
0:139 0:016 EFI\CLOVER\config.plist loaded: Success
0:139 0:000 === [ GetListOfThemes ] ===================================
0:141 0:002 - [00]: bluemac
0:153 0:012 === [ Found config plists ] ===============================
0:156 0:003 - config.plist
0:158 0:002 === [ GetEarlyUserSettings ] ==============================
0:158 0:000 timeout set to 2
0:158 0:000 Custom boot CUSTOM_BOOT_DISABLED (0x0)
0:158 0:000 KextsToPatch: 27 requested
0:158 0:000 - [00]: AppleHDA (Enable Realtek ALC256 4/5) :: BinPatch :: data len: 4
0:158 0:000 - [01]: AppleHDA (Enable Realtek ALC256 1/5) :: BinPatch :: data len: 4
0:158 0:000 - [02]: AppleHDA (Enable Realtek ALC256 2/5) :: BinPatch :: data len: 4
0:158 0:000 - [03]: AppleHDA (Enable Realtek ALC256 5/5) :: BinPatch :: data len: 4
0:158 0:000 - [04]: AppleHDA (Enable Realtek ALC256 3/5) :: BinPatch :: data len: 4
0:158 0:000 - [05]: AppleIntelSKLGraphicsFramebuffer (Enable 0x19160000 ports(0105-HDMI, 0204-HDMI, 0306-DP) credit syscl) :: BinPatch :: data len: 36
0:158 0:000 - [06]: AppleIntelSKLGraphicsFramebuffer (Enable lid wake for 0x19160000 credit syscl/lighting/Yating Zhou) :: BinPatch :: data len: 16
0:158 0:000 - [07]: AppleIntelSKLGraphicsFramebuffer (eDP, port 0000, 0x19160000 credit syscl) :: BinPatch :: data len: 20
0:158 0:000 - [08]: AppleIntelSKLGraphicsFramebuffer (Enable 0x19160000 4ports(0000, 0105, 0204, 0306) credit syscl) :: BinPatch :: data len: 16
0:158 0:000 - [09]: IOBluetoothFamily (Enable BT4LE-Handoff-Hotspot) :: BinPatch :: data len: 8
0:158 0:000 - [10]: IONVMeFamily (IONVMeFamily Pike R. Alpha Patch 16) :: BinPatch :: data len: 16
0:158 0:000 - [11]: IONVMeFamily (IONVMeFamily Pike R. Alpha Patch 17) :: BinPatch :: data len: 16
0:158 0:000 - [12]: IONVMeFamily (IONVMeFamily Pike R. Alpha Patch 15) :: BinPatch :: data len: 16
0:158 0:000 - [13]: IONVMeFamily (IONVMeFamily Pike R. Alpha Patch 08) :: BinPatch :: data len: 16
0:158 0:000 - [14]: IONVMeFamily (IONVMeFamily Pike R. Alpha Patch 04) :: BinPatch :: data len: 16
0:158 0:000 - [15]: IONVMeFamily (IONVMeFamily Pike R. Alpha Patch 14) :: BinPatch :: data len: 16
0:158 0:000 - [16]: IONVMeFamily (IONVMeFamily Pike R. Alpha Patch 02) :: BinPatch :: data len: 16
0:158 0:000 - [17]: IONVMeFamily (IONVMeFamily Pike R. Alpha Patch 09-10) :: BinPatch :: data len: 44
0:158 0:000 - [18]: IONVMeFamily (IONVMeFamily Preferred Block Size 0x10 -> 0x01 (c) Pike R. Alpha implemented by syscl) :: BinPatch :: data len: 9
0:158 0:000 - patch disabled at config
0:158 0:000 - [19]: IONVMeFamily (IONVMeFamily Pike R. Alpha Patch 13) :: BinPatch :: data len: 16
0:158 0:000 - [20]: IONVMeFamily (IONVMeFamily Pike R. Alpha Patch 01) :: MatchOS: 10.12.1 :: BinPatch :: data len: 16
0:158 0:000 - [21]: IONVMeFamily (IONVMeFamily Pike R. Alpha Patch 12) :: BinPatch :: data len: 16
0:158 0:000 - [22]: IONVMeFamily (IONVMeFamily Pike R. Alpha Patch 11) :: BinPatch :: data len: 16
0:158 0:000 - [23]: IONVMeFamily (IONVMeFamily Pike R. Alpha Patch 05) :: BinPatch :: data len: 16
0:158 0:000 - [24]: IONVMeFamily (IONVMeFamily Pike R. Alpha Patch 03) :: BinPatch :: data len: 16
0:158 0:000 - [25]: IONVMeFamily (IONVMeFamily Pike R. Alpha Patch 06-07) :: BinPatch :: data len: 20
0:158 0:000 - [26]: IOThunderboltFamily (Bypass ThunderBolt3 SkipEnumeration credit kid2010 implemented by syscl) :: MatchOS: 10.12.x :: BinPatch :: data len: 18
0:158 0:000 KernelToPatch: 1 requested
0:158 0:000 - [00]: MSR 0xE2 _xcpm_idle instant reboot(c) Pike R. Alpha :: MatchOS: 10.12 :: data len: 8
0:158 0:000 Default theme: BootCamp
0:158 0:000 Hiding entries with string \EFI\BOOT\BOOTX64.EFI
0:158 0:000 Hiding entries with string Windows
0:158 0:000 === [ LoadDrivers ] =======================================
0:160 0:002 Loading AppleImageCodec-64.efi status=Success
0:174 0:013 Loading AppleKeyAggregator-64.efi status=Success
0:184 0:009 Loading AppleUITheme-64.efi status=Success
0:194 0:009 Loading DataHubDxe-64.efi status=Success
0:214 0:020 Loading EmuVariableUefi-64.efi status=Success
0:222 0:008 EmuVariableUefi Initialize: VariableCommonInitialize = Success, orig services stored, install gEmuVariableControlProtocolGuid = Success
0:223 0:000 Loading FirmwareVolume-64.efi status=Success
0:232 0:009 Loading FSInject-64.efi status=Success
0:242 0:009 Loading HFSPlus.efi status=Success
0:253 0:010 - driver needs connecting
0:253 0:000 Loading OsxAptioFix2Drv-64.efi status=Success
0:263 0:009 Loading SMCHelper-64.efi status=Success
0:274 0:010 1 drivers needs connecting ...
0:274 0:000 PlatformDriverOverrideProtocol not found. Installing ... Success
0:274 0:000 HFS+ driver loaded
0:274 0:000 Searching for invalid DiskIo BY_DRIVER connects: not found, all ok
1:808 1:534 EmuVariable InstallEmulation: orig vars copied, emu.var.services installed, CreateEvent VirtualAddressChange = Success, CreateEvent ExitBootServices = Success, set Status=Success
1:831 0:022 === [ InitScreen ] ========================================
1:831 0:000 SetMaxResolution: found best mode 0: 3200x1800
1:831 0:000 - already set
1:831 0:000 Console modes reported: 4, available modes:
1:831 0:000 - [01]: 80x25
1:831 0:000 - [02]: 80x50
1:831 0:000 - [03]: 100x31
1:831 0:000 - [04]: 400x94 (current mode)
1:831 0:000 reinit: self device path=PciRoot(0x0)\Pci(0x1D,0x0)\Pci(0x0,0x0)\NVMe(0x1,6B-6B-03-00-02-0D-08-00)\HD(1,GPT,235A98E5-6880-424F-AD75-0EAB6D25421A,0x28,0x64000)
1:848 0:016 === [ GetMacAddress ] =====================================
1:848 0:000 === [ ScanSPD ] ===========================================
1:848 0:000 SMBus device : 8086 9D23 class=0C0500 status=Success
1:848 0:000 SMBus CmdReg: 0x3
1:848 0:000 Scanning SMBus [8086:9D23], mmio: 0xDC132004, ioport: 0xF040, hostc: 0x11
1:848 0:000 Slots to scan [8]...
1:849 0:001 === [ GetAcpiTablesList ] =================================
1:853 0:003 Get Acpi Tables List from RSDT:
1:853 0:000 - [00]: FACP CBX3 len=132
1:853 0:000 - [01]: APIC CBX3 len=132
1:853 0:000 - [02]: FPDT CBX3 len=68
1:853 0:000 - [03]: FIDT CBX3 len=156
1:853 0:000 - [04]: MCFG CBX3 len=60
1:853 0:000 - [05]: HPET CBX3 len=56
1:853 0:000 - [06]: SSDT SataTabl len=789
1:853 0:000 - [07]: LPIT SKL-ULT len=148
1:853 0:000 - [08]: SSDT sensrhub len=584
1:853 0:000 - [09]: SSDT PtidDevc len=11182
1:853 0:000 - [10]: SSDT Ther_Rvp len=3043
1:853 0:000 - [11]: DBGP len=52
1:853 0:000 - [12]: DBG2 len=84
1:853 0:000 - [13]: SSDT xh_rvp07 len=1847
1:853 0:000 - [14]: BOOT CBX3 len=40
1:853 0:000 - [15]: SSDT SaSsdt len=13742
1:853 0:000 - [16]: UEFI len=66
1:853 0:000 - [17]: SSDT CpuSsdt len=3699
1:853 0:000 - [18]: MSDM CBX3 len=85
1:853 0:000 - [19]: SSDT DptfTabl len=15191
1:853 0:000 - [20]: SLIC CBX3 len=374
1:853 0:000 - [21]: TCPA NAPAASF len=50
1:853 0:000 - [22]: BGRT len=56
1:853 0:000 - [23]: ASF! HCG len=165
1:853 0:000 Calibrated TSC frequency =2808415050 =2808MHz
1:853 0:000 === [ GetUserSettings ] ===================================
1:853 0:000 Add 9 properties:
1:853 0:000 - [00]: IntelGFX, len: 10
1:853 0:000 - [01]: IntelGFX, len: 4
1:853 0:000 - [02]: IntelGFX, len: 4
1:853 0:000 - [03]: IntelGFX, len: 4
1:853 0:000 - [04]: IntelGFX, len: 4
1:853 0:000 - [05]: IntelGFX, len: 4
1:853 0:000 - [06]: IntelGFX, len: 4
1:853 0:000 - [07]: IntelGFX, len: 4
1:853 0:000 - [08]: IntelGFX, len: 4
1:853 0:000 USB FixOwnership: yes
1:853 0:000 Dropping 7 tables:
1:853 0:000 - [00]: Drop table signature="SSDT" (54445353) table-id="Ther_Rvp" (7076525F72656854)
1:853 0:000 - set table: 54445353, 7076525F72656854 to drop: yes
1:853 0:000 - [01]: Drop table signature="SSDT" (54445353) table-id="ApIst" (0000007473497041)
1:853 0:000 - set table: 54445353, 7473497041 to drop: no
1:853 0:000 - [02]: Drop table signature="SSDT" (54445353) table-id="Cpu0Ist" (0074734930757043)
1:853 0:000 - set table: 54445353, 74734930757043 to drop: no
1:853 0:000 - [03]: Drop table signature="SSDT" (54445353) table-id="ApCst" (0000007473437041)
1:853 0:000 - set table: 54445353, 7473437041 to drop: no
1:853 0:000 - [04]: Drop table signature="SSDT" (54445353) table-id="CpuSsdt" (0074647353757043)
1:853 0:000 - set table: 54445353, 74647353757043 to drop: yes
1:853 0:000 - [05]: Drop table signature="SSDT" (54445353) table-id="Cpu0Cst" (0074734330757043)
1:853 0:000 - set table: 54445353, 74734330757043 to drop: no
1:853 0:000 - [06]: Drop table signature="DMAR" (52414D44)
1:853 0:000 - set table: 52414D44, 0 to drop: no
1:853 0:000 - final DSDT Fix mask=10000000
1:853 0:000 PatchesDSDT: 5 requested
1:853 0:000 - [00]: ( _OSI -> XOSI) lenToFind: 4, lenToReplace: 4
1:853 0:000 patch disabled at config
1:853 0:000 - [01]: (HDAS -> HDEF) lenToFind: 4, lenToReplace: 4
1:853 0:000 - [02]: (HECI -> IMEI) lenToFind: 4, lenToReplace: 4
1:853 0:000 - [03]: (GFX0 -> IGPU) lenToFind: 4, lenToReplace: 4
1:853 0:000 - [04]: (ALSD -> ALS0) lenToFind: 4, lenToReplace: 4
1:853 0:000 patch disabled at config
1:853 0:000 ResetAddr: 0xB2
1:853 0:000 Calc ResetVal: 0x0
1:853 0:000 ResetVal: 0x73
1:853 0:000 ChassisType: 0x8
1:882 0:029 === [ ScanVolumes ] =======================================
1:882 0:000 Found 4 volumes with blockIO
1:882 0:000 - [00]: Volume: PciRoot(0x0)\Pci(0x1D,0x0)\Pci(0x0,0x0)\NVMe(0x1,6B-6B-03-00-02-0D-08-00)
1:883 0:001 - [01]: Volume: PciRoot(0x0)\Pci(0x1D,0x0)\Pci(0x0,0x0)\NVMe(0x1,6B-6B-03-00-02-0D-08-00)\HD(1,GPT,235A98E5-6880-424F-AD75-0EAB6D25421A,0x28,0x64000)
1:884 0:001 Result of bootcode detection: bootable unknown (legacy)
1:887 0:003 This is SelfVolume !!
1:887 0:000 - [02]: Volume: PciRoot(0x0)\Pci(0x1D,0x0)\Pci(0x0,0x0)\NVMe(0x1,6B-6B-03-00-02-0D-08-00)\HD(2,GPT,D4ED0469-CAA8-445A-B33A-2A7F3BA424A7,0x64028,0x1DB59340)
1:889 0:001 Result of bootcode detection: bootable unknown (legacy)
1:889 0:000 - [03]: Volume: PciRoot(0x0)\Pci(0x1D,0x0)\Pci(0x0,0x0)\NVMe(0x1,6B-6B-03-00-02-0D-08-00)\HD(3,GPT,6A199BCE-B481-4D64-9E7D-49BC47AFF103,0x1DBBD368,0x135F20)
1:894 0:005 Loading nvram.plist from Vol 'EFI' - loaded, size=2444
1:901 0:007 === [ PutNvramPlistToRtVars ] =============================
1:901 0:000 Adding Key: EFILoginHiDPI: Size = 4, Data: 00 00 00 00
1:901 0:000 Skipping EmuVariableUefiPresent
1:901 0:000 Adding Key: SystemAudioVolume: Size = 1, Data: 31
1:901 0:000 Adding Key: SystemAudioVolumeDB: Size = 1, Data: E4
1:901 0:000 Adding Key: backlight-level: Size = 2, Data: 4B 00
1:901 0:000 Adding Key: bootercfg: Size = 2, Data: 2A 00
1:901 0:000 Adding Key: csr-active-config: Size = 4, Data: 03 00 00 00
1:901 0:000 Adding Key: fakesmc-key-#KEY-ui32: Size = 4, Data: 00 00 00 12
1:901 0:000 Adding Key: fakesmc-key-$Adr-ui32: Size = 4, Data: 00 00 03 00
1:901 0:000 Adding Key: fakesmc-key-$Num-ui8: Size = 1, Data: 01
1:901 0:000 Adding Key: fakesmc-key-$Num-ui8 : Size = 1, Data: 01
1:901 0:000 Adding Key: fakesmc-key-BATP-flag: Size = 1, Data: 00
1:901 0:000 Adding Key: fakesmc-key-BBIN-ui8: Size = 1, Data: 01
1:901 0:000 Adding Key: fakesmc-key-BBIN-ui8 : Size = 1, Data: 01
1:901 0:000 Adding Key: fakesmc-key-BEMB-flag: Size = 1, Data: 01
1:901 0:000 Adding Key: fakesmc-key-BNum-ui8: Size = 1, Data: 01
1:901 0:000 Adding Key: fakesmc-key-BNum-ui8 : Size = 1, Data: 01
1:901 0:000 Adding Key: fakesmc-key-EPCI-ui32: Size = 4, Data: 09 20 F0 00
1:901 0:000 Adding Key: fakesmc-key-MSAc-ui16: Size = 2, Data: 00 00
1:901 0:000 Adding Key: fakesmc-key-MSFW-ui8: Size = 2, Data: 01 00
1:901 0:000 Adding Key: fakesmc-key-MSFW-ui8 : Size = 2, Data: 01 00
1:901 0:000 Adding Key: fakesmc-key-MSLD-ui8: Size = 1, Data: 00
1:901 0:000 Adding Key: fakesmc-key-MSLD-ui8 : Size = 1, Data: 00
1:901 0:000 Adding Key: fakesmc-key-MSPS-ui16: Size = 2, Data: 00 03
1:901 0:000 Adding Key: fakesmc-key-MSTc-ui8: Size = 1, Data: 00
1:901 0:000 Adding Key: fakesmc-key-MSTc-ui8 : Size = 1, Data: 00
1:901 0:000 Adding Key: fakesmc-key-MSWr-ui8: Size = 1, Data: 00
1:901 0:000 Adding Key: fakesmc-key-MSWr-ui8 : Size = 1, Data: 00
1:901 0:000 Adding Key: fakesmc-key-RBr -ch8*: Size = 8, Data: 6A 37 39 00 00 00 00 00
1:901 0:000 Adding Key: fakesmc-key-REV -ch8*: Size = 6, Data: 02 37 0F 00 00 18
1:901 0:000 Adding Key: fakesmc-key-RMde-char: Size = 1, Data: 41
1:901 0:000 Adding Key: fakesmc-key-RPlt-ch8*: Size = 8, Data: 6A 37 39 00 00 00 00 00
1:901 0:000 Adding Key: flagstate: Size = 32, Data: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1:901 0:000 Adding Key: fmm-computer-name: Size = 17, Data: 4D 69 72 63 6F E2 80 99 73 20 4D 61 63 42 6F 6F 6B
1:901 0:000 Adding Key: intel-backlight-level: Size = 4, Data: 00 02 00 00
1:901 0:000 Adding Key: security-mode: String: Size = 4, Val = 'none'
1:901 0:000 Adding Key: specialbootdevice: Size = 86, Data: 02 01 0C 00 D0 41 03 0A 00 00 00 00 01 01 06 00 00 1D 01 01 06 00 00 00 03 17 10 00 01 00 00 00 00 08 0D 02 00 03 6B 6B 04 01 2A 00 02 00 00 00 28 40 06 00 00 00 00 00 40 93 B5 1D 00 00 00 00 69 04 ED D4 A8 CA 5A 44 B3 3A 2A 7F 3B A4 24 A7 02 02 7F FF 04 00
1:901 0:000 === [ InitTheme ] =========================================
1:902 0:001 GlobalConfig: theme.plist not found, get random theme bluemac
1:908 0:005 Using theme 'bluemac' (EFI\CLOVER\themes\bluemac)
1:908 0:000 OS main and drive as badge
1:914 0:006 Loading font from ThemeDir: Success
1:914 0:000 Choosing theme bluemac
1:914 0:000 after NVRAM boot-args=dart=0
1:914 0:000 === [ Dump SMC keys from NVRAM ] ==========================
1:914 0:000 found AppleSMC protocol
1:915 0:000 === [ ScanLoader ] ========================================
1:915 0:000 - [01]: 'EFI'
1:931 0:016 - [02]: 'MacOS'
1:935 0:004 AddLoaderEntry for Volume Name=MacOS
1:938 0:003 Check if volume Is Hibernated:
1:938 0:000 Check sleep image 'by signature':
1:949 0:010 read prefs \Library\Preferences\com.apple.PowerManagement.plist status=Success
1:949 0:000 using default sleep image name = \private\var\vm\sleepimage
1:955 0:006 no valid sleep image offset was found
1:955 0:000 sleepimage offset could not be acquired
1:955 0:000 hibernated: no - sign
1:967 0:011 - [03]: 'Recovery HD'
1:970 0:003 AddLoaderEntry for Volume Name=Recovery HD
1:972 0:002 Check if volume Is Hibernated:
1:972 0:000 Check sleep image 'by signature':
1:972 0:000 using default sleep image name = \private\var\vm\sleepimage
1:972 0:000 sleepimage not found -> Not Found
1:972 0:000 hibernated: no - sign
1:979 0:006 AddLoaderEntry for Volume Name=Recovery HD
1:991 0:011 === [ AddCustomTool ] =====================================
1:997 0:006 found tool \EFI\CLOVER\tools\Shell64U.efi
1:997 0:000 Checking EFI partition Volume 1 for Clover
2:003 0:006 Found Clover
2:007 0:004 EmuVariable UninstallEmulation: CloseEvent = Success, original var services restored
2:024 0:016 EmuVariable InstallEmulation: orig vars copied, emu.var.services installed, CreateEvent VirtualAddressChange = Success, CreateEvent ExitBootServices = Success, set Status=Success
2:046 0:022 === [ GetEfiBootDeviceFromNvram ] =========================
2:046 0:000 - found entry 0. 'Boot macOS from MacOS', Volume 'MacOS', DevicePath 'PciRoot(0x0)\Pci(0x1D,0x0)\Pci(0x0,0x0)\NVMe(0x1,6B-6B-03-00-02-0D-08-00)\HD(2,GPT,D4ED0469-CAA8-445A-B33A-2A7F3BA424A7,0x64028,0x1DB59340)\System\Library\CoreServices\boot.efii'
2:046 0:000 EmuVariable UninstallEmulation: CloseEvent = Success, original var services restored
2:046 0:000 DefaultIndex=0 and MainMenu.EntryCount=9
2:260 0:213 GUI ready
4:013 1:752 BootVariable of the entry is empty
4:013 0:000 === [ StartLoader ] =======================================
4:013 0:000 Finally: Bus=100300kHz CPU=2808MHz
4:013 0:000 Loading boot.efi status=Success
4:136 0:123 GetOSVersion: 10.12.3 (16D32)
4:136 0:000 CSR_CFG: CSR_ALLOW_UNTRUSTED_KEXTS | CSR_ALLOW_UNRESTRICTED_FS
4:136 0:000 Filtering KextPatches:
4:136 0:000 - [00]: AppleHDA (Enable Realtek ALC256 4/5) :: BinPatch :: [OS: 10.12.3 | MatchOS: All | MatchBuild: All] ==> allowed
4:136 0:000 - [01]: AppleHDA (Enable Realtek ALC256 1/5) :: BinPatch :: [OS: 10.12.3 | MatchOS: All | MatchBuild: All] ==> allowed
4:136 0:000 - [02]: AppleHDA (Enable Realtek ALC256 2/5) :: BinPatch :: [OS: 10.12.3 | MatchOS: All | MatchBuild: All] ==> allowed
4:136 0:000 - [03]: AppleHDA (Enable Realtek ALC256 5/5) :: BinPatch :: [OS: 10.12.3 | MatchOS: All | MatchBuild: All] ==> allowed
4:136 0:000 - [04]: AppleHDA (Enable Realtek ALC256 3/5) :: BinPatch :: [OS: 10.12.3 | MatchOS: All | MatchBuild: All] ==> allowed
4:136 0:000 - [05]: AppleIntelSKLGraphicsFramebuffer (Enable 0x19160000 ports(0105-HDMI, 0204-HDMI, 0306-DP) credit syscl) :: BinPatch :: [OS: 10.12.3 | MatchOS: All | MatchBuild: All] ==> allowed
4:136 0:000 - [06]: AppleIntelSKLGraphicsFramebuffer (Enable lid wake for 0x19160000 credit syscl/lighting/Yating Zhou) :: BinPatch :: [OS: 10.12.3 | MatchOS: All | MatchBuild: All] ==> allowed
4:136 0:000 - [07]: AppleIntelSKLGraphicsFramebuffer (eDP, port 0000, 0x19160000 credit syscl) :: BinPatch :: [OS: 10.12.3 | MatchOS: All | MatchBuild: All] ==> allowed
4:136 0:000 - [08]: AppleIntelSKLGraphicsFramebuffer (Enable 0x19160000 4ports(0000, 0105, 0204, 0306) credit syscl) :: BinPatch :: [OS: 10.12.3 | MatchOS: All | MatchBuild: All] ==> allowed
4:136 0:000 - [09]: IOBluetoothFamily (Enable BT4LE-Handoff-Hotspot) :: BinPatch :: [OS: 10.12.3 | MatchOS: All | MatchBuild: All] ==> allowed
4:136 0:000 - [10]: IONVMeFamily (IONVMeFamily Pike R. Alpha Patch 16) :: BinPatch :: [OS: 10.12.3 | MatchOS: All | MatchBuild: All] ==> allowed
4:136 0:000 - [11]: IONVMeFamily (IONVMeFamily Pike R. Alpha Patch 17) :: BinPatch :: [OS: 10.12.3 | MatchOS: All | MatchBuild: All] ==> allowed
4:136 0:000 - [12]: IONVMeFamily (IONVMeFamily Pike R. Alpha Patch 15) :: BinPatch :: [OS: 10.12.3 | MatchOS: All | MatchBuild: All] ==> allowed
4:136 0:000 - [13]: IONVMeFamily (IONVMeFamily Pike R. Alpha Patch 08) :: BinPatch :: [OS: 10.12.3 | MatchOS: All | MatchBuild: All] ==> allowed
4:136 0:000 - [14]: IONVMeFamily (IONVMeFamily Pike R. Alpha Patch 04) :: BinPatch :: [OS: 10.12.3 | MatchOS: All | MatchBuild: All] ==> allowed
4:136 0:000 - [15]: IONVMeFamily (IONVMeFamily Pike R. Alpha Patch 14) :: BinPatch :: [OS: 10.12.3 | MatchOS: All | MatchBuild: All] ==> allowed
4:136 0:000 - [16]: IONVMeFamily (IONVMeFamily Pike R. Alpha Patch 02) :: BinPatch :: [OS: 10.12.3 | MatchOS: All | MatchBuild: All] ==> allowed
4:136 0:000 - [17]: IONVMeFamily (IONVMeFamily Pike R. Alpha Patch 09-10) :: BinPatch :: [OS: 10.12.3 | MatchOS: All | MatchBuild: All] ==> allowed
4:136 0:000 - [18]: IONVMeFamily (IONVMeFamily Preferred Block Size 0x10 -> 0x01 (c) Pike R. Alpha implemented by syscl) :: BinPatch :: [OS: 10.12.3 | MatchOS: All | MatchBuild: All] ==> disabled by user
4:136 0:000 - [19]: IONVMeFamily (IONVMeFamily Pike R. Alpha Patch 13) :: BinPatch :: [OS: 10.12.3 | MatchOS: All | MatchBuild: All] ==> allowed
4:136 0:000 - [20]: IONVMeFamily (IONVMeFamily Pike R. Alpha Patch 01) :: BinPatch :: [OS: 10.12.3 | MatchOS: 10.12.1 | MatchBuild: All] ==> not allowed
4:136 0:000 - [21]: IONVMeFamily (IONVMeFamily Pike R. Alpha Patch 12) :: BinPatch :: [OS: 10.12.3 | MatchOS: All | MatchBuild: All] ==> allowed
4:136 0:000 - [22]: IONVMeFamily (IONVMeFamily Pike R. Alpha Patch 11) :: BinPatch :: [OS: 10.12.3 | MatchOS: All | MatchBuild: All] ==> allowed
4:136 0:000 - [23]: IONVMeFamily (IONVMeFamily Pike R. Alpha Patch 05) :: BinPatch :: [OS: 10.12.3 | MatchOS: All | MatchBuild: All] ==> allowed
4:136 0:000 - [24]: IONVMeFamily (IONVMeFamily Pike R. Alpha Patch 03) :: BinPatch :: [OS: 10.12.3 | MatchOS: All | MatchBuild: All] ==> allowed
4:136 0:000 - [25]: IONVMeFamily (IONVMeFamily Pike R. Alpha Patch 06-07) :: BinPatch :: [OS: 10.12.3 | MatchOS: All | MatchBuild: All] ==> allowed
4:136 0:000 - [26]: IOThunderboltFamily (Bypass ThunderBolt3 SkipEnumeration credit kid2010 implemented by syscl) :: BinPatch :: [OS: 10.12.3 | MatchOS: 10.12.x | MatchBuild: All] ==> allowed
4:136 0:000 Filtering KernelPatches:
4:136 0:000 - [00]: MSR 0xE2 _xcpm_idle instant reboot(c) Pike R. Alpha :: [OS: 10.12.3 | MatchOS: 10.12 | MatchBuild: All] ==> allowed
4:136 0:000 EmuVariable InstallEmulation: orig vars copied, emu.var.services installed, CreateEvent VirtualAddressChange = Success, CreateEvent ExitBootServices = Success, set Status=Success
4:159 0:023 === [ PatchSmbios ] =======================================
4:160 0:000 Trusting SMBIOS...
4:160 0:000 Detected alternating SMBIOS channel banks
4:160 0:000 Channels: 2
4:160 0:000 Interleave: 0 2 1 3 4 6 5 7 8 10 9 11 12 14 13 15 16 18 17 19 20 22 21 23
4:160 0:000 partNum=EDFA232A2MA-JD-F-R
4:160 0:000 SMBIOS Type 17 Index = 0 => 0 0:
4:160 0:000 BANK0 DIMM0 1867MHz 4096MB
4:160 0:000 partNum=EDFA232A2MA-JD-F-R
4:160 0:000 SMBIOS Type 17 Index = 1 => 1 2:
4:160 0:000 BANK1 DIMM0 1867MHz 4096MB
4:160 0:000 mTotalSystemMemory = 8192
4:160 0:000 NumberOfMemoryDevices = 2
4:160 0:000 Type20[0]->End = 0x3FFFFF, Type17[0] = 0x1000
4:160 0:000 Type20[1]->End = 0x7FFFFF, Type17[1] = 0x3000
4:160 0:000 Table 131 is present, CPUType=35
4:160 0:000 Change to: 705
4:160 0:000 === [ PatchACPI ] =========================================
4:160 0:000 RSDT 0x796F7028
4:160 0:000 FADT from RSDT: 0x796F71A0
4:160 0:000 XSDT 0x796F70B0
4:160 0:000 FADT from XSDT: 0x79718180
4:160 0:000 Xsdt reallocation done
4:160 0:000 old FADT length=10C
4:160 0:000 Found OperationRegion(GNVS, SystemMemory, 79EDB000, ...)
4:160 0:000 Found OperationRegion(EXBU, SystemMemory, 79EDD000, ...)
4:160 0:000 Found OperationRegion(OGNV, SystemMemory, 7A2CD000, ...)
4:160 0:000 Found OperationRegion(DEGA, SystemMemory, 79ECA000, ...)
4:160 0:000 Found OperationRegion(CPSB, SystemMemory, 79490F18, ...)
4:160 0:000 Found OperationRegion(PNVA, SystemMemory, 79EDCC98, ...)
4:161 0:000 Found OperationRegion(THBA, SystemMemory, FE200000, ...)
4:161 0:000 Found OperationRegion(ITSS, SystemMemory, FDC43100, ...)
4:161 0:000 Found OperationRegion(NVID, SystemMemory, E0100000, ...)
4:161 0:000 Found OperationRegion(DXHC, SystemMemory, FED1F418, ...)
4:161 0:000 Found OperationRegion(ABNV, SystemMemory, 79EC5000, ...)
4:161 0:000 Found OperationRegion(TMMB, SystemMemory, FED40000, ...)
4:161 0:000 Found OperationRegion(CRBD, SystemMemory, FED40000, ...)
4:161 0:000 Found OperationRegion(TPMR, SystemMemory, FFFFFFFF, ...)
4:162 0:000 Found OperationRegion(WWPR, SystemMemory, 79EC3000, ...)
4:162 0:000 Found OperationRegion(PDW0, SystemMemory, FDAE05B8, ...)
4:177 0:015 DSDT found in Clover volume OEM folder: EFI\CLOVER\ACPI\patched\DSDT.aml
4:183 0:006 Apply DsdtFixMask=0x10000000
4:183 0:000 drop _DSM mask=0x0000
4:183 0:000 === [ FixBiosDsdt ] =======================================
4:183 0:000 VideoCard devID=0x19168086
4:183 0:000 DisplayADR1[0] = 0x20000, DisplayADR2[0] = 0xFFFE
4:183 0:000 USBADR[0] = 0x140000 and PCIe = 0xFFFE
4:196 0:013 Audio HDA (addr:0x1F0003) setting specified layout-id=1 (0x1)
4:196 0:000 Patching DSDT:
4:196 0:000 - [ _OSI -> XOSI]: - [HDAS -> HDEF]: pattern 48444153, bin not found / already patched!
4:196 0:000 - [HECI -> IMEI]: pattern 48454349, bin not found / already patched!
4:197 0:000 - [GFX0 -> IGPU]: pattern 47465830, bin not found / already patched!
4:197 0:000 - [ALSD -> ALS0]:first CPU found at 6E68 offset 6E6B
4:197 0:000 score candidate at 6E64
4:197 0:000 score inserted in acpi_cpu_score _PR_
4:197 0:000 Found ACPI CPU: CPU0 | CPU1 | CPU2 | CPU3 | CPU4 | CPU5 | CPU6 | CPU7 , within the score: _PR_
4:197 0:000 Found PCIROOTUID = 0
4:197 0:000 indirect name=PNVB
4:197 0:000 OperationRegion (PDW0...) corrected to addr=0xFDAE05B8
4:197 0:000 OperationRegion (PDW0...) corrected to addr=0xFDAE05B8
4:197 0:000 OperationRegion (PDW0...) corrected to addr=0xFDAE05B8
4:197 0:000 OperationRegion (PDW0...) corrected to addr=0xFDAE05B8
4:197 0:000 OperationRegion (PDW0...) corrected to addr=0xFDAE05B8
4:197 0:000 OperationRegion (PDW0...) corrected to addr=0xFDAE05B8
4:197 0:000 OperationRegion (PDW0...) corrected to addr=0xFDAE05B8
4:197 0:000 OperationRegion (PDW0...) corrected to addr=0xFDAE05B8
4:197 0:000 OperationRegion (PDW0...) corrected to addr=0xFDAE05B8
4:197 0:000 OperationRegion (PDW0...) corrected to addr=0xFDAE05B8
4:197 0:000 OperationRegion (PDW0...) corrected to addr=0xFDAE05B8
4:197 0:000 OperationRegion (PDW0...) corrected to addr=0xFDAE05B8
4:197 0:000 OperationRegion (PDW0...) corrected to addr=0xFDAE05B8
4:197 0:000 OperationRegion (PDW0...) corrected to addr=0xFDAE05B8
4:197 0:000 OperationRegion (THBA...) corrected to addr=0xFE200000
4:197 0:000 indirect name=TPMM
4:197 0:000 indirect name=FTPM
4:197 0:000 indirect name=SMBA
4:198 0:000 OperationRegion (WWPR...) corrected to addr=0x79EC3000
4:198 0:000 OperationRegion (WWPR...) corrected to addr=0x79EC3000
4:198 0:000 OperationRegion (WWPR...) corrected to addr=0x79EC3000
4:198 0:000 OperationRegion (WWPR...) corrected to addr=0x79EC3000
4:198 0:000 OperationRegion (WWPR...) corrected to addr=0x79EC3000
4:198 0:000 === [ ACPIDropTables ] ====================================
4:198 0:000 Drop tables from Xsdt, SIGN=SSDT TableID=CpuSsdt Length=3699
4:198 0:000 Xsdt has tables count=24
4:198 0:000 Table: SSDT CpuSsdt 3699 dropped
4:198 0:000 Drop tables from Xsdt, SIGN=SSDT TableID=Ther_Rvp Length=3043
4:198 0:000 Xsdt has tables count=23
4:198 0:000 Table: SSDT Ther_Rvp 3043 dropped
4:198 0:000 === [ PatchAllSSDT ] ======================================
4:198 0:000 Patch table: SSDT SataTabl len=0x315
4:198 0:000 0. [ _OSI -> XOSI]:1. [HDAS -> HDEF]: pattern 48444153, bin not found / already patched!
4:198 0:000 2. [HECI -> IMEI]: pattern 48454349, bin not found / already patched!
4:198 0:000 3. [GFX0 -> IGPU]: pattern 47465830, bin not found / already patched!
4:198 0:000 4. [ALSD -> ALS0]:Patch table: SSDT sensrhub len=0x248
4:198 0:000 0. [ _OSI -> XOSI]:1. [HDAS -> HDEF]: pattern 48444153, bin not found / already patched!
4:198 0:000 2. [HECI -> IMEI]: pattern 48454349, bin not found / already patched!
4:198 0:000 3. [GFX0 -> IGPU]: pattern 47465830, bin not found / already patched!
4:198 0:000 4. [ALSD -> ALS0]:Patch table: SSDT PtidDevc len=0x2BAE
4:198 0:000 0. [ _OSI -> XOSI]:1. [HDAS -> HDEF]: pattern 48444153, bin not found / already patched!
4:198 0:000 2. [HECI -> IMEI]: pattern 48454349, bin not found / already patched!
4:198 0:000 3. [GFX0 -> IGPU]: pattern 47465830, bin not found / already patched!
4:198 0:000 4. [ALSD -> ALS0]:Patch table: SSDT xh_rvp07 len=0x737
4:198 0:000 0. [ _OSI -> XOSI]:1. [HDAS -> HDEF]: pattern 48444153, bin not found / already patched!
4:198 0:000 2. [HECI -> IMEI]: pattern 48454349, bin not found / already patched!
4:198 0:000 3. [GFX0 -> IGPU]: pattern 47465830, bin not found / already patched!
4:198 0:000 4. [ALSD -> ALS0]:Patch table: SSDT SaSsdt len=0x35AE
4:198 0:000 0. [ _OSI -> XOSI]:1. [HDAS -> HDEF]: pattern 48444153, bin not found / already patched!
4:198 0:000 2. [HECI -> IMEI]: pattern 48454349, bin not found / already patched!
4:198 0:000 3. [GFX0 -> IGPU]: pattern 47465830, patched at: [ (DE1) (89F) (1D) (70E) ]
4:198 0:000 4. [ALSD -> ALS0]:Patch table: SSDT DptfTabl len=0x3B57
4:198 0:000 0. [ _OSI -> XOSI]:1. [HDAS -> HDEF]: pattern 48444153, bin not found / already patched!
4:198 0:000 2. [HECI -> IMEI]: pattern 48454349, bin not found / already patched!
4:198 0:000 3. [GFX0 -> IGPU]: pattern 47465830, bin not found / already patched!
4:198 0:000 4. [ALSD -> ALS0]:Drop tables from Xsdt, SIGN=XXXX TableID= Length=0
4:198 0:000 Xsdt has tables count=22
4:198 0:000 === [ ACPIPatchedAML ] ====================================
4:198 0:000 Sorted
4:198 0:000 Inserting table[0]:SSDT-0.aml from EFI\CLOVER\ACPI\patched ... Success
4:202 0:004 Inserting table[1]:SSDT-1.aml from EFI\CLOVER\ACPI\patched ... Success
4:206 0:004 Inserting table[2]:SSDT-2.aml from EFI\CLOVER\ACPI\patched ... Success
4:210 0:004 Inserting table[3]:SSDT-3.aml from EFI\CLOVER\ACPI\patched ... Not Found
4:211 0:001 Inserting table[4]:SSDT-7.aml from EFI\CLOVER\ACPI\patched ... Not Found
4:212 0:001 Inserting table[5]:SSDT-8.aml from EFI\CLOVER\ACPI\patched ... Not Found
4:213 0:001 Inserting table[6]:SSDT-9.aml from EFI\CLOVER\ACPI\patched ... Not Found
4:214 0:001 Inserting table[7]:SSDT-10.aml from EFI\CLOVER\ACPI\patched ... Not Found
4:215 0:001 Inserting table[8]:SSDT-11.aml from EFI\CLOVER\ACPI\patched ... Not Found
4:216 0:001 Inserting table[9]:SSDT-12.aml from EFI\CLOVER\ACPI\patched ... Not Found
4:217 0:001 Inserting table[10]:SSDT-13.aml from EFI\CLOVER\ACPI\patched ... Not Found
4:218 0:001 Inserting table[11]:SSDT-14.aml from EFI\CLOVER\ACPI\patched ... Success
4:222 0:004 Inserting table[12]:SSDT-15.aml from EFI\CLOVER\ACPI\patched ... Not Found
4:223 0:001 Inserting table[13]:SSDT-pr.aml from EFI\CLOVER\ACPI\patched ... Success
4:227 0:004 Inserting table[14]:SSDT-rmne.aml from EFI\CLOVER\ACPI\patched ... Success
4:231 0:004 Inserting table[15]:SSDT-XPS13SKL.aml from EFI\CLOVER\ACPI\patched ... Success
4:235 0:004 CPUBase=0 and ApicCPUBase=1 ApicCPUNum=1
4:235 0:000 === [ RestSetup macOS ] ===================================
4:235 0:000 EdidDiscovered size=128
4:235 0:000 000 | 00 FF FF FF FF FF FF 00 4D 10
4:235 0:000 010 | 4A 14 00 00 00 00 17 19 01 04
4:235 0:000 020 | A5 1D 11 78 0E DE 50 A3 54 4C
4:235 0:000 030 | 99 26 0F 50 54 00 00 00 01 01
4:235 0:000 040 | 01 01 01 01 01 01 01 01 01 01
4:235 0:000 050 | 01 01 01 01 CD 91 80 A0 C0 08
4:235 0:000 060 | 34 70 30 20 35 00 26 A5 10 00
4:235 0:000 070 | 00 18 A4 74 80 A0 C0 08 34 70
4:235 0:000 080 | 30 20 35 00 26 A5 10 00 00 18
4:235 0:000 090 | 00 00 00 FE 00 52 58 4E 34 39
4:235 0:000 100 | 14 4C 51 31 33 33 5A 31 00 00
4:235 0:000 110 | 00 00 00 02 41 03 28 00 12 00
4:235 0:000 120 | 00 0B 01 0A 20 20 00 40
4:235 0:000 Intel Intel HD Graphics 520 [8086:1916] :: PciRoot(0x0)\Pci(0x2,0x0)
4:235 0:000 custom IntelGFX properties injected, continue
4:235 0:000 Intel GFX revision =0x7
4:235 0:000 RCBA disabled; cannot use it
4:235 0:000 setting specified layout-id=1 (0x1)
4:235 0:000 stringlength = 1908
4:235 0:000 CurrentMode: Width=3200 Height=1800
4:235 0:000 Beginning FSInjection
FSInjectionInstall ...
- Our FSI_SIMPLE_FILE_SYSTEM_PROTOCOL installed on handle: 76ED1298
FSInjectionInstall ...
- Our FSI_SIMPLE_FILE_SYSTEM_PROTOCOL installed on handle: 76ED1298
4:240 0:004 Remap smbios table type 1 guid.
4:246 0:005 Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\10.12
4:247 0:001 Extra kext: EFI\CLOVER\kexts\10.12\ACPIBatteryManager.kext
4:259 0:012 Extra kext: EFI\CLOVER\kexts\10.12\AppleBacklightInjector.kext
4:265 0:005 Extra kext: EFI\CLOVER\kexts\10.12\FakePCIID.kext
4:277 0:011 Extra kext: EFI\CLOVER\kexts\10.12\FakePCIID_Broadcom_WiFi.kext
4:283 0:006 Extra kext: EFI\CLOVER\kexts\10.12\FakeSMC.kext
4:297 0:013 Extra kext: EFI\CLOVER\kexts\10.12\USB_injector.kext
4:305 0:008 Extra kext: EFI\CLOVER\kexts\10.12\BrcmFirmwareRepo.kext
4:316 0:010 Extra kext: EFI\CLOVER\kexts\10.12\FakePCIID_Intel_HDMI_Audio.kext
4:323 0:006 Extra kext: EFI\CLOVER\kexts\10.12\UVC2FaceTimeHD.kext
4:329 0:005 Extra kext: EFI\CLOVER\kexts\10.12\VoodooPS2Controller.kext
4:343 0:014 Extra PlugIn kext: EFI\CLOVER\kexts\10.12\VoodooPS2Controller.kext\Contents\PlugIns\VoodooPS2Keyboard.kext
4:368 0:024 Extra PlugIn kext: EFI\CLOVER\kexts\10.12\VoodooPS2Controller.kext\Contents\PlugIns\VoodooPS2Mouse.kext
4:393 0:025 Extra PlugIn kext: EFI\CLOVER\kexts\10.12\VoodooPS2Controller.kext\Contents\PlugIns\VoodooPS2Trackpad.kext
4:434 0:041 Custom boot is disabled
I second the symptoms @ZombieTheBest has experienced in regards to sleep on my i5 9350 with FHD display/Intel HD 520. Power light stays on after telling to sleep in macOS, and i have to hard reset to get the laptop back on.
@ZombieTheBest @filequit Thank you I will look into it.
Will back to home soon.
syscl
@ZombieTheBest @filequit Please try this command then reboot to see if the sleep issue is gone:
sudo rm -rf /System/Library/Extensions/X86PlatformPluginInjector.kext
sudo kextcache -i /
syscl
still seeing the issue... it doesnt seem to truly sleep, i can hit a key on the keyboard and the screen turns back on.
@filequit Sleep will take around 20~30s(a real MacBook's desgin)
Unless you close lid, otherwise, on a real MacBook, same behave.
Normal sleep behave(like real MacBook):
Manually select Sleep
, the power led will light on about 20~30s, then your computer will go into a "shallow" sleep state.
Close lid sleep, screen off once lid is close, power led off. I am now going to test.
syscl
@filequit @ZombieTheBest Thank you for feedback the problem is caused by Pike R. Alpha's sleep and deep sleep patch. Simple disable it fix the sleep issue.
I will push a regression.
Please try and give me feedback. Thank you! syscl
@ZombieTheBest @filequit Please try the latest deploy.sh
syscl
@syscl - we are good again!
@syscl Working again! Sorry for the late answer, but I live in Europe, totally different timezone eheh Anyway, thats strange yesterday, before IOPlugin patch, sleep was working. Anyway I think that now it's time to test some hibernation maybe :D
I guess that with these settings and hibernatemode 3
I should got hibernation to disk after a while. I will test hibernation in next few days and report if I get data corruption!
pmset -g
output:
Mircos-MacBook:~ mirco$ pmset -g
System-wide power settings:
Currently in use:
standbydelay 4200
standby 1
halfdim 1
hibernatefile /var/vm/sleepimage
powernap 0
gpuswitch 2
disksleep 10
sleep 1
autopoweroffdelay 28800
hibernatemode 0
autopoweroff 1
ttyskeepawake 1
displaysleep 2
lidwake 1
@ZombieTheBest need to change hibernatemode to 3
syscl
@syscl will test it! I still need to figure out why with hibernatemode 25
clover can't find a valid offset for sleep image after hibernation, resulting in clean boot.
@syscl Can't get hibernation to work. I have set hibernatemode 25
for testing, laptop seems to hibernate as confirmed in system.log
:
Feb 23 17:15:45 Mircos-MacBook logd[52]: Flushing contents to disk due to sleep event
I have checked and sleepimage
is created in /private/var/vm
.
But when I power it on again Clover doesn't seem to find a valid sleepimage, as reported in boot.log
:
0:809 0:024 - [02]: 'MacOS'
0:814 0:004 AddLoaderEntry for Volume Name=MacOS
0:817 0:003 Check if volume Is Hibernated:
0:817 0:000 Check sleep image 'by signature':
0:828 0:010 read prefs \Library\Preferences\com.apple.PowerManagement.plist status=Success
0:828 0:000 using default sleep image name = \private\var\vm\sleepimage
0:834 0:006 no valid sleep image offset was found
0:834 0:000 sleepimage offset could not be acquired
0:834 0:000 hibernated: no - sign
Then system of course does a clean boot. I have tried these things:
- Made sure NVRAM's working (stored a variabile, reboot, variable was still there)
- Tried to enable StrictHibernate
flag in Clover
- Removed sleep image, still no success
Right now I'm out of ideas, any advice? Thank you! EDIT: On my desktop hackintosh hibernation is working and Clover can succesfully get sleepimage offset. Maybe there's something wrong with NVME
@syscl I think I have discovered what's causing DATA CORRUPTION during Hibernation. When I put my laptop in hibernation it doesn't flush RAM files to disk in correct sectors, as the created sleep images contains only zeroes. I noticed, after recovering from the "failed" hibernation, that the last downloaded file was corrupted. So, I guess that the data corruption problem is not related with sleep (I got no problems so far with that), but it is with hibernation, and I don't know if theres a fix for this
The strange thing is that a failed resume from hibernation should be no different than a hard reboot or power failure. I think it's very rare that a power failure with a system in idle mode results in whole filesystem corruption. There's surely something else, like ram corruption. Maybe it's a combination of corrupted Ram blocks and darkwakes. From my memory, a corrupted ram sector can destroy a file system. That's usually what happens on Windows when you habe bad ram --> system corrupts after some time. What do you think? I think that disabling hinernatemode solves the issue, but it's not the root cause. Maybe the issue are darkwakes with corrupted ram blocks. The system HAS to power on with corrupted ram to destroy the fs. Corruption on pts (prepare-to-sleep) does not convince me... And cannot happen during a cold boot after Clover fails to recover from sleepimage.
@bozma88 Maybe you are right. See my comment under issue #49, at least we can avoid this for now. But we have to find what's causing this. The strange thing is that Hibernation Corruption happens only on NVMe models, am i wrong? I mean, if it's something related to RAM corruption should happen with SATA Models right?
I think that the way NVME drives ineract with RAM is different than SATA, so that may be the reason.
@bozma88 With hibernatemode 25 RAM Power is disconnected after hibernate. And after resume sleepimage is damaged so there is a clean boot. Do you think that RAM corruption happens before that the laptop finishes to flush RAM data to disk?
Think of every time a pc or mac freezes and you have to pull the plug. A cold boot after failed sleepimage should be no different, in my opinion, and I have yet to observe full, unrecoverable filesystem corruption after pulling the plug. Modern filesystems are quite resilient to this, I suppose, especially when warned that the system is going to be hibernated. Moreover, then randomness of the damaged files makes me think that it's a matter of write cache corruption: open files kept in memory are invalidated by some other data written over them, and then flushed/wrote on the disk. So, for the system to write these data, you need a chance to do that when RAM is still powered and populated, so before hibernation. 2 cases:
Two facts to support my thesis:
-> other people on other systems experience corruption when hibernationg when they have bad ram banks or bad ram timings: https://www.tonymacx86.com/threads/memory-corrupted-after-longer-sleep.148289/page-38
-> Last month I did an hackintosh on a PC that 2/3 days after setup got corrupted, and that happened multiple times. So I tried resinstalling Windows and I still observed severe FS corruption after some days. It turned out it was a bad ram bank.
Ping @syscl
rehabman's native power management guide says hibernation does not work on a hackintosh, and suggests to disable it. the guide is 2 years old. but maybe it is still true until today.
i did have some problem with random lost audio on lid close. i removed "Fix USB _prw" patch, which seems to solve the problem (still observing as of now).
@icedman Right now Audio is working for me. Regarding Hibernation i got more damaged system files: Siri doesn't talk anymore (sigh), and I have no System sounds. I think i will need to do a fresh clean install after all of this eheh 👍
@icedman if you remove USB_PRW, your sleep function will be abnormal. In my case, get instant wake..
syscl
FYI, I am very happy with this audio driver: https://github.com/insanelydeepak/cloverHDA-for-Mac-OS-Sierra-10.12/blob/master/Laptop/ALC256_v2%20-%20Working%20Combojack.zip. Never encountered any issue in one month of usage. Internal audio works, headphones work, jack sense works pre/post wake, internal mic with noise reduction works. The only thing that does not work is external mic (TRRS jack). This audio driver pushes power savings to the limit by shutting down the amps as soon as there's no sound. Before that, I experimented with AppleHDA patches and occasionally audio disappeared until reboot, and power saving was not so aggressive.
@bozma88 For now Headphone Jack doesn't work right?
@ZombieTheBest, headphone jack works. I edited my comment and clarified what's working with CloverHDA.
@bozma88 Sorry, Headphones microphone*. It doesn't work on actual driver too. Well, i think i'm gonna try it, but the one included by syscl is working well for now :D
latest deploy, audio gone after closing lid/ hibernation. the volume buttons still have their sound bleep
@syscl, i don't have the instant wake problem. probably because i disable USB wake at bios. this works better for me as "instant wake" seems to happen also with windows 10.
if you wish to test without hibernation and isolate the problem..
pmset -a hibernatemode 0 rm /var/vm/sleepimage mkdir /var/vm/sleepimage
.. from the rehabman guide
to me hibernate should not be a big deal, unless you're obsessive in making the perfect hack :) . our XPS already draws very little power on idle. maybe even less on sleep. just shutdown the laptop, it is pretty quick. so is booting up
@bozma88 Sorry for bringing back this old thread. How do I install CloverHDA? I remove actual AppleHDA entries on my config.plist, then? Thank you!
CloverHDA + CodecCommander + Clover .plist patches to disable AppleHDA + CodecCommander custom SSDT is my way of making ALC256 work on 9360, including jack sense. CloverHDA and CodecCommander must be placed in SLE. Download my full config on TMX from my LTS 9360 guide.
@bozma88 Dumb question... how do I know if it worked? Replaced all the "AppleHDA" entries on my config.plist with yours. Added your SSDT-ALC256.aml to my patched folder (and loaded it in config.plist). Then I placed CloverHDA and CodecCommander in SLE. Almost nothing changed, everything is like before. AMP not turning off instantly as it should. Oh another thing: THANK YOU for the Webcam kext. Edited it with my Device ID and finally fixed the LED not turning off! :D
Likely a cache issue. Old injector and old patches are still in cache. Invalidate and rebuild.
@bozma88 Thank you for your answer! One step forward! I just removed AppleHDA_ALC256.kext (forgot to do that before, I know, I'm noob). Now audio doesn't work anymore (can't detect the device, even if I can ear a little sound from headphones at boot), but at least now it's not loading the old kext! SSDT-ALC256.aml is in my patched folder, and has been loaded in config.plist. All "CloverHDA" entries under KextToPatch are in my config.plist too
Try to invalidate cache, boot without caches, reboot twice.
@bozma88 No option in Clover to boot without caches. I tried to clear and rebuild Cache but no luck. I found the pre-patch_hda.sh from Rehabman. I started it, it gives me this error:
Patching /System/Library/Extensions/AppleHDA.kext... Error: volume / is not on GPT disk/EFI/CLOVER/config.plist
And it's still running (launched about 10 min ago), using 15-20% CPU. Shall I wait? It's like it's looping.
EDIT: Manually added the EFI Directory to the script (and manually mounted it), it ends. After reboot audio doesn't work.
My solution is based on layout ID 13, check that you don't inject anything different in ACPI tables and/or Clover. In addition to that, AppleHDA must be vanilla. That's all I can say...
@bozma88 In Clover I Inject 13 under "Audio". Tried to boot with all SSDT Tables dropped (except the ALC one), still not working. Have no ideas :(
Hello, I am really sorry no response these days, due to I have 2 summer courses and there are a lot of homework, research papers and projects.
I will be back once I have time. Don't hesitate to pull your solutions and issues here.
Wish there's some new progress, thank you!
Have a good day, syscl
@bozma88 Did a clean install: audio is working with CloverHDA now! I have to say that audio quality is a little bit better with this kext, and AMP shuts down almost istantly. The only thing that it's not working is audio after sleep. After sleep I can't hear anything, the only way to fix this is by going in Settings -> Sound -> Input tab. and the suddenly it works again. Any way to trigger this action automatically after sleep resume? (like rc script).
Thank you!
Codecommand can help you with the audio after sleep.
在 2017年6月15日,12:43,Mirco Ianese notifications@github.com 写道:
@bozma88 Did a clean install: audio is working with CloverHDA now! I have to say that audio quality is a little bit better with this kext, and AMP shuts down almost istantly. The only thing that it's not working is audio after sleep. After sleep I can't hear anything, the only way to fix this is by going in Settings -> Sound -> Input tab. and the suddenly it works again. Any way to trigger this action automatically after sleep resume? (like rc script).
Thank you!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
@flipphos Thank you for your answer. I searched the web but couldn't find anything helpful about CodecCommander and Sleep. I'm using bozma's CodecCommander, and he has the same ALC256 chip. Do I still need to change something?
If you have installed the CodeCommander in SLE, then you are good to go. Test it after sleep and see if the CC works.
在 2017年6月15日,13:22,Mirco Ianese notifications@github.com 写道:
@flipphos Thank you for your answer. I searched the web but couldn't find anything helpful about CodecCommander and Sleep. I'm using bozma's CodecCommander, and he has the same ALC256 chip. Do I still need to change something?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
@filipphos It works most of the times. Just sometimes it doesn't and I have to go under Settings->Sound->Input to make sound working again. Anyway, I think that with CloverHDA sound quality is better and it has less problems after sleep (and no noisy pop on headphones) compared to AppleHDA method. I think it should be implemented in Deploy (maybe like the touchpad driver, with a choice between AppleHDA or CloverHDA).
Hi! After I applied the latest Deploy script i noticed this huge problem with audio. It was working good before, now it "desappears" randomly. It's hard to explain so i made a video about it, here's the link:
https://www.youtube.com/watch?v=iTl_ckO8_Nw
As you can see audio come's back if i go to Settings->Sound->Input Tab. I also noticed that sometimes audio doesn't work after sleep, and going to Settings->Sound doesn't fix the issue (needs reboot). Note that when I change the volume after the audio disappeared that's not the sound is supposed to make, it's like a "distorted" sound. Same problem with Headphones too!
Any one experiencing this?
EDIT: Seems that this problem shows up after Sleep. It used to work before latest update. EDIT2: If you keep
Settings->Sound->Input
opened in background audio doesn't stop to work.