Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux-asahi-6.4 bluetooth pairing Issues #177

Closed
jannau opened this issue Aug 23, 2023 · 13 comments
Closed

linux-asahi-6.4 bluetooth pairing Issues #177

jannau opened this issue Aug 23, 2023 · 13 comments

Comments

@jannau
Copy link
Member

jannau commented Aug 23, 2023

There are multiple reports that linux-asahi-6.4 has regressed pairing of some Bluetooth devices. Reported devices are sofar only Logitech mices. As far as I'm aware those use BLE for pairing.

I might notice something related: A Logitech MX Anywhere 2 fails to pair using KDE's bt wizard but pairs via bluetoothctl.

This Fedora Asahi discussion has conflicting reports about devices with the same product name. So either the devices with the same product name behave differently or the issue might be wlan/bt HW module device specific.

If you are affected please report as much information on the bluetooth device (Product name, bt vendor and product ids, if available device firmware version, production date) and attach the output of asahi-diagnose.
For unaffected setups using the same bluetooth device as being reported as affected please report the same.

@zanfix
Copy link

zanfix commented Aug 23, 2023

My device is a Logitech Pebble M350

I found the following information, when connected to another device (not my macbook air)

$ cat /sys/class/input/input13/name 
Logitech Pebble
$ cat /sys/class/input/input13/id/bustype 
0005
$ cat /sys/class/input/input13/id/product 
b021
$ cat /sys/class/input/input13/id/vendor 
046d
$ cat /sys/class/input/input13/id/version
0111

Please tell me if the information is the correct one or useful

On the macbook air blueetoothctl gives the following error:

[bluetooth]# pair E4:49:B0:xx:xx:xx
Attempting to pair with E4:49:B0:xx:xx:xx
[CHG] Device E4:49:B0:xx:xx:xx Connected: yes
Failed to pair: org.bluez.Error.ConnectionAttemptFailed
[CHG] Device E4:49:B0:xx:xx:xx Connected: no

When pairing with kde i see the following errors in the journal (journalctl -xe)

Aug 23 19:21:10 zanfix-m1 plasmashell[743]: QString::arg: 2 argument(s) missing in org.kde.bluedevilwizard
Aug 23 19:21:10 zanfix-m1 systemd[620]: Started Add Bluetooth Device - Add Bluetooth Device.
░░ Subject: A start job for unit UNIT has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit UNIT has finished successfully.
░░ 
░░ The job identifier is 383.
Aug 23 19:21:13 zanfix-m1 bluedevil-wizard[2285]: kf.bluezqt: PendingCall Error: "Page Timeout"

asahi-diagnose-20230823-190410.txt

@iaguis
Copy link

iaguis commented Aug 23, 2023

I've been unable to connect an Xbox Wireless Controller since updating to linux-asahi-6.4. When I try to connect with bluetoothctl I get the following error:

Failed to connect: org.bluez.Error.Failed le-connection-abort-by-local

This seems to suggest it's using BLE.

Rolling back to asahi-6.3.0-13 fixes the issue.

Device: Xbox Wireless Controller
Vendor: Microsoft Corporation (0C:35:26)

asahi-diagnose-20230823-191336.txt

@nuovodna
Copy link

nuovodna commented Aug 23, 2023

Unable to connect a Logitech MX Master 3 for Mac to Macbook Air M1 8Gb with latest asahi kernel.

Trying to pair (trust works) with bluetoothclt gives me this error:
Attempting to pair with D6:B8:A9:xx:xx:xx [CHG] Device D6:B8:A9:xx:xx:xx Connected: yes Failed to pair: org.bluez.Error.ConnectionAttemptFailed [CHG] Device D6:B8:A9:xx:xx:xx Connected: no
It fails with kde systemsettings too:
kf.bluezqt: PendingCall Error: "Page Timeout"
asahi-diagnose-20230824-001157.txt

@PokeCaptain
Copy link

