Hackintosh-Intel-i9-10900k-Gigabyte-Z490-Vision-D icon indicating copy to clipboard operation
Hackintosh-Intel-i9-10900k-Gigabyte-Z490-Vision-D copied to clipboard

Waking up after Sleep

Open RedEars opened this issue 4 years ago • 10 comments

So apparently not everything seems to work on my Hackintosh Build. When I set the mac into sleepmode, it wakes up instantly after fully sleeping (fans off). I followed your guide and have the same hardware. Any idea or method to find out what the reason of this could be?

RedEars avatar Jul 09 '20 06:07 RedEars

Yes. Go to Settings - Energy saver and remove "Wake for network access" and "Enable Power Nap". Disable the last flag in advanced bluetooth settings "Wake from Bluetooth Devices". Add darkwake=0 or 8 to your bootargs.

SchmockLord avatar Jul 11 '20 20:07 SchmockLord

@RedEars just wondering if this solved the issue for you? I still have this issue on mine, I've changed the Bluetooth and sleep settings. My log shows AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

I was wondering what message you have in your console when yours instantly reboots?

Just to add to this - When put to sleep, the screen goes dark and stays dark, but the fans and cpu only turn off for a couple of seconds.

jamesfawcett avatar Aug 07 '20 12:08 jamesfawcett

@RedEars just wondering if this solved the issue for you? I still have this issue on mine, I've changed the Bluetooth and sleep settings. My log shows AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

I was wondering what message you have in your console when yours instantly reboots?

Just to add to this - When put to sleep, the screen goes dark and stays dark, but the fans and cpu only turn off for a couple of seconds.

James I have the same issue after changing the bluetooth and energy settings. Put to sleep, monitor turns of and fans/cpu just for a second or two, and then it will turn back on. Sometimes the monitor will turn on as well. It will continue to cycle like this every couple minutes unless I interact with the computer. I am losing bluetooth connections to my mouse and keyboard, so those are definitely not waking up the computer.

addisonduda avatar Aug 07 '20 14:08 addisonduda

I've done some more troubleshooting with this today, but still not solved. It's not my USB config, I've recreated the port configurations and disabled HS14 in both boot-args and removed from the SSDT's.

I found a really helpful command pmset -g assertions it shows which processed are preventing sleep.

I am still getting the error AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)

When I run the pmset command, I see:

Idle sleep preventers: IODisplayWrangler

I'm going to do some more research, it would be interesting to see what you get from pmset -g assertions?

jamesfawcett avatar Aug 16 '20 11:08 jamesfawcett

@RedEars and @jamesfawcett were you able to figure this out for yourself? I finally discovered what the issue was for my build. I have the H100i RGB PRO XT. Last night I came across that other similar Corsair AIOs have caused sleep issues. The internal USB 2.0 is reported to be the issue, because the cooler is continuously trying to communicate with the Corsair Link software (which isn't available in macOS anyway...) and wakes the system up. The internal USB is only used to change settings for the cooler and doesn't have an effect operation once you have chosen you preferred settings and are happy with them for relatively long term. So... I just unplugged the internal USB, turned off Wake for Network Access and sleeps works great!

addisonduda avatar Oct 10 '20 15:10 addisonduda

Oh sorry yes! I managed to fix it in the end. Both my USB headers on the motherboard ran through one hub, I couldn't disable just one of them because I need the other on the same hub for my bluetooth (Fenvi T919). To resolve, I ran a micro USB cable to the Corsair iCUE USB to a USB port on the back of the machine. Not the prettiest solution, but at least I could map that USB port to Internal in mac, and still have my bluetooth working from the internal header. All resolved thank you https://github.com/SchmockLord/Hackintosh-Intel-i9-10900k-Gigabyte-Z490-Vision-D/issues/61

jamesfawcett avatar Oct 10 '20 18:10 jamesfawcett

Yes. Go to Settings - Energy saver and remove "Wake for network access" and "Enable Power Nap". Disable the last flag in advanced bluetooth settings "Wake from Bluetooth Devices". Add darkwake=0 or 8 to your bootargs.

Hello. I have similar board Asus prime z490a but the only thing which is not working is sleep. I tried all your modifications but without any luck. I always get a restart after sleep. Is there any other solution to check maybe?

Thank you in advance. Kind regards, Johnny

JohnyDeejay avatar Nov 05 '20 10:11 JohnyDeejay

Hi @JohnyDeejay can you search your system.log in the console for "Wake Reason:" and let us know what you find?

jamesfawcett avatar Nov 05 '20 11:11 jamesfawcett

@jamesfawcett I got this messages in iMac logs but in system log i got none when I searched wake or wake reason etc.

In pmset i got the same as you:

Kernel Assertions: 0x4=USB id=509 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14110000 owner=4-Port USB 2.0 Hub id=511 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14c10000 owner=4-Port USB 3.0 Hub id=513 level=255 0x4=USB mod=01/01/1970, 01:00 description=com.apple.usb.externaldevice.14c11000 owner=Patriot Memory Idle sleep preventers: IODisplayWrangler

Screenshot 2020-11-05 at 12 36 03

system log after sleep: Screenshot 2020-11-05 at 12 48 18

JohnyDeejay avatar Nov 05 '20 11:11 JohnyDeejay