Contribute
Register

Mojave 10.14.5 Intel HD630 No resume from sleep

Joined
Mar 24, 2013
Messages
47
Motherboard
ASUS Z270 TUF Mark 1
CPU
I7-7700K
Graphics
HD630 / GTX 1080 Ti
Mac
  1. iMac
Mobile Phone
  1. iOS
Lilu cannot be exclude.
No, this doesn’t work either... basically the same problem. System sleeps, but blank screen on wake. USB seems to partially initialise as described in the linked thread above.

Thanks though,

Jon.
 
Joined
Dec 18, 2013
Messages
462
Motherboard
Lenovo Yoga C740
CPU
i7-10510U
Graphics
Intel UHD Graphics
Mac
  1. MacBook Air
  2. MacBook Pro
Mobile Phone
  1. Android
In many cases it is the faulty USB configuration causing problems with sleep/wake. If you're using USBInjectAll there might be side effects. Best is to have a clean USB configuration, i.e. with HackinTool.
 
Last edited:
Joined
Mar 24, 2013
Messages
47
Motherboard
ASUS Z270 TUF Mark 1
CPU
I7-7700K
Graphics
HD630 / GTX 1080 Ti
Mac
  1. iMac
Mobile Phone
  1. iOS
In many cases it is the faulty USB configuration causing problems with sleep/wake. If you're using USBInjectAll there might be side effects. Best is to have a clean USB configuration, i.e. with HackingTool.
Yes, I read that - I disabled all USB ports (except 2 USB2 ports for keyboard and mouse) to test and did not use USBInjectAll etc. But the fault remained. I must admit, I am confused as to how to configure my USB correctly (despite looking at some guides) it doesn’t seem particularly easy.

Do you have a foolproof guide for the Hacking tool?

Cheers,

Jon.
 
Joined
Dec 18, 2013
Messages
462
Motherboard
Lenovo Yoga C740
CPU
i7-10510U
Graphics
Intel UHD Graphics
Mac
  1. MacBook Air
  2. MacBook Pro
Mobile Phone
  1. Android
Do you have a foolproof guide for the Hackintool?
Actually the HackinTool has a decent guide, but slightly outdated. This is what I did:
  1. Install USBInjectAll for port discovery
  2. Apply the DSDT renames (see the guide)
  3. Apply the port limit patches for your macOS version
  4. Rebuild cache and reboot
  5. Start the HackinTool and go to the USB section
  6. Kick the Clear All button and then the reload button (the list rebuilds, some entries are green, some not - green are ports which are already in use)
  7. Take a USB3 hub and connect it to all USB ports your machine has. There should be connects to USB3 and USB2 ports at the same time. This is what a USB3 hub does, connects to a USB3 and the USB2 lanes at one time. Choose USB2 for external connectors where the USB2 devices are connected. Leave the others as they are, especially internals and USB3.
  8. Remove the unused ports with the minus button, those which didn't go green in the port discovery process
  9. Click export and copy the resulting USBPorts.kext to the Clover/Other directory.
  10. Remove USBInjectAll.kext. I think it is also safe to deactivate the port limit patches but leave the rename patches active.
  11. Reboot, start the Hackintool and check if there are only ports which are meant for use in the list. Click clear all and reload a few times. If all looks good you're done.
  12. Rebuild cache and reboot a few times.
  13. See if the sleep/wake process is working now
  14. If your USB configuration is clean then there are another issues maybe in your DSDT which need patching. Pay attention to XOSI patches as they are also source of problems when it comes to sleep/wake.
Good luck! Although luck is not needed here, just a clean work and clean results.

409460
 
Last edited:
Joined
May 23, 2019
Messages
242
Motherboard
ASRock Z390 Phantom
CPU
i9-9900K
Graphics
UHD 630
Mac
  1. Mac Pro
Mobile Phone
  1. iOS
Ok so I decided to test if sleep/wake works on my system and it doesn't :(. Because I was using it without an attached monitor, I never noticed. Anyways its not a big issue for me but I tried a lot of combinations and couldn't come to solve it.

I realised that when I gave a wake command (through Apple Remote Desktop app), the PC's lights would come up, I would get ping replies to 2-3 packets and then it would just hang. I had to do a hard reboot to get it to work.

I tried removing USBInjectAll and the same results followed :( (I think my motherboard has less than 15 ports - but anyways since I excluded the kext it doesn't apply)

Sorry couldn't be of much help to you.

sudo pmset -g log | grep -i failure
2019-06-03 19:29:55 +0800 Failure Darkwake Exit Failure during wake due to 0x18A2759D00000032:
2019-06-03 20:19:40 +0800 Failure Darkwake Exit Failure panic during wake due to 0x18A2759D00000032:
2019-06-03 20:22:34 +0800 Failure Darkwake Exit Failure panic during wake due to 0x18A2759D00000032:
 
Joined
Mar 24, 2013
Messages
47
Motherboard
ASUS Z270 TUF Mark 1
CPU
I7-7700K
Graphics
HD630 / GTX 1080 Ti
Mac
  1. iMac
Mobile Phone
  1. iOS
Actually the HackinTool has a decent guide, but slightly outdated. This is what I did:
  1. Install USBInjectAll for port discovery
  2. Apply the DSDT renames (see the guide)
  3. Apply the port limit patches for your macOS version
  4. Rebuild cache and reboot
  5. Start the HackinTool and go to the USB section
  6. Kick the Clear All button and then the reload button (the list rebuilds, some entries are green, some not - green are ports which are already in use)
  7. Take a USB3 hub and connect it to all USB ports your machine has. There should be connects to USB3 and USB2 ports at the same time. This is what a USB3 hub does, connects to a USB3 and the USB2 lanes at one time. Choose USB2 for external connectors where the USB2 devices are connected. Leave the others as they are, especially internals and USB3.
  8. Remove the unused ports with the minus button, those which didn't go green in the port discovery process
  9. Click export and copy the resulting USBPorts.kext to the Clover/Other directory.
  10. Remove USBInjectAll.kext. I think it is also safe to deactivate the port limit patches but leave the rename patches active.
  11. Reboot, start the Hackintool and check if there are only ports which are meant for use in the list. Click clear all and reload a few times. If all looks good you're done.
  12. Rebuild cache and reboot a few times.
  13. See if the sleep/wake process is working now
  14. If your USB configuration is clean then there are another issues maybe in your DSDT which need patching. Pay attention to XOSI patches as they are also source of problems when it comes to sleep/wake.
Good luck! Although luck is not needed here, just a clean work and clean results.

View attachment 409460
Well, this was an interesting excercise.

It hasn’t helped, but at least I know it’s not a USB issue!

I now see only the XHC ports that are present (in my case HS01 to HS14) I also disable the ASMedia USB 3.1 ports in the bios.
Ok so I decided to test if sleep/wake works on my system and it doesn't :(. Because I was using it without an attached monitor, I never noticed. Anyways its not a big issue for me but I tried a lot of combinations and couldn't come to solve it.

I realised that when I gave a wake command (through Apple Remote Desktop app), the PC's lights would come up, I would get ping replies to 2-3 packets and then it would just hang. I had to do a hard reboot to get it to work.

I tried removing USBInjectAll and the same results followed :( (I think my motherboard has less than 15 ports - but anyways since I excluded the kext it doesn't apply)

Sorry couldn't be of much help to you.

sudo pmset -g log | grep -i failure
2019-06-03 19:29:55 +0800 Failure Darkwake Exit Failure during wake due to 0x18A2759D00000032:
2019-06-03 20:19:40 +0800 Failure Darkwake Exit Failure panic during wake due to 0x18A2759D00000032:
2019-06-03 20:22:34 +0800 Failure Darkwake Exit Failure panic during wake due to 0x18A2759D00000032:

Ah,

Thanks for the feedback never the less!

I think I will stop trying to get this to work now!

I was pressing on because I thought others had this working.

Perhaps it is not possible after all (for now!?)

I have exhausted all options now I think, I have a fully working system with the exception of wake from sleep!

Not too bad I suppose, though a bit annoying to have 99% functionality!
(That pesky 1% has cost me hours and hours!)

Please keep the suggestions coming if possible, or if you manage to get it working yourself (that’s to everyone)

Thanks all for the help!

Jon.
 
Last edited:
Joined
Mar 24, 2013
Messages
47
Motherboard
ASUS Z270 TUF Mark 1
CPU
I7-7700K
Graphics
HD630 / GTX 1080 Ti
Mac
  1. iMac
Mobile Phone
  1. iOS
Of course I didn't know about the pmset log...

Here are the failure reasons for me as I've been testing today. (I know I just said I may give up!!? ;) )

The system has been in various states of flux today as I've tried your suggestions.

I'm not sure what caused the difference with each test.

But between them they list all sorts - no idea which one is the culprit!?

2019-06-02 19:54:50 +0100 Failure Drivers Failure during wake due to PEG0(),IGPU(),XHC(XHC),SAT0(),RP05(PXSX),HDEF(),GLAN(IntelMausi):

2019-06-03 11:34:53 +0100 Failure Drivers Failure during wake due to PEG0(),IGPU(),XHC(XHC),IMEI(),SAT0(),RP05(PXSX),RP08(AirPort_BrcmNIC),HDEF(),GLAN(IntelMausi):

2019-06-03 12:14:10 +0100 Failure Sleep Failure [code:0x280753000000031]:

2019-06-03 12:34:15 +0100 Failure Drivers Failure during wake due to IGPU(),SAT0(),HDEF():

2019-06-03 12:58:20 +0100 Failure Drivers Failure during wake due to PEG0(),IGPU(),XHC(XHC),SAT0(),HDEF(),GLAN(IntelMausi):

2019-06-03 15:18:14 +0100 Failure Drivers Failure during wake due to IGPU(),IMEI():

2019-06-03 15:58:08 +0100 Failure Drivers Failure during wake due to IGPU(),XHC(XHC),SAT0(),RP08(AirPort_BrcmNIC),HDEF(),GLAN(IntelMausi):

2019-06-03 16:17:48 +0100 Failure Drivers Failure during wake due to PEG0(),IGPU(),XHC(XHC),IMEI(),SAT0(),HDEF(),GLAN(IntelMausi):
 
Joined
May 11, 2011
Messages
1,161
Motherboard
Asrock B365M Phantom Gaming
CPU
i5-9600KF
Graphics
RX 580
Mobile Phone
  1. iOS
Post your EFI folder and IORegistry using IORegistry Explorer.
 
Joined
Mar 24, 2013
Messages
47
Motherboard
ASUS Z270 TUF Mark 1
CPU
I7-7700K
Graphics
HD630 / GTX 1080 Ti
Mac
  1. iMac
Mobile Phone
  1. iOS
Post your EFI folder and IORegistry using IORegistry Explorer.
Is there anything specific you need to see? It’s just that I will have to obfuscate the data as it contains my serial etc. Don’t really want that in the public domain!

Is there a quick way to do this (especially for the IORegistry data)

Thanks though for your help.

Jon.
 
Joined
May 11, 2011
Messages
1,161
Motherboard
Asrock B365M Phantom Gaming
CPU
i5-9600KF
Graphics
RX 580
Mobile Phone
  1. iOS
Is there anything specific you need to see? It’s just that I will have to obfuscate the data as it contains my serial etc. Don’t really want that in the public domain!

Is there a quick way to do this (especially for the IORegistry data)

Thanks though for your help.

Jon.

LOL, its a hack machine not a real mac.... you can generate a new serial anytime.

From you PMset log you really have lots of problems, its more easy for me to do the right config than posting x100 messages how to do it.
 
Top