PokeCaptain commented Aug 25, 2023

I encountered this bug last night with my keyboard and mouse. Just finished repro-ing for the logs and my mouse surprisingly paired successfully while my keyboard still didn't. Details below:

Logitech K850

Logitech M720

asahi-diagnose-20230825-162302.txt

@jasoneckert
Copy link

jasoneckert commented Aug 27, 2023

Up until today I've had zero Bluetooth issues with my Logitech MX Master 3 mouse - I originally paired it using KDE Settings after installing Fedora Asahi Remix on August 10, and it worked fine through all subsequent software installation and updates (including the latest one I did yesterday).

Today, however, I logged into KDE Plasma (I normally use sway) and both my Logitech MX Master 3 and my Lenovo ThinkPad TrackPoint II keyboard (also paired with Bluetooth) stopped working.

After connecting a USB keyboard/mouse and attempting to pair them again using KDE Settings, the process for both failed, adding the following entry to the Systemd journal (twice):

Aug 27 15:41:32 fedora-asahi bluedevil-wizard[9364]: kf.bluezqt: PendingCall Error: "Page Timeout"

They also failed to pair using bluetoothctl as shown here for the MX Master 3:

[bluetooth]# trust CF:02:2A:xx:xx:xx
Changing CF:02:2A:xx:xx:xx trust succeeded
[bluetooth]# pair CF:02:2A:xx:xx:xx
Attempting to pair with CF:02:2A:xx:xx:xx
[CHG] Device CF:02:2A:xx:xx:xx Connected: yes
Failed to pair: org.bluez.Error.ConnectionAttemptFailed
[CHG] Device CF:02:2A:xx:xx:xx Connected: no
[bluetooth]# _

Both work fine in macOS, so I tried extracting the appropriate keys from macOS for the MX Master 3 as outlined here, added them to the IdentityResolvingKey.Key, SlaveLongTermKey.Key, and PeripheralLongTermKey.Key files in the /var/lib/bluetooth/BTcontroller_MAC_address/MXMaster3_MAC_address/ directory, edited the associated info file in that directory accordingly, restarted the Bluetooth daemon, but that didn't work either.

I've attached the output of asahi-diagnose (asahi-diagnose-20230827-154624.txt). Additionally, following is the device information regarding the MX Master 3 and TrackPoint II keyboard from macOS (in case the two are related somehow given the symptoms):

MX Master 3:
Address: CF:02:2A:xx:xx:xx
Vendor ID: 0x046D
Product ID: 0xB023
Battery Level: 100%
Firmware Version: MPM19.000_0013
Minor Type: Mouse
Services: 0x400000 < BLE >

TrackPoint Keyboard II:
Address: DE:B8:8E:xx:xx:xx
Vendor ID: 0x17EF
Product ID: 0x60E1
Minor Type: Keyboard
Services: 0x400000 < BLE >

Edit: The ThinkPad TrackPoint II keyboard works fine with the Lenovo receiver nub, but interestingly enough, the MX Master 3 doesn’t even work with the Logitech Unifying Receiver. It’s detected, and shows up in KDE Settings as an input device, but doesn’t work at all - yet it works fine with the same Unifying Receiver on a separate Windows system and on macOS too.

Edit: After updating to bluez-5.69 today, the behaviour of bluetoothctl changed - the device enters a rapid connect/disconnect loop until you manually exit:

