Contribute
Register

Bluetooth doesn't work after wake on Monterey.

Joined
May 29, 2012
Messages
833
Motherboard
Gigabyte Z390 Gaming X
CPU
i9-9900K
Graphics
6900XT
Mac
  1. iMac
Classic Mac
  1. LC
  2. Power Mac
  3. PowerBook
Mobile Phone
  1. iOS
I am using the SMbios 19,1 which seems to go give more issues. I have seen people report success with 1,1 by remocing USBWakeFixup.kext and some SSDT

@eXTriC - We have similar rigs (CPU + mobo combo), with a Fenvi-919. I did a clean install of Monterey, and BT is working after deep sleep/wake cycle so far, knock on wood. There has been one time when I restarted and my mouse wasn't connected but keyboard was. I'm also on the iMac 19,1 SMBios.

Edit: The loss of my BT mouse after restart was real and reproducible. Installing BlueToolFixup.kext from the rcmPatchRAM-2.6.1 suite of kexts seems to have solved the problem
 
Last edited:
Joined
Oct 22, 2013
Messages
20
Motherboard
GA-Z390-AORUS-PRO
CPU
i7-9700K
Graphics
RX 580
Mac
  1. iMac
  2. MacBook
  3. MacBook Pro
Mobile Phone
  1. iOS
@eXTriC - We have similar rigs (CPU + mobo combo), with a Fenvi-919. I did a clean install of Monterey, and BT is working after deep sleep/wake cycle so far, knock on wood. There has been one time when I restarted and my mouse wasn't connected but keyboard was. I'm also on the iMac 19,1 SMBios.

Edit: The loss of my BT mouse after restart was real and reproducible. Installing BlueToolFixup.kext from the rcmPatchRAM-2.6.1 suite of kexts seems to have solved the problem
I've installed BlueToolFixup.kext from the latest BrcmPatchRam-2.6.1 release but no change?!

Update: my problem with the delayed BT activation after sleep has been resolved. Apparently, for some strange reason my Fibaro CO Sensor (also BT) was connecting first to my Hackintosh (as HID device) and thereby blocking my regular HID devices (mouse / keyboard). I've removed this Fibaro CO Sensor from the BT auto connect list (not sure how it got there in the first place), and now everything works like a charm again (without BlueToolFixup.kext) :)

Update #2: and we are back to square #1 - BT delay after wake is back. I've also noticed that the BT Preference plane is not available during this delay (> 30 secs). I've tried to find the com.apple.Bluetooth.plist but in order to delete it (remove all connected BT devices), but the file is non-existing?!? Where does Monterey keep track of it's BT devices, is this somewhere in the iCloud?!?
 
Last edited:
Joined
Jun 15, 2012
Messages
16
Motherboard
Gigabyte Z390 Designare
CPU
i9-9900K
Graphics
RX 580
Mac
  1. MacBook
  2. MacBook Pro
  3. Mac mini
  4. Mac Pro
Classic Mac
  1. 512K
  2. iBook
  3. SE
Mobile Phone
  1. iOS
TLDR: Is your keyboard plugged into a hub or directly into a USB port?

I've had my vintage 2003 Apple keyboard plugged into my monitor's USB hub since High Sierra. All sleep, wake and power functions worked fine. I skipped Catalina and, after converting from Clover to Opencore and Big Sur, eventually found it took two keyboard hits to fully wake the system and monitor. This bothered me some, though not enough to look for a solution.

After doing a test install of Monterey on OC 7.4, the wake issues got much worse. The system would only wake from sleep by pressing the power button, but magic mouse scrolling and othere things were broken, as noted by OP and others in this thread. Using pkill bluethoothd fixed the mouse and BT, but wasn't a satisfactory solution for me.

I tried changing BIOS settings, a handful of different BT kexts and UDSBPorts mods, with no success. On the other hand, I discovered that wake from sleep worked fine with the keyboard plugged directly into the front USB panel (Designare Z390 HS05-06/SS05-06.)

Googling "mac wont wake usb hub", there were a number of references, even as far back as 2011, about Macs failing to wake properly when a keyboard was attached to a hub, leading me to think this wasn't just a Hack issue. The general conclusion seemed to be that some hubs just don't wake from sleep well on Macs, so main input devices should be connected directly to a USB port on the machine.

In Big Sur (11.6.1, OC 7.5) I tried plugging the USB cable supplying the monitor hub into different system USB ports. After moving the cable from the Designare HS10 port (USB2 only) to one of the HS07/SS07 (internal) hub ports, a single keyboard entry worked to completely wake from sleep - even though the keyboard was still attached to the monitor hub.

Back in Monterey, the change made no difference. Only bypassing the monitor hub all together and plugging the keyboard directly into an HS07/SS07 port fixed the problem. A single keyboard hit completely wakes the system, with no mouse scrolling or other issues, as far as I can tell.

As usual, YMMV? Big Sur will probably remain my OS of choice until after the 12.1 update, so I won't be testing this much further for now. But maybe this will provide some clues to others users the developers as to what is going on....
 
Joined
May 3, 2019
Messages
85
Motherboard
Gigabyte Z390 Gaming X
CPU
i9-9900K
Graphics
RX 5700 XT
Mac
  1. MacBook Air
  2. MacBook Pro
Mobile Phone
  1. iOS
@eXTriC - We have similar rigs (CPU + mobo combo), with a Fenvi-919. I did a clean install of Monterey, and BT is working after deep sleep/wake cycle so far, knock on wood. There has been one time when I restarted and my mouse wasn't connected but keyboard was. I'm also on the iMac 19,1 SMBios.

Edit: The loss of my BT mouse after restart was real and reproducible. Installing BlueToolFixup.kext from the rcmPatchRAM-2.6.1 suite of kexts seems to have solved the problem
Can you share your EFI? I am not able to solve it and on top of it I am starting to get frequent IONVMeFamily kernel panics. I needed to go back to an SSD. Must be something wrong that I am obviously missing
 
Joined
May 29, 2012
Messages
833
Motherboard
Gigabyte Z390 Gaming X
CPU
i9-9900K
Graphics
6900XT
Mac
  1. iMac
Classic Mac
  1. LC
  2. Power Mac
  3. PowerBook
Mobile Phone
  1. iOS
Can you share your EFI? I am not able to solve it and on top of it I am starting to get frequent IONVMeFamily kernel panics. I needed to go back to an SSD. Must be something wrong that I am obviously missing

@eXTriC - I've been meaning to do that. I can go through it, take out all the custom stuff, and upload it. Hopefully tonight.
 
Joined
May 29, 2012
Messages
833
Motherboard
Gigabyte Z390 Gaming X
CPU
i9-9900K
Graphics
6900XT
Mac
  1. iMac
Classic Mac
  1. LC
  2. Power Mac
  3. PowerBook
Mobile Phone
  1. iOS
Can you share your EFI? I am not able to solve it and on top of it I am starting to get frequent IONVMeFamily kernel panics. I needed to go back to an SSD. Must be something wrong that I am obviously missing

@eXTriC

Try this EFI.

Just a quick note, there are some kexts in there that I don't use in the current config. I also disabled the spoof that allows me to run my 6900 XTXH card, which I assume you don't need. Also, I disabled the AppleVTD because I assume that most people aren't running this.

I also scrubbed my serial and bios, of course.

Let me know how this works.
 

Attachments

  • OC 0.7.4 Gigabyte Z390 Gaming X.zip
    19.5 MB · Views: 90
Joined
Oct 22, 2013
Messages
20
Motherboard
GA-Z390-AORUS-PRO
CPU
i7-9700K
Graphics
RX 580
Mac
  1. iMac
  2. MacBook
  3. MacBook Pro
Mobile Phone
  1. iOS
I noticed the following when looking at 'pmset -g log | grep -i "wake from"':
Apparently, by clicking the BT mouse my BT adapter causes only a darkwake through the xDCI controller and doesn't trigger a full wake?!
When I subsequently (after 17 seconds) hit a button on my USB connected keyboard, it goes to full wake (due to HID activity).

2021-11-11 15:54:25 +0100 DarkWake DarkWake from Normal Sleep [CDNP] : due to XDCI CNVW/ Using AC (Charge:0%) 17 secs
2021-11-11 15:54:42 +0100 Wake DarkWake to FullWake from Normal Sleep [CDNVA] : due to HID Activity Using AC (Charge:0%)
 
Joined
May 29, 2012
Messages
833
Motherboard
Gigabyte Z390 Gaming X
CPU
i9-9900K
Graphics
6900XT
Mac
  1. iMac
Classic Mac
  1. LC
  2. Power Mac
  3. PowerBook
Mobile Phone
  1. iOS
Can you share your EFI? I am not able to solve it and on top of it I am starting to get frequent IONVMeFamily kernel panics. I needed to go back to an SSD. Must be something wrong that I am obviously missing
@eXTriC -- any luck with the EFI?
 
Joined
Oct 22, 2013
Messages
20
Motherboard
GA-Z390-AORUS-PRO
CPU
i7-9700K
Graphics
RX 580
Mac
  1. iMac
  2. MacBook
  3. MacBook Pro
Mobile Phone
  1. iOS
I've disabled the memory XMP Profile 1 in the BIOS and now the BT issues are gone with Monterey. Very strange that there are dependencies/sensitives in MacOS 12 related to this setting?!?
 
Last edited:
Top