-
Notifications
You must be signed in to change notification settings - Fork 85
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
Comments
My device is a Logitech Pebble M350 I found the following information, when connected to another device (not my macbook air)
Please tell me if the information is the correct one or useful On the macbook air blueetoothctl gives the following error:
When pairing with kde i see the following errors in the journal (journalctl -xe)
|
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:
This seems to suggest it's using BLE. Rolling back to asahi-6.3.0-13 fixes the issue. Device: Xbox Wireless Controller |
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: |
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
|
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):
They also failed to pair using
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
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
Similarly, when pairing using KDE Settings, it rapidly appears and disappears continuously in the list of successfully-paired devices. |
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... |
Reading the nixos issue and the linked bugzilla bug this commit might be the fix: torvalds@95b7015433053 |
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 :( |
No, this won't help. It is for the btusb driver this is unrelated the pci hci_bcm4377 driver used on apple silicon devices. |
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. |
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/ |
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>
Will be fixed by #194 |
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>
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>
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>
this is now fixed with kernels based on asahi-6.5-8 and later |
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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.
The text was updated successfully, but these errors were encountered: