SchmockLord / Hackintosh-Intel-i9-10900k-Gigabyte-Z490-Vision-D

https://www.patreon.com/SchmockLord
https://youtu.be/szOofRy7uBc
686 stars 125 forks source link

Waking up after Sleep #30

Open RedEars opened 4 years ago

RedEars commented 4 years ago

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?

SchmockLord commented 4 years ago

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.

jamesfawcett commented 4 years ago

@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.

addisonduda commented 4 years ago

@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.

jamesfawcett commented 4 years ago

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?

addisonduda commented 4 years ago

@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!

jamesfawcett commented 4 years ago

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

JohnyDeejay commented 4 years ago

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

jamesfawcett commented 4 years ago

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

JohnyDeejay commented 4 years ago

@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
danny-arroway commented 4 months ago

@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!

Thank you so much for such a wonderful suggestion, really appreciate this! I have a Corsair Crystal Series 280X RGB case and it too required a USB 2.0 header to connect to the motherboard. It was detected as internal port 13 (type 255 when I did my USB Port Mapping), and you're right, it was causing all the immediate wake from sleep issues! I disconnected the USB 2.0 header, but also had to remap my USB ports to exclude the internal port 13, and now everything works beautifully on my 11600K running Sonoma 14.5. Thank you!