OpenIntelWireless / IntelBluetoothFirmware

Intel Bluetooth Kernel Extensions for macOS
https://OpenIntelWireless.github.io/IntelBluetoothFirmware
GNU General Public License v3.0
2.43k stars 254 forks source link

Fix LE devices not working on Ventura #446

Open qhuyduong opened 1 year ago

qhuyduong commented 1 year ago

Look like starting from Ventura, the bluetooth daemon expects an LE PHY Update Complete event to be triggered from the controller before starting the connection to LE devices (e.g: Logitech MX Master 3S mouse). For Broadcom cards, that event is triggered automatically on new connection (attached the screenshot of PacketLogger on Macbook Air M1).

image

However for Intel ones, that event is not sent by the firmware, so pairing these devices will stuck.

One of the solution is to fake the LE PHY Update Complete event by issuing an extra LE command and modify its response.

Tested on macOS Ventura 13.4 with Intel® Wi-Fi 6 AX200 and Logitech MX Master 3S.

Fixes #51 #418 #419 #421 #444

P/S: I'm quite new for Lilu and macOS SDK, so I belive there should be a cleaner way to do this, such faking the event without the need to sending another command. Recommendations are welcome.

Lorys89 commented 2 months ago

Here are the kext just compiled https://github.com/Lorys89/IntelBluetoothFirmware/suites/16367616296/artifacts/934935709

Link seems to have expired, can you re-upload?

Yes and it is compatible with macOS beta 15 sequoia https://github.com/Lorys89/IntelBluetoothFirmware/releases/download/2.5.0/IntelBluetoothFirmware-2.5.0-RELEASE.zip

captain-spaghetti commented 2 months ago

Here are the kext just compiled https://github.com/Lorys89/IntelBluetoothFirmware/suites/16367616296/artifacts/934935709

Link seems to have expired, can you re-upload?

Yes and it is compatible with macOS beta 15 sequoia https://github.com/Lorys89/IntelBluetoothFirmware/releases/download/2.5.0/IntelBluetoothFirmware-2.5.0-RELEASE.zip

Thanks for that.

Unfortunately doesn't seem to fix the issue for me. My Logitech MX Craft keyboard briefly shows as connected in the bluetooth panel, but the keyboard doesn't recognize the connection, then it is dropped by MacOS a few seconds later.

Lorys89 commented 2 months ago

What model of wifi card? On which version of macos? I tested on 9560,ax200,ax201,ax210,ax211.

captain-spaghetti commented 2 months ago

What model of wifi card? On which version of macos? I tested on 9560,ax200,ax201,ax210,ax211.

I'm assuming you mean bluetooth card? For some reason, when I check System Report, the chipset shows up as 'Third Party Dongle'. However I'm using the native bluetooth card that's on my motherboard, Asus TUF Gaming z690-PLUS D5. I can't remember the exact bluetooth chipset from memory, and it's hard to find the info online.

I'm using MacOS Ventura 13.6.6

Xarth-Mai commented 2 weeks ago
image

Can‘t connect to my Xbox Gamepad

I have tried Ventura with same EFI, also not success I have tried Monterey,it works

misaki1301 commented 6 days ago

I want to comment that I was having issues with my Airpods Pro 2 related to the sound, but with this fix now every sound issue has been partially fixed, congrats for the patch :)