cryptic unix Posted June 25, 2025 Share Posted June 25, 2025 (edited) Dear forum members, I'm face with a strange sleep issue with my latest installation of macOS. There is an instant wake only when connected to the power supply (barrel plug, the Notebook doesn't have USB-C). First of all let me give some details about my hardware and software combination: Notebook Asus UX305FA CPU M-5Y10C (Intel Broadwell) iGPU HD5300 Wireless DW1560 (BCM94352Z) Bootloader OpenCore 0.6.4, 0.7.1 and 1.0.2 tested Operating System: macOS Catalina 10.15.7 Previously, the notebook was running on Clover and El Capitan. The entire hardware was supported. Two week ago I stumbled over a GitHub repository with a EFI folder for OpenCore and wanted to give it a try (https://github.com/lehoa1806/UX305FA-OpenCore). The installation was straight forward and the system works nicely. Pretty much every thing works except sleep. When on battery power sleep and wake work flawlessly. However, when connected to the power adapter it's not. In this case, the notebook goes to sleep and directly wakes up again. I tried to analyze the wake reason: log show --last 1h | grep "Wake reason" kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: GLAN EHC1 EHC2 But I do not understand the problem. The notebook doesn't have GLAN only the above mentioned wireless. EHC1 and EHC2 indicate a USB issue. I created the USBPort.kext myself via Hackintool and tried the one from the repository. But the problem is always the same. Reading through the entire Dortania Post-Install Guide (https://dortania.github.io/OpenCore-Post-Install/) also didn´t help to find a solution. Especially, as sleep is working when on battery power is confusing to me. Here are my powersettings, as show via pmset -g: System-wide power settings: Currently in use: standby 1 womp 0 halfdim 1 hibernatefile /var/vm/sleepimage powernap 0 gpuswitch 2 networkoversleep 0 disksleep 10 standbydelayhigh 86400 sleep 15 autopoweroffdelay 259200 hibernatemode 3 autopoweroff 1 ttyskeepawake 1 displaysleep 15 highstandbythreshold 50 standbydelaylow 1080 I'd appreciate any hints on how to solve the issue. Currently, I don't have the slightest clue what might cause the problem. Any idea about the direction I might look into would already be a big help. Thanks a lot for reading! Edited July 12, 2025 by cryptic unix Link to comment https://www.insanelymac.com/forum/topic/361239-solved-sleep-only-working-on-battery-power/ Share on other sites More sharing options...
cryptic unix Posted July 12, 2025 Author Share Posted July 12, 2025 For the last two week, I kept investigating the issue. Even though I couldn't solve it, I at least gained some new insights. I started from scratch with OpenCore 1.0.2 and gathered kexts, SSDTs and created a config.plist. However, the sleep problem remained. That is, until I started mapping the USB ports with the USBMap tool from corpnewt. In doing so, I could at least narrow the problem down to two USB ports that are causing the issue, being: - the internal webcam and - the bluetooth device. By disabling both of these ports, sleep is working fine. But if any of the two ports is enabled, sleep will not work, when the device is plugged into the power connection. Only if running on battery power, sleep works fine. Still, I don't have any clue what causes this strange behavior. My next step might be, trying to map the USB ports manually, like it is described in the Dortania guide. However, I'm only guessing and would still appreciate any hints that could point me in the right direction to uncover and solve the root cause. Link to comment https://www.insanelymac.com/forum/topic/361239-solved-sleep-only-working-on-battery-power/#findComment-2836798 Share on other sites More sharing options...
cryptic unix Posted July 12, 2025 Author Share Posted July 12, 2025 (edited) Finally, I managed to solve the issue. I remapped everything using the Hackintool and USBInjectAll.kext. There is one critical point. The internal USB devices (webcam & Bluetooth) must be marked as "Internal" within the Hackintool. If they are just marked as USB 2.0 the sleep issue will occur. But now, the USBPorts.kext created by Hackintool does the trick and sleep works no matter if the power plug is connected or not. I hope this helps, in case anybody experiences a similar issue. Edited July 20, 2025 by cryptic unix 1 Link to comment https://www.insanelymac.com/forum/topic/361239-solved-sleep-only-working-on-battery-power/#findComment-2836823 Share on other sites More sharing options...
Recommended Posts