Contribute
Register

[Guide] USB power property injection for Sierra (and later)

Joined
Jun 8, 2018
Messages
18
Motherboard
Gigabyte Z370 Aorus Gaming Ultra 2.0 - F11
CPU
i7-8700K
Graphics
RX 580
Mac
MacBook Pro, Mac mini
Hi all, can I completely disable power of a specific USB port (only one though) during sleep? I use USBPorts.kext injection (Hackintool generated) with SSDT-EC.aml and SSDT-USBX.aml. Maybe the power values in SSDT-USBX.aml - kUSBSleepPortCurrentLimit and kUSBSleepPowerSupply - could be set to 0 for a specific USB port only? But where?

Background: My EIZO screen is connected via USB. If I turn it off during sleep, the computer wakes up (as I removed a USB hub which is in the screen).

In addition, I noted that when the system is shut down, USB ports are still charging. MacOS overrides my Bios ERP setting. If I turn ERP off and on again, boot Windows and shut down, USB ports are not charging. Starting macOS once, they charge again. Any idea how macOS could be stopped from changing the behavior set in BIOS?
 

Top