Contribute
Register

Hackintosh Immediately Wakes From Sleep Issues

Joined
Sep 25, 2011
Messages
24
Motherboard
Z370 Gigabyte AORUS Gaming 7
CPU
i7-8700K
Graphics
RX 580
Mac
MacBook Pro
Mobile Phone
Android, iOS
My Build:

Gigabyte Z370 AORUS Gaming 7 running bios F7,
Multiple Nvme SSD's
64GB of Ram
with an Internal PCI-Express BRCM20702 Wifi/Bluetooth (via an internal header)
USB Setup with a custom SSDT to mark the USB Port (HS07) as internal.
Mojave V10.14.6

My Issue is the machine immediately wakes from sleep when the bluetooth header is plugged in. Looking at System Report I see this:

Screen Shot 2019-08-25 at 4.32.37 PM.png


As you can see the there appears to be a hub before the controller - the hub is being shown as Internal - but the host controller is not.

Besides disabling bluetooth - is there anyway to get the host controller showing as "built-in" instead of the Hub?

The log shows the wake Reason as
(AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XDCI XHC

Any help appreciated.


UPDATE: SOLVED

I had a HD60S plugged (a HDMI stream capture device) - this was waking my device.
 
Last edited:

UtterDisbelief

Moderator
Joined
Feb 13, 2012
Messages
2,897
Motherboard
Gigabyte Z370M D3H
CPU
i3-8350K
Graphics
RX 560
Mac
iMac, Mac mini
Classic Mac
eMac, iBook
Mobile Phone
iOS
My Build:

Gigabyte Z370 AORUS Gaming 7 running bios F7,
Multiple Nvme SSD's
64GB of Ram
with an Internal PCI-Express BRCM20702 Wifi/Bluetooth (via an internal header)
USB Setup with a custom SSDT to mark the USB Port (HS07) as internal.
Mojave V10.14.6

My Issue is the machine immediately wakes from sleep when the bluetooth header is plugged in. Looking at System Report I see this:

View attachment 423103

As you can see the there appears to be a hub before the controller - the hub is being shown as Internal - but the host controller is not.

Besides disabling bluetooth - is there anyway to get the host controller showing as "built-in" instead of the Hub?

The log shows the wake Reason as
(AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XDCI XHC

Any help appreciated.

Hello there.

With your motherboard the USB sub-system is a little confusing. There are two extra, add-on controllers alongside the main Intel one - ASMedia and Realtek - these will probably be seen by macOS as "hubs". ASMedia runs the USB-C and Type-A Red ports. Realtek runs USB3.1 Gen 1 ports and internal headers.

Double check which port HS07 is. Of your internal headers there are 4x Intel USB2.0 ports and it is one of these that your should attach your bluetooth cable to. My guess is that these are 2x 9-pin sockets next to each other along the bottom-edge of the motherboard.

These USB2.0 ports will not show as 'hubs' so will accept the '255' "UsbConnector" value.:thumbup:

If they do then there is a configuration problem somewhere.

So. .. If this doesn't work then post an IOReg output from IORegistryExplorer so we can see how the controllers are configured.

:)
 
Joined
Sep 25, 2011
Messages
24
Motherboard
Z370 Gigabyte AORUS Gaming 7
CPU
i7-8700K
Graphics
RX 580
Mac
MacBook Pro
Mobile Phone
Android, iOS
So I took a look:

I have another internal device which I normally leave disconnected - this is the NZXT h500i controller for fans and less.

When I plug that device into the same port as the Bluetooth - it shows as built-in without a hub. This leads me to believe that the bluetooth hub is actually implemented on the wifi/bluetooth PCI-Express card I'm currently using.

Is there no way to mark the controller off that hub as internal?
 
Joined
Sep 25, 2011
Messages
24
Motherboard
Z370 Gigabyte AORUS Gaming 7
CPU
i7-8700K
Graphics
RX 580
Mac
MacBook Pro
Mobile Phone
Android, iOS
Just thinking out load here - would it be easier to get a BT 4.0 USB Dongle? Maybe something with an external Antenna? Any out there that work with Continuity ?
 
Joined
Apr 23, 2019
Messages
7
Motherboard
Gigabyte Z390i
CPU
i7-8700
Graphics
RX 580
Mac
MacBook Pro, Mac Pro
Mobile Phone
Android, iOS
I have a very similar setup to you (Gigabyte Z390i AORUS).

Installed an Apple BCM94360CS2 card yesterday. Initially had the same immediate wake from sleep issue. Marking the port (HS11 in my case) as internal (255) has fixed this. However, now my BT devices will not wake the Mac from sleep...

The device appears the same as yours in the device tree.

Before this I was using an ASUS bluetooth USB dongle (https://www.amazon.co.uk/gp/product/B00CM83SC0/?tag=tonymacx86-21). This worked well, though didn't support AirDrop (or presumably Continuity etc). Also the range was poor, but ok at my desk.
 

Attachments

Joined
Sep 25, 2011
Messages
24
Motherboard
Z370 Gigabyte AORUS Gaming 7
CPU
i7-8700K
Graphics
RX 580
Mac
MacBook Pro
Mobile Phone
Android, iOS
I can report I was able to solve my issue. The issue I had was I had a HD60S Streaming USB Device plugged into my USB - this device was causing it to wake immediately.

As for waking from sleep from a bluetooth device - try clicking bluetooth (in system preferences) - advanced - "Allow bluetooth devices to wake this computer"
 
Top