Contribute
Register

Sleep Wake Failure

Status
Not open for further replies.
Joined
Nov 27, 2016
Messages
6
Motherboard
Gigabyte GA-170X-UD3 Ultra
CPU
i7-6700K
Graphics
GTX 980 Ti / HD 530
I have an ongoing problem where my hackintosh appears to sleep correctly (fans and motherboard turn off after about 15 seconds). When it wakes from sleep after a long time an error appears stating that the computer was restarted due to a problem. The attached error report shows a Sleep Wake Failure. I think the problem may be related to USB, but I am not sure how to fix it. Checking the log for the wake reason returns a list like this:

Code:
log show --style syslog | fgrep "Wake reason"
2018-11-02 08:28:17.825171-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XDCI
2018-11-03 10:51:05.907786-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XDCI
2018-11-03 10:51:05.907789-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XDCI
2018-11-03 21:47:20.190095-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XDCI
2018-11-03 21:47:20.190097-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XDCI

I am using a custom SSDT file I created following the steps the following posts. All of the ports are working, and they have power for USB devices.
https://www.tonymacx86.com/threads/guide-creating-a-custom-ssdt-for-usbinjectall-kext.211311/
https://www.tonymacx86.com/threads/guide-usb-power-property-injection-for-sierra-and-later.222266/

My Clover directory is also attached. Is this a USB problem, and if so do I need to disable one port at a time to find out which one is causing a problem? Thanks.
 

Attachments

  • Error Report.txt
    91.6 KB · Views: 188
  • CLOVER.zip
    8.3 MB · Views: 54
I have an ongoing problem where my hackintosh appears to sleep correctly (fans and motherboard turn off after about 15 seconds). When it wakes from sleep after a long time an error appears stating that the computer was restarted due to a problem. The attached error report shows a Sleep Wake Failure. I think the problem may be related to USB, but I am not sure how to fix it. Checking the log for the wake reason returns a list like this:

Code:
log show --style syslog | fgrep "Wake reason"
2018-11-02 08:28:17.825171-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XDCI
2018-11-03 10:51:05.907786-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XDCI
2018-11-03 10:51:05.907789-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XDCI
2018-11-03 21:47:20.190095-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XDCI
2018-11-03 21:47:20.190097-0700  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XDCI

I am using a custom SSDT file I created following the steps the following posts. All of the ports are working, and they have power for USB devices.
https://www.tonymacx86.com/threads/guide-creating-a-custom-ssdt-for-usbinjectall-kext.211311/
https://www.tonymacx86.com/threads/guide-usb-power-property-injection-for-sierra-and-later.222266/

My Clover directory is also attached. Is this a USB problem, and if so do I need to disable one port at a time to find out which one is causing a problem? Thanks.
you still have the patch:
USB 10.13.4+ by PMHeart
enabled

if you had followed the guide that you linked above, then that would have been disabled and USBInjectAll.kext installed to /Library/Extensions (along with all your other kexts you need) and then config.plist -> InjectKexts would be set to Detect
 
Thanks for the information. Just to clarify, I went back and looked at the first post for both of the items I linked, but did not see a reference to USB 10.13.4+ or placing all kexts in Library/Extensions (I do have USBInjectAll.kext at that location though). Is that mentioned in one of the subsequent posts?
 
Thanks for the information. Just to clarify, I went back and looked at the first post for both of the items I linked, but did not see a reference to USB 10.13.4+ or placing all kexts in Library/Extensions (I do have USBInjectAll.kext at that location though). Is that mentioned in one of the subsequent posts?
the guide has been updated recently to not use the port limit patch

from the guide under requirements:
install USBInjectAll.kext (install to the system volume)
means to install to /Library/Extensions

there is a write up here regarding kext installation: (scroll down to post 2)
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/
 
Status
Not open for further replies.
Back
Top