[bluetooth]# trust CF:02:2A:xx:xx:xx
Changing CF:02:2A:xx:xx:xx trust succeeded
[bluetooth]# pair CF:02:2A:xx:xx:xx
Attempting to pair with CF:02:2A:xx:xx:xx
[CHG] Device CF:02:2A:xx:xx:xx Connected: yes
Failed to pair: org.bluez.Error.Failed
[CHG] Device CF:02:2A:xx:xx:xx Connected: no
[CHG] Device CF:02:2A:xx:xx:xx Connected: yes
[CHG] Device CF:02:2A:xx:xx:xx Connected: no
[CHG] Device CF:02:2A:xx:xx:xx Connected: yes
[CHG] Device CF:02:2A:xx:xx:xx Connected: no
[CHG] Device CF:02:2A:xx:xx:xx Connected: yes
[CHG] Device CF:02:2A:xx:xx:xx Connected: no
[CHG] Device CF:02:2A:xx:xx:xx Connected: yes
[CHG] Device CF:02:2A:xx:xx:xx Connected: no
[CHG] Device CF:02:2A:xx:xx:xx Connected: yes
[bluetooth]# exit

Similarly, when pairing using KDE Settings, it rapidly appears and disappears continuously in the list of successfully-paired devices.

@vklachkov
Copy link

Hello! Some people has the same problems in other distros. Here is an issue from NixOS: NixOS/nixpkgs#242313. It looks like a Linux bug, because on the 6.3 kernel everything works perfectly. It is worth updating to 6.4+, the devices do not pair or do not work...

@iaguis
Copy link

iaguis commented Sep 2, 2023

Reading the nixos issue and the linked bugzilla bug this commit might be the fix: torvalds@95b7015433053

@iaguis
Copy link

iaguis commented Sep 2, 2023

I cherry-picked that commit on top of asahi-6.4-10 and it doesn't fix the issue for me with the Xbox Controller :(

@jannau
Copy link
Member Author

jannau commented Sep 24, 2023

Reading the nixos issue and the linked bugzilla bug this commit might be the fix: torvalds@95b7015433053

No, this won't help. It is for the btusb driver this is unrelated the pci hci_bcm4377 driver used on apple silicon devices.

@jannau
Copy link
Member Author

jannau commented Sep 24, 2023

On BRCM4378 (M1 devices and at least the M2 Macbook Pro 13-inch (2022) a Logitech MX Anywhere 2 connects and works after 2-3 connection tries. No such luck on M1 Pro/Max/Ultra devices with BRCM4387. No obvious difference in btmon except that one case works and the other one fails. If there is anything suspicious in the btmon log is that there are BLE advertisements during the failed pairing.

@jannau
Copy link
Member Author

jannau commented Sep 26, 2023

Reverting 288c902 allows pairing of my Logitech MX Anywhere 2 on a Macbook Pro 14-inch (2021). I'm currently looking if there is anything to fix this issue in hci_bcm4377.c

Apparently the same commit regressed certain Intel bt adapters as well and there's now a quirk we can use as well: https://lore.kernel.org/all/20230823194128.3893244-1-luiz.dentz@gmail.com/

jannau added a commit to jannau/linux that referenced this issue Sep 26, 2023
Do not use LE Coded PHY on bcm4378 and bcm4387 since it causes pairing
issues. On bcm4378 pairing usually succeeds after 2-3 tries. On bcm4387
pairing is with LE Coded PHY is completely broken.

Cc: stable@vger.kernel.org # 6.4.y+
Link: AsahiLinux#177
Fixes: 288c902 ("Bluetooth: Enable all supported LE PHY by default")
Signed-off-by: Janne Grunau <j@jannau.net>
@jannau
Copy link
Member Author

jannau commented Sep 26, 2023

Will be fixed by #194

marcan pushed a commit that referenced this issue Oct 5, 2023
Do not use LE Coded PHY on bcm4378 and bcm4387 since it causes pairing
issues. On bcm4378 pairing usually succeeds after 2-3 tries. On bcm4387
pairing is with LE Coded PHY is completely broken.

Cc: stable@vger.kernel.org # 6.4.y+
Link: #177
Fixes: 288c902 ("Bluetooth: Enable all supported LE PHY by default")
Signed-off-by: Janne Grunau <j@jannau.net>
herrnst pushed a commit to herrnst/linux-asahi that referenced this issue Oct 10, 2023
Do not use LE Coded PHY on bcm4378 and bcm4387 since it causes pairing
issues. On bcm4378 pairing usually succeeds after 2-3 tries. On bcm4387
pairing is with LE Coded PHY is completely broken.

Cc: stable@vger.kernel.org # 6.4.y+
Link: AsahiLinux/linux#177
Fixes: 288c902 ("Bluetooth: Enable all supported LE PHY by default")
Signed-off-by: Janne Grunau <j@jannau.net>
herrnst pushed a commit to herrnst/linux-asahi that referenced this issue Oct 11, 2023
Do not use LE Coded PHY on bcm4378 and bcm4387 since it causes pairing
issues. On bcm4378 pairing usually succeeds after 2-3 tries. On bcm4387
pairing is with LE Coded PHY is completely broken.

Cc: stable@vger.kernel.org # 6.4.y+
Link: AsahiLinux/linux#177
Fixes: 288c902 ("Bluetooth: Enable all supported LE PHY by default")
Signed-off-by: Janne Grunau <j@jannau.net>
@jannau
Copy link
Member Author

jannau commented Oct 13, 2023

this is now fixed with kernels based on asahi-6.5-8 and later

@jannau jannau closed this as completed Oct 13, 2023
github-actions bot pushed a commit to BluezTestBot/bluetooth-next that referenced this issue Oct 16, 2023
bcm4378 and bcm4387 claim to support LE Coded PHY but fail to pair
(reliably) with BLE devices if it is enabled.
On bcm4378 pairing usually succeeds after 2-3 tries. On bcm4387
pairing appears to be completely broken.

Cc: stable@vger.kernel.org # 6.4.y+
Link: https://discussion.fedoraproject.org/t/mx-master-3-bluetooth-mouse-doesnt-connect/87072/33
Link: AsahiLinux/linux#177
Fixes: 288c902 ("Bluetooth: Enable all supported LE PHY by default")
Signed-off-by: Janne Grunau <j@jannau.net>
github-actions bot pushed a commit to tedd-an/bluetooth-next that referenced this issue Oct 16, 2023
bcm4378 and bcm4387 claim to support LE Coded PHY but fail to pair
(reliably) with BLE devices if it is enabled.
On bcm4378 pairing usually succeeds after 2-3 tries. On bcm4387
pairing appears to be completely broken.

Cc: stable@vger.kernel.org # 6.4.y+
Link: https://discussion.fedoraproject.org/t/mx-master-3-bluetooth-mouse-doesnt-connect/87072/33
Link: AsahiLinux/linux#177
Fixes: 288c902 ("Bluetooth: Enable all supported LE PHY by default")
Signed-off-by: Janne Grunau <j@jannau.net>
BluezTestBot pushed a commit to bluez/bluetooth-next that referenced this issue Oct 16, 2023
bcm4378 and bcm4387 claim to support LE Coded PHY but fail to pair
(reliably) with BLE devices if it is enabled.
On bcm4378 pairing usually succeeds after 2-3 tries. On bcm4387
pairing appears to be completely broken.

Cc: stable@vger.kernel.org # 6.4.y+
Link: https://discussion.fedoraproject.org/t/mx-master-3-bluetooth-mouse-doesnt-connect/87072/33
Link: AsahiLinux/linux#177
Fixes: 288c902 ("Bluetooth: Enable all supported LE PHY by default")
Signed-off-by: Janne Grunau <j@jannau.net>
Reviewed-by: Eric Curtin <ecurtin@redhat.com>
Reviewed-by: Neal Gompa <neal@gompa.dev>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
herrnst pushed a commit to herrnst/linux-asahi that referenced this issue Oct 20, 2023
Do not use LE Coded PHY on bcm4378 and bcm4387 since it causes pairing
issues. On bcm4378 pairing usually succeeds after 2-3 tries. On bcm4387
pairing is with LE Coded PHY is completely broken.

Cc: stable@vger.kernel.org # 6.4.y+
Link: AsahiLinux/linux#177
Fixes: 288c902 ("Bluetooth: Enable all supported LE PHY by default")
Signed-off-by: Janne Grunau <j@jannau.net>
herrnst pushed a commit to herrnst/linux-asahi that referenced this issue Oct 20, 2023
Do not use LE Coded PHY on bcm4378 and bcm4387 since it causes pairing
issues. On bcm4378 pairing usually succeeds after 2-3 tries. On bcm4387
pairing is with LE Coded PHY is completely broken.

Cc: stable@vger.kernel.org # 6.4.y+
Link: AsahiLinux/linux#177
Fixes: 288c902 ("Bluetooth: Enable all supported LE PHY by default")
Signed-off-by: Janne Grunau <j@jannau.net>
github-actions bot pushed a commit to tedd-an/bluetooth-next that referenced this issue Oct 23, 2023
bcm4378 and bcm4387 claim to support LE Coded PHY but fail to pair
(reliably) with BLE devices if it is enabled.
On bcm4378 pairing usually succeeds after 2-3 tries. On bcm4387
pairing appears to be completely broken.

Cc: stable@vger.kernel.org # 6.4.y+
Link: https://discussion.fedoraproject.org/t/mx-master-3-bluetooth-mouse-doesnt-connect/87072/33
Link: AsahiLinux/linux#177
Fixes: 288c902 ("Bluetooth: Enable all supported LE PHY by default")
Signed-off-by: Janne Grunau <j@jannau.net>
Reviewed-by: Eric Curtin <ecurtin@redhat.com>
Reviewed-by: Neal Gompa <neal@gompa.dev>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
dberlin pushed a commit to dberlin/linux that referenced this issue Oct 27, 2023
Do not use LE Coded PHY on bcm4378 and bcm4387 since it causes pairing
issues. On bcm4378 pairing usually succeeds after 2-3 tries. On bcm4387
pairing is with LE Coded PHY is completely broken.

Cc: stable@vger.kernel.org # 6.4.y+
Link: AsahiLinux#177
Fixes: 288c902 ("Bluetooth: Enable all supported LE PHY by default")
Signed-off-by: Janne Grunau <j@jannau.net>
dberlin pushed a commit to dberlin/linux that referenced this issue Oct 29, 2023
Do not use LE Coded PHY on bcm4378 and bcm4387 since it causes pairing
issues. On bcm4378 pairing usually succeeds after 2-3 tries. On bcm4387
pairing is with LE Coded PHY is completely broken.

Cc: stable@vger.kernel.org # 6.4.y+
Link: AsahiLinux#177
Fixes: 288c902 ("Bluetooth: Enable all supported LE PHY by default")
Signed-off-by: Janne Grunau <j@jannau.net>
dberlin pushed a commit to dberlin/linux that referenced this issue Oct 30, 2023
Do not use LE Coded PHY on bcm4378 and bcm4387 since it causes pairing
issues. On bcm4378 pairing usually succeeds after 2-3 tries. On bcm4387
pairing is with LE Coded PHY is completely broken.

Cc: stable@vger.kernel.org # 6.4.y+
Link: AsahiLinux#177
Fixes: 288c902 ("Bluetooth: Enable all supported LE PHY by default")
Signed-off-by: Janne Grunau <j@jannau.net>
herrnst pushed a commit to herrnst/linux-asahi that referenced this issue Nov 2, 2023
Do not use LE Coded PHY on bcm4378 and bcm4387 since it causes pairing
issues. On bcm4378 pairing usually succeeds after 2-3 tries. On bcm4387
pairing is with LE Coded PHY is completely broken.

Cc: stable@vger.kernel.org # 6.4.y+
Link: AsahiLinux/linux#177
Fixes: 288c902 ("Bluetooth: Enable all supported LE PHY by default")
Signed-off-by: Janne Grunau <j@jannau.net>
herrnst pushed a commit to herrnst/linux-asahi that referenced this issue Nov 2, 2023
Do not use LE Coded PHY on bcm4378 and bcm4387 since it causes pairing
issues. On bcm4378 pairing usually succeeds after 2-3 tries. On bcm4387
pairing is with LE Coded PHY is completely broken.

Cc: stable@vger.kernel.org # 6.4.y+
Link: AsahiLinux/linux#177
Fixes: 288c902 ("Bluetooth: Enable all supported LE PHY by default")
Signed-off-by: Janne Grunau <j@jannau.net>
mj22226 pushed a commit to mj22226/linux that referenced this issue Nov 6, 2023
commit 41e9cde upstream.

bcm4378 and bcm4387 claim to support LE Coded PHY but fail to pair
(reliably) with BLE devices if it is enabled.
On bcm4378 pairing usually succeeds after 2-3 tries. On bcm4387
pairing appears to be completely broken.

Cc: stable@vger.kernel.org # 6.4.y+
Link: https://discussion.fedoraproject.org/t/mx-master-3-bluetooth-mouse-doesnt-connect/87072/33
Link: AsahiLinux#177
Fixes: 288c902 ("Bluetooth: Enable all supported LE PHY by default")
Signed-off-by: Janne Grunau <j@jannau.net>
Reviewed-by: Eric Curtin <ecurtin@redhat.com>
Reviewed-by: Neal Gompa <neal@gompa.dev>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Whissi pushed a commit to Whissi/linux-stable that referenced this issue Nov 8, 2023
commit 41e9cde upstream.

bcm4378 and bcm4387 claim to support LE Coded PHY but fail to pair
(reliably) with BLE devices if it is enabled.
On bcm4378 pairing usually succeeds after 2-3 tries. On bcm4387
pairing appears to be completely broken.

Cc: stable@vger.kernel.org # 6.4.y+
Link: https://discussion.fedoraproject.org/t/mx-master-3-bluetooth-mouse-doesnt-connect/87072/33
Link: AsahiLinux/linux#177
Fixes: 288c902 ("Bluetooth: Enable all supported LE PHY by default")
Signed-off-by: Janne Grunau <j@jannau.net>
Reviewed-by: Eric Curtin <ecurtin@redhat.com>
Reviewed-by: Neal Gompa <neal@gompa.dev>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Whissi pushed a commit to Whissi/linux-stable that referenced this issue Nov 8, 2023
commit 41e9cde upstream.

bcm4378 and bcm4387 claim to support LE Coded PHY but fail to pair
(reliably) with BLE devices if it is enabled.
On bcm4378 pairing usually succeeds after 2-3 tries. On bcm4387
pairing appears to be completely broken.

Cc: stable@vger.kernel.org # 6.4.y+
Link: https://discussion.fedoraproject.org/t/mx-master-3-bluetooth-mouse-doesnt-connect/87072/33
Link: AsahiLinux/linux#177
Fixes: 288c902 ("Bluetooth: Enable all supported LE PHY by default")
Signed-off-by: Janne Grunau <j@jannau.net>
Reviewed-by: Eric Curtin <ecurtin@redhat.com>
Reviewed-by: Neal Gompa <neal@gompa.dev>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
dberlin pushed a commit to dberlin/linux that referenced this issue Nov 8, 2023
Do not use LE Coded PHY on bcm4378 and bcm4387 since it causes pairing
issues. On bcm4378 pairing usually succeeds after 2-3 tries. On bcm4387
pairing is with LE Coded PHY is completely broken.

Cc: stable@vger.kernel.org # 6.4.y+
Link: AsahiLinux#177
Fixes: 288c902 ("Bluetooth: Enable all supported LE PHY by default")
Signed-off-by: Janne Grunau <j@jannau.net>
dberlin pushed a commit to dberlin/linux that referenced this issue Nov 12, 2023
Do not use LE Coded PHY on bcm4378 and bcm4387 since it causes pairing
issues. On bcm4378 pairing usually succeeds after 2-3 tries. On bcm4387
pairing is with LE Coded PHY is completely broken.

Cc: stable@vger.kernel.org # 6.4.y+
Link: AsahiLinux#177
Fixes: 288c902 ("Bluetooth: Enable all supported LE PHY by default")
Signed-off-by: Janne Grunau <j@jannau.net>
Kaz205 pushed a commit to Kaz205/linux that referenced this issue Nov 19, 2023
Do not use LE Coded PHY on bcm4378 and bcm4387 since it causes pairing
issues. On bcm4378 pairing usually succeeds after 2-3 tries. On bcm4387
pairing is with LE Coded PHY is completely broken.

Cc: stable@vger.kernel.org # 6.4.y+
Link: AsahiLinux#177
Fixes: 288c902 ("Bluetooth: Enable all supported LE PHY by default")
Signed-off-by: Janne Grunau <j@jannau.net>
herrnst pushed a commit to herrnst/linux-asahi that referenced this issue Nov 19, 2023
Do not use LE Coded PHY on bcm4378 and bcm4387 since it causes pairing
issues. On bcm4378 pairing usually succeeds after 2-3 tries. On bcm4387
pairing is with LE Coded PHY is completely broken.

Cc: stable@vger.kernel.org # 6.4.y+
Link: AsahiLinux/linux#177
Fixes: 288c902 ("Bluetooth: Enable all supported LE PHY by default")
Signed-off-by: Janne Grunau <j@jannau.net>
kimocoder pushed a commit to kimocoder/kernel_qcom_sdm845_mainline that referenced this issue Nov 22, 2023
commit 41e9cdea9c4ab6606ca462ff4ec901a82d022c05 upstream.

bcm4378 and bcm4387 claim to support LE Coded PHY but fail to pair
(reliably) with BLE devices if it is enabled.
On bcm4378 pairing usually succeeds after 2-3 tries. On bcm4387
pairing appears to be completely broken.

Cc: stable@vger.kernel.org # 6.4.y+
Link: https://discussion.fedoraproject.org/t/mx-master-3-bluetooth-mouse-doesnt-connect/87072/33
Link: AsahiLinux/linux#177
Fixes: 288c902 ("Bluetooth: Enable all supported LE PHY by default")
Signed-off-by: Janne Grunau <j@jannau.net>
Reviewed-by: Eric Curtin <ecurtin@redhat.com>
Reviewed-by: Neal Gompa <neal@gompa.dev>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
wanghao75 pushed a commit to openeuler-mirror/kernel that referenced this issue Nov 23, 2023
stable inclusion
from stable-v6.6.1
commit 5c9e997a721ac2c404f801a0253f38ed07812007
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8IKRU

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=5c9e997a721ac2c404f801a0253f38ed07812007

--------------------------------

commit 41e9cdea9c4ab6606ca462ff4ec901a82d022c05 upstream.

bcm4378 and bcm4387 claim to support LE Coded PHY but fail to pair
(reliably) with BLE devices if it is enabled.
On bcm4378 pairing usually succeeds after 2-3 tries. On bcm4387
pairing appears to be completely broken.

Cc: stable@vger.kernel.org # 6.4.y+
Link: https://discussion.fedoraproject.org/t/mx-master-3-bluetooth-mouse-doesnt-connect/87072/33
Link: AsahiLinux/linux#177
Fixes: 288c902 ("Bluetooth: Enable all supported LE PHY by default")
Signed-off-by: Janne Grunau <j@jannau.net>
Reviewed-by: Eric Curtin <ecurtin@redhat.com>
Reviewed-by: Neal Gompa <neal@gompa.dev>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Zheng Zengkai <zhengzengkai@huawei.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants