IntelBluetoothFirmware icon indicating copy to clipboard operation
IntelBluetoothFirmware copied to clipboard

Compatibility issue with Bluetooth 4.x devices

Open pwjun opened this issue 4 years ago • 89 comments

March 3, 2022 Update

https://github.com/OpenIntelWireless/IntelBluetoothFirmware/issues/51#issuecomment-995515730


Original Post
Log: 2020-02-13 17:03:41.976836+0800 0x6fc Default 0x0 0 0 kernel: (kernel) IntelFirmware: setPowerState powerStateOrdinal=0 2020-02-13 17:03:41.977160+0800 0xb17f Default 0x0 0 0 kernel: (kernel) IntelFirmware: setPowerState powerStateOrdinal=1 2020-02-13 17:03:42.526624+0800 0xb17f Default 0x0 0 0 kernel: (kernel) IntelFirmware: setPowerState powerStateOrdinal=0 2020-02-13 17:03:42.526874+0800 0xb17f Default 0x0 0 0 kernel: (kernel) IntelFirmware: setPowerState powerStateOrdinal=1 2020-02-13 17:03:43.043825+0800 0x6fc Default 0x0 0 0 kernel: (kernel) IntelFirmware: setPowerState powerStateOrdinal=0 2020-02-13 17:03:43.044100+0800 0xb17f Default 0x0 0 0 kernel: (kernel) IntelFirmware: setPowerState powerStateOrdinal=1 2020-02-13 17:03:43.600698+0800 0xb17f Default 0x0 0 0 kernel: (kernel) IntelFirmware: setPowerState powerStateOrdinal=0 2020-02-13 17:03:43.601026+0800 0xb17f Default 0x0 0 0 kernel: (kernel) IntelFirmware: setPowerState powerStateOrdinal=1 2020-02-13 17:03:44.101552+0800 0xb17f Default 0x0 0 0 kernel: (kernel) IntelFirmware: setPowerState powerStateOrdinal=0 2020-02-13 17:03:44.101799+0800 0xb17f Default 0x0 0 0 kernel: IntelFirmware: setPowerState powerStateOrdinal=0 2020-02-13 17:03:44.101803+0800 0xb17f Default 0x0 0 0 kernel: (kernel) IntelFirmware: setPowerState powerStateOrdinal=1 2020-02-13 17:03:44.602188+0800 0xb17f

pwjun avatar Feb 13 '20 13:02 pwjun

My system 10.15.3

pwjun avatar Feb 13 '20 13:02 pwjun

Same issue here.

influenist avatar Feb 22 '20 11:02 influenist

@pwjun @influenist

After chatting with @zxystd and did some testing, it seems to be clear that macOS will ALWAYS disconnect devices that seem to be useless.

In order to maintain the connection with another non-apple or non-HID device, like Android phones, you have to turn on Bluetooth Internet tethering in the phone settings. With this enabled, you'll have a reliable connection and could send files successfully.

This kext, based on what I've understood, is literally a Firmware Uploader, it does the same job as other solutions like using VMs, directly rebooting from Windows, and so on. So, if you experience the same issue with other solutions, it has nothing to do with this kext. @zxystd said he will probably make some improvements based on the Lilu patch engine to enhance the user experience but that might happen only after he finishes his juicy Intel Wifi kext.

Hope this can help you guys.

Cheers for @zxystd!

williambj1 avatar Feb 22 '20 11:02 williambj1

@williambj1,Thank your help,on your help,I can connect my computer and smart phone、bluetooth musicbox,but bluetooth mouse can not work,hope help,thanks

pwjun avatar Mar 29 '20 03:03 pwjun

Bluetooth 4.0 devices are problematic on Intel Cards right now, I can't connect to my keyboard as well. It's an issue mainly caused by incompatibility with Apple's drivers.

williambj1 avatar Mar 29 '20 04:03 williambj1

thank your reply John

At 2020-03-29 12:09:22, "Bat.bat" [email protected] wrote:

Bluetooth 4.0 devices are problematic on Intel Cards right now, I can't connect to my keyboard as well. It's an issue mainly caused by incompatibility with Apple's drivers.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

pwjun avatar Mar 29 '20 08:03 pwjun

I put the Bluetooth driver in clover, and it doesn't load at all when I put it in SLE. Intel 3160 network card

tieshulin avatar Jul 20 '20 21:07 tieshulin

is this fixable or a limitation in the system that might not be able to be fixed?

elliotnash avatar Aug 06 '20 04:08 elliotnash

My BT mouse works laggy in BT3.0 mode and not able to connect in BT4.0 mode. Subscribed this issue, hopefully there will be some solution of this situation.

the-eric-kwok avatar Aug 12 '20 11:08 the-eric-kwok

蓝牙 4.0 设备现在在英特尔卡上有问题, 我也无法连接到键盘。这是一个主要由于与苹果司机不相容而引起的问题。

Will Bluetooth 4.0 be supported in the future?

msiLiu avatar Sep 08 '20 08:09 msiLiu

Nintendo Switch Joy-Con(Bluetooth 4.1) does not appear while discovery mode.

70599 avatar Sep 24 '20 16:09 70599

i have same issue with xiaomi mi mouse mac 10.15.7 intel 3160

maxis7567 avatar Oct 24 '20 19:10 maxis7567

Same with MX Anywhere 3 and Satechi M1. OpenCore 0.6.3 MacOS 10.15.7 IntelBluetoothFirmware 1.1.2

On XPS 15 9500 (2020)

BenDevelopment avatar Nov 10 '20 14:11 BenDevelopment

I'll continue this discussion https://github.com/OpenIntelWireless/IntelBluetoothFirmware/issues/217#issuecomment-727535960 here (because this other issue is closed). I'm a developper but I'm not familiar with this kind of developpment. However, having this issue too, I'd like to propose my help if anyone can lead this :-)! I'm a C#/Angular developper but I'm confortable with learning new technologies.

BenDevelopment avatar Nov 16 '20 14:11 BenDevelopment

@BenDevelopment seems that it is HCI command related problems, you can use the HCI packet logger or capture tools to see what happend on paring/connecting.

zxystd avatar Nov 16 '20 16:11 zxystd

image ble debugger返回是这样,感觉是linux固件兼容问题。 https://stackoverflow.com/questions/32588325/ios-bluetooth-le-code-6-the-connection-has-timed-out-unexpectedly

kilng avatar Nov 17 '20 09:11 kilng

Hi everyone and thanks for your analysis and contributions. Could it be however that we're uploading the wrong or rather, not-well-compatible firmware on a per-device/card basis? I mean, what if we try other firmwares for my Intel Bluetooth 9460/9560 Module (BTLE v5.1) device [8087:0aaa] and this BTLE has PCI ID is https://pci-ids.ucw.cz/read/PC/8087/0aaa

Could this not be a possible reason for macOS to not connect to some mice, game controllers etc. at all? Just curious. Thanks!

mackonsti avatar Nov 17 '20 12:11 mackonsti

I only have this issue when using High Sierra, for whatever reason, macOS Catalina and Big Sur don't have any problems with playing Bluetooth audio. My WF-100XM3 earbuds disconnect when I play audio on my computer, but it Catalina and Big Sur, they work perfectly.

VoltaVX avatar Nov 19 '20 14:11 VoltaVX

I wonder if there's some way to port the Bluetooth stack from Catalina to High Sierra, if it's even possible

VoltaVX avatar Nov 19 '20 14:11 VoltaVX

希望大佬挤出时间,解决热粉的难题!!已经等待6个月了

jgyjiayou avatar Dec 04 '20 06:12 jgyjiayou

+11111111

SnowsonZ avatar Dec 05 '20 01:12 SnowsonZ

Dec 07 09:03:18.714 HCI Command 0x0000 LE Set Scan Parameters - Active - 30/300 (ms) Dec 07 09:03:18.715 HCI Command 0x0000 LE Set Scan Enable - 0x01, Filter Duplicates: 1 Dec 07 09:03:18.717 HCI Command 0x0000 LE Create Connection - 00:00:00:00:00:00, Scan Window/Interval: 30ms/60ms, Min/Max Conn Interval: 7.5ms/15ms Dec 07 09:03:21.558 HCI Command 0x0000 HCI Inquiry Cancel Dec 07 09:03:21.559 HCI Command 0x0000 LE Set Scan Enable - 0x00, Filter Duplicates: 1 Dec 07 09:03:21.835 HCI Command 0x0000 Read Scan Enable Dec 07 09:03:21.842 HCI Command 0x0000 LE Create Connection Cancel Dec 07 09:03:21.845 HCI Command 0x0000 Vendor Specific Command Dec 07 09:03:21.847 Error 0x0000 **** [IOBluetoothHostController][ValidateHCIRequestReceivedEvents] -- ERROR -- Received Command Status event for opCode 0xFCE9 (Broadcom VSC -- LE Meta VSC) -- this = 0x8a00 **** Dec 07 09:03:21.847 Error 0x0000 [IOBluetoothHostController][ProcessEventDataWL] -- broadcastDataPtr is NOT NULL and broadcastDataSize > 0 -- ParseHCIEvent() failed -- Error code 0xE00002C2 (kIOReturnBadArgument) -- opCode = 0xFCE9 (Broadcom VSC -- LE Meta VSC), requestPtr = 0xffffff8038259000, eventStatus = 0x0c (kBluetoothHCIErrorCommandDisallowed) Dec 07 09:03:21.847 Error 0x0000 [IOBluetoothHostController][ProcessEventDataWL] -- Not enough room in request's result data buffer (3 bytes) to copy the actual data (2048 bytes) -- opCode = 0xFCE9 (Broadcom VSC -- LE Meta VSC) 用packetlogger看 这几句一直循环 image

Basstorm avatar Dec 07 '20 01:12 Basstorm

MacOS can't connect to Logitech MX Master/Anywhere Mouse pls help me

m2faridi avatar Dec 22 '20 11:12 m2faridi

@Basstorm, I watched the logs on my machine too, it looks like the problem with the Broadcom vendor specific commands which aren't understandable by the Intel controllers, may be only this one is a culprit 0xFCE9 (Broadcom LE Meta VSC). They should return kIOReturnSuccess looking at the logs on the actual Macs. May be there's a way to hack into this process and ignore those commands.

I also wonder if enabling Microsoft vendor extension would help. https://github.com/torvalds/linux/blob/master/drivers/bluetooth/btusb.c#L2923

mishurov avatar Jan 04 '21 11:01 mishurov

大佬,啥时候解决兼容性问题啊。

jgyjiayou avatar Jan 06 '21 09:01 jgyjiayou

Same issue with bluetooth 4.X on 2 different machines both with Big sur: First machine use an intel AX200, i can discover the bt4 devices but cannot finish the connection (xiaomi miiiw s500 mouse) Second machine use a intel 8260 (or a 8265 i don't remenber exactly), discovery of devices works, connection to an apple wireless keyboard 2009 works, cannot connect to a bt4 mouse.

Herrnobiz avatar Feb 08 '21 00:02 Herrnobiz

Same issue here... I can help to test anything...

eyalyoli avatar Mar 13 '21 15:03 eyalyoli

Same issue for me.. Strix B450i with AX200 Paired my airpods pro immediately Can't connect any BT4.x device

@eyalyoli תעדכן אם הצלחת

ByTyoma avatar Mar 23 '21 07:03 ByTyoma

I try connect bluetooth headset "mi air 2" it has bluetooth 5.0 and it connected successfully but microphone also not work.

Sheripov avatar Mar 23 '21 11:03 Sheripov

The current solution to avoid the problem is to upgrade the Bluetooth card to v5 or better go with Broadcom cards. The best you can try with current card is to install itlwm (with Heliport) instead of Airportitlwm as it has better compatibily with the Bluetooth.

eyalyoli avatar Mar 23 '21 12:03 eyalyoli