MatebookXPro-hackintosh
MatebookXPro-hackintosh copied to clipboard
Sleep not working on Catalina with 1/1/2020 release
Just made a fresh install of Catalina 10.15.2 and it seems to work fine except of sleep which it doesn't even successfully enter. The Matebook X pro has a 1T 970 Evo SSD. Any pointers would be much appreciated.
Doing a fresh install right at this moment. Ill let u know if sleep is going to work
@pascalhahn so i have no issues actually. I have i7 MXP with Liteon NVME. Maybe you can post some logs?
Log attached.
One detail that might matter is that I do chainload clover through grub and am also using the filevault preload with filevault on the APFS partition.
Okay Same story:
It seems to have something to with attached USB Device when going to sleep
panic(cpu 0 caller 0xffffff8006ea295c): Sleep transition timed out after 180 seconds while calling power state change callbacks. Suspected bundle: com.apple.iokit.IOUSBHostFamily. Thread 0x5b8ae.
Failure code:: 0x00000008 00000014
Backtracing specified thread
Backtrace (CPU 0), Frame : Return Address
0xffffff81faa33900 : 0xffffff8006860088
0xffffff81f98e3c40 : 0xffffff800675d6f1
0xffffff81f98e3cb0 : 0xffffff800675beef
0xffffff81f98e3d00 : 0xffffff800685d1c9
0xffffff81f98e3d40 : 0xffffff800685caeb
0xffffff81f98e3d70 : 0xffffff8006e3f1a8
0xffffff81f98e3da0 : 0xffffff8006e420b9
0xffffff81f98e3e00 : 0xffffff8006e2757b
0xffffff81f98e3ea0 : 0xffffff8006e26f74
0xffffff81f98e3ec0 : 0xffffff800677d765
0xffffff81f98e3f40 : 0xffffff800677d291
0xffffff81f98e3fa0 : 0xffffff80066e213e
BSD process name corresponding to current thread: kernel_task
Boot args: dart=0 -cdfon -igfxmlr darkwake=1 gfxrst=1
Mac OS version:
19C57
Kernel version:
Darwin Kernel Version 19.2.0: Sat Nov 9 03:47:04 PST 2019; root:xnu-6153.61.1~20/RELEASE_X86_64
Kernel UUID: C3E7E405-C692-356B-88D3-C30041FD1E72
Kernel slide: 0x0000000006400000
Kernel text base: 0xffffff8006600000
__HIB text base: 0xffffff8006500000
System model name: MacBookPro14,1 (Mac-7DF21CB3ED6977E5)
System shutdown begun: NO
Panic diags file available: YES (0x0)
System uptime in nanoseconds: 4554903334490
last loaded kext at 4218280038240: >!AXsanScheme 3 (addr 0xffffff7f8a5f2000, size 32768)
last unloaded kext at 4040242110909: ru.joedm.SMCSuperIO 1.0.9 (addr 0xffffff7f8a600000, size 28672)
loaded kexts:
com.realtek.driver.RtWlanU1827 1827.4.b36
com.intel.kext.intelhaxm 7.5.1
com.zxystd.!I!BFirmware 1.0.1
as.acidanthera.voodoo.driver.PS2Keyboard 2.1.0
ru.joedm.SMCSuperIO 1.0.9
org.rehabman.driver.NullEthernet 1.0.6
com.alexandred.VoodooI2CHID 1
com.alexandred.VoodooI2C 2.3
as.acidanthera.voodoo.driver.PS2!C 2.1.0
org.coolstar.VoodooGPIO 1.1
as.vit9696.SMCProcessor 1.0.9
as.vit9696.!AALC 1.4.5
org.tw.CodecCommander 2.7.1
org.vanilla.driver.CPUFriend 1.1.9
as.lvs1974.HibernationFixup 1.3.1
xyz.racermaster.NoTouchID 1.0.3
ru.usrsse2.SMCBatteryManager 1
ru.usrsse2.SMCLightSensor 1
as.vit9696.VirtualSMC 1.0.9
com.alexandred.VoodooI2CServices 1
as.vit9696.WhateverGreen 1.3.5
as.vit9696.Lilu 1.4.0
@filesystems.smbfs 3.4
>AudioAUUC 1.70
@fileutil 20.036.15
@filesystems.autofs 3.0
@filesystems.ntfs 3.14.3
>!APlatformEnabler 2.7.0d0
>AGPM 111.4.1
>X86PlatformShim 1.0.0
>!AUpstreamUserClient 3.6.8
>!AGraphicsDevicePolicy 4.5.21
>!AHDA 283.15
@AGDCPluginDisplayMetrics 4.5.21
>!AHV 1
|IOUserEthernet 1.0.1
|IO!BSerialManager 7.0.2f4
>!A!IKBLGraphics 14.0.3
>pmtelemetry 1
>eficheck 1
@Dont_Steal_Mac_OS_X 7.0.0
>!ASMCLMU 212
>!A!IKBLGraphicsFramebuffer 14.0.3
>!ABacklight 180.1
>!A!IPCHPMC 2.0.1
@private.KextAudit 1.0
>!AMCCSControl 1.13
>!A!ISlowAdaptiveClocking 4.0.0
>!ATopCaseHIDEventDriver 3420.1
>!AVirtIO 1.0
@filesystems.hfs.kext 522.0.9
@!AFSCompression.!AFSCompressionTypeDataless 1.0.0d1
@BootCache 40
@!AFSCompression.!AFSCompressionTypeZlib 1.0.0
@filesystems.apfs 1412.61.1
>!ASmartBatteryManager 161.0.0
>!AHPET 1.8
>!AACPIButtons 6.1
>!AACPIEC 6.1
>!ARTC 2.0
>!ASMBIOS 2.1
>!AAPIC 1.7
$!AImage4 1
@nke.applicationfirewall 303
$TMSafetyNet 8
@!ASystemPolicy 2.0.0
|EndpointSecurity 1
>!AXsanScheme 3
>!UAudio 320.49
>usb.cdc 5.0.0
@kext.triggers 1.0
>!AGraphicsControl 4.5.21
>DspFuncLib 283.15
@kext.OSvKernDSPLib 529
|IOAVB!F 800.17
>!ASSE 1.0
>X86PlatformPlugin 1.0.0
|IOAccelerator!F2 438.2.8
>!ABacklightExpert 1.1.0
>!AHDA!C 283.15
|IOHDA!F 283.15
>IOPlatformPlugin!F 6.0.0d8
>!ASMBus!C 1.0.18d1
|IONDRVSupport 569.3
@!AGPUWrangler 4.5.21
@!AGraphicsDeviceControl 4.5.21
|IOSlowAdaptiveClocking!F 1.0.0
@plugin.IOgPTPPlugin 800.14
|IOEthernetAVB!C 1.1.0
|IOSkywalk!F 1
>!AHS!BDriver 3420.1
>IO!BHIDDriver 7.0.2f4
>!AActuatorDriver 3420.2
>!AMultitouchDriver 3420.2
>!AInputDeviceSupport 3420.4
|Broadcom!BHost!CUSBTransport 7.0.2f4
|IO!BHost!CUSBTransport 7.0.2f4
|IO!BHost!CTransport 7.0.2f4
|IO!B!F 7.0.2f4
|IO!BPacketLogger 7.0.2f4
>usb.networking 5.0.0
>usb.!UHostCompositeDevice 1.2
|IOSerial!F 11
|IOSurface 269.6
@filesystems.hfs.encodings.kext 1
>usb.!UHostPacketFilter 1.0
|IOUSB!F 900.4.2
|IONVMe!F 2.1.0
>usb.!UXHCIPCI 1.2
>usb.!UXHCI 1.2
>!AEFINVRAM 2.1
>!AEFIRuntime 2.1
|IOGraphics!F 569.3
|IOHID!F 2.0.0
$quarantine 4
$sandbox 300.0
@kext.!AMatch 1.0.0d1
|IOAudio!F 300.2
@vecLib.kext 1.2.0
|IOSMBus!F 1.1
>DiskImages 493.0.0
>!AFDEKeyStore 28.30
>!AEffaceable!S 1.0
>!AKeyStore 2
>!UTDM 489.60.3
|IOSCSIBlockCommandsDevice 422.0.2
>!ACredentialManager 1.0
>KernelRelayHost 1
>!ASEPManager 1.0.1
>IOSlaveProcessor 1
|IOUSBMass!SDriver 157.40.7
|IOSCSIArchitectureModel!F 422.0.2
|IO!S!F 2.1
|IOUSBHost!F 1.2
>!UHostMergeProperties 1.2
>usb.!UCommon 1.0
>!ABusPower!C 1.0
|CoreAnalytics!F 1
>!AMobileFileIntegrity 1.0.5
@kext.CoreTrust 1
|IOTimeSync!F 800.14
|IONetworking!F 3.4
|IOReport!F 47
>!AACPIPlatform 6.1
>!ASMC 3.1.9
>watchdog 1
|IOPCI!F 2.9
|IOACPI!F 1.4
@kec.pthread 1
@kec.corecrypto 1.0
@kec.Libm 1```
This might be due to the USB ports as describes in the error message. I think you should try either booting without the WIFI stick and plug it in afterwards, or try unplugging the WIFI before you let it sleep.
Same issue for me :/ I tried booting without the USB wifi stick and not plugging in it, but I still get the error when I let the laptop sleep and wake it up afterwards.
Interestingly I wasn't getting the issue with the previous update, so it could be related to some of the new changes.
Disabling "Other Wakeup Sources" in the bios works around this issue for me.
So I opened a pullrequest with proper USBInjection. I hope this fixes the issue. You can find it here: #70
Awesome, I had not a single kernelpanic since that patch 💯
I am still occasionally getting the same kernel panic even after the last update, does anyone still experience the issue?
actually yes. I have this too here and there. I think this needs further investigation. I am trying to create a custom ddst for the matebook as soon as i find some spare time.
actually yes. I have this too here and there. I think this needs further investigation. I am trying to create a custom ddst for the matebook as soon as i find some spare time.
You have probably seen this, but here there seem to be a lot of relevant discussion: https://github.com/daliansky/XiaoMi-Pro-Hackintosh/issues/197
And thank you for your patch! Even though the KP still happens from time to time it seems to be much less often!
I've removed HS05 from the SSDT-UIAC.aml and so far have been able to put the system to sleep nearly 40 times in a row. This will, of course, disable the built-in bluetooth...so that's the downside. I'm not able to figure out how to have bluetooth working AND have a stable / consistent sleep yet.
Doing some dumb manual testing: while true; do sleep 30; pmset sleepnow; done
...and waking it up by hand.