Jump to content

[Solved] CSR8510 USB Bluetooth not working after wake from sleep in Ventura


10 posts in this topic

Recommended Posts

Hello,

 

I'm using 3rd party CSR8510 Bluetooth 4.0 USB 1.1 dongle and it stops working after waking from sleep: unplugging, turning on/off, plugging back makes no difference: Bluetooth not available. I see that USB power is supplied after wake to the Bluetooth dongle - led is on, so it has power. Only reboot fixes the issue.

  • macOS Ventura 13.6
  • OCLP Root patch for USB 1.1
  • AppleUSBUHCI.kext and AppleUSBUHCIPCI.kext are injected via OC to add USB 1.1 back.
  • BlueToolFixup.kext (2.6.8) is injected via OC
  • USB ports are mapped via USBTool
  • Suspend S3 works fine

I think the issue with CSR8510 can be related to BlueToolFixup

csr8510_htool.png.8c180030861de281669320d77bc6e826.png

System info:

bt_csr8510_sys_info.png.cecdd40d1050a1076dae73935b3c9af8.png

 

bt_sys_info.png.f43a4afc8a598509a3fbd045a38a5b07.png

IOReg:

When Bluetooth stops working:

bt_ioreg.png.4937610deb19ddca51ac1d7ddbe3c2fd.png

bt_ioreg2.png.ece890ef5790d285dd7e4caf06f50be1.png

When Bluetooth dongle works:

bt_ioreg3.thumb.png.3dfacc2c689d779fad3103dff561f79b.png

 

bt_ioreg4.png.1fc2c579294a57679fcc5bc66668d160.png

 

bt_ioreg5.png.a006bb0ffdaf8f8b3978c801cc3b882d.png

Edited by mrmacdi2

Unplugging CSR8510 from PC USB port and plugging in USB HUB solves the issue - bluetooth dongle is usable.

 

Issue can be related to AppleUSBUHCIPCI (is it responsible for USB 1.1?), which, probably, fails after wake.

20 minutes ago, FirstTimeCustomac said:

Does this happen to keyboard if connected to PC USB port? 

Keyboard doesn't work at all, if I connect it to any USB port of my PC, it works only via USB Hub, despite having USB 1.1 patch via OCLP and injecting AppleUSBUHCI and AppleUSBUHCIPCI.

But USB Bluetooth works when I connect to USB ports of my PC, but it's way of work is different - it's not HID for keyboard.

1 hour ago, FirstTimeCustomac said:

Do you currently have IOHIDFamily patch in place?

Yes, it’s enabled in OC. Maybe it’s outdated - I’ve made my config long time ago, so maybe the patch needs to be updated.

2 hours ago, mrmacdi2 said:

New idea: in Ventura Apple has deleted kexts from System, which were used for USB 1.1. HID devices, so in this case IOHIDFamily patch won't work: no kexts, no cache - nothing to apply.

Eh... Bad idea... Please look more into what this patch does and what it patches.

1 hour ago, FirstTimeCustomac said:

Eh... Bad idea... Please look more into what this patch does and what it patches.

Haven't researched it btw. HID issue is present despite having the patch. Will try to investigate.

CSR8510 works fine when I use USB Hub, no issue after wake, PC sleeps well etc.

  • 2 years later...
On 10/31/2023 at 3:44 PM, mrmacdi2 said:

Hello,

 

I'm using 3rd party CSR8510 Bluetooth 4.0 USB 1.1 dongle and it stops working after waking from sleep: unplugging, turning on/off, plugging back makes no difference: Bluetooth not available. I see that USB power is supplied after wake to the Bluetooth dongle - led is on, so it has power. Only reboot fixes the issue.

  • macOS Ventura 13.6
  • OCLP Root patch for USB 1.1
  • AppleUSBUHCI.kext and AppleUSBUHCIPCI.kext are injected via OC to add USB 1.1 back.
  • BlueToolFixup.kext (2.6.8) is injected via OC
  • USB ports are mapped via USBTool
  • Suspend S3 works fine

I think the issue with CSR8510 can be related to BlueToolFixup

csr8510_htool.png.8c180030861de281669320d77bc6e826.png

System info:

bt_csr8510_sys_info.png.cecdd40d1050a1076dae73935b3c9af8.png

 

bt_sys_info.png.f43a4afc8a598509a3fbd045a38a5b07.png

IOReg:

When Bluetooth stops working:

bt_ioreg.png.4937610deb19ddca51ac1d7ddbe3c2fd.png

bt_ioreg2.png.ece890ef5790d285dd7e4caf06f50be1.png

When Bluetooth dongle works:

bt_ioreg3.thumb.png.3dfacc2c689d779fad3103dff561f79b.png

 

bt_ioreg4.png.1fc2c579294a57679fcc5bc66668d160.png

 

bt_ioreg5.png.a006bb0ffdaf8f8b3978c801cc3b882d.png

Try with -btlfxnvramcheck in boot-args.

 

In Ventura it sometime helps, in Sonoma not.

Edited by notobo
×
×
  • Create New...