Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#73343 - Bluetooth can't be enabled

Attached to Project: Arch Linux
Opened by Eric (harpium) - Thursday, 13 January 2022, 08:52 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 20 February 2022, 19:36 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Andreas Radke (AndyRTR)
Jan Alexander Steffens (heftig)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

I'm currently on GNOME, and sometimes when I go to the Bluetooth settings the
option to enable it is grayed out, so I can't connect to any of my peripherals.

'systemctl status bluetooth' tells me that the service is active.

'bt-device -l' gives me the following error:

ERROR:lib/bluez/adapter.c:165:adapter_get_dbus_object_path: assertion failed: (ADAPTER_IS(self))
Bail out! ERROR:lib/bluez/adapter.c:165:adapter_get_dbus_object_path: assertion failed: (ADAPTER_IS(self))
[1] 4742 abort (core dumped) bt-device -l

Reloading the 'btusb' module doesn't fix the issue. The only fix is to shutdown my computer,
unplug the power supply for a few seconds, and then boot.

This task depends upon

Closed by  Andreas Radke (AndyRTR)
Sunday, 20 February 2022, 19:36 GMT
Reason for closing:  Fixed
Comment by Kenneth Henderick (ibex) - Thursday, 13 January 2022, 14:05 GMT
I can confirm this issue.

In case it might be interesting for debugging purposes; My Bose headset makes voice announcements when it's connecting/connected/disconnected, and based on the voice announcements I receive in/from the headset, it briefly connects, and then immediately disconnects.
Comment by Eric (harpium) - Friday, 14 January 2022, 02:57 GMT
To add on, this also starts happening when I try to connect my headphones.
They make a noise indicating that they connected, and then Bluetooth immediately stops working.
I have to forget the device first before connecting to avoid this bug.
Comment by EasyToRemember (EasyToRemember) - Sunday, 06 February 2022, 18:32 GMT
Similar here. After update few weeks ago, BT via Gnome stopped working - discovered devices are occasionally listed, but none can be connected (even if I try to remove and pair again). I can see bt-core dump in systemd journal as well, but not always.

Running `bt-device -c 04:21:44:40:97:64` produces: `Failed to start SDP discovery. Please make sure you have bluez-utils installed on your system.`
I have bluez-utils installed.

Running `bluetoothctl` and `connect 04:21:44:40:97:64` results in connection established and BT speaker works fine.
Comment by Andreas Radke (AndyRTR) - Tuesday, 08 February 2022, 16:43 GMT
Is this bluez or kernel related?
Comment by Eric (harpium) - Wednesday, 09 February 2022, 04:50 GMT
I'm guessing it's a bluez issue since I switched to the LTS kernel for a bit and still had the issue.

Might be related. but I get this constantly repeating error in journalctl:

```
Feb 08 20:48:09 eric-laptop bluetoothd[28506]: src/adv_monitor.c:btd_adv_monitor_offload_supported() Manager is NULL, get offload support failed
Feb 08 20:48:09 eric-laptop bluetoothd[28506]: src/adv_monitor.c:btd_adv_monitor_offload_supported() Manager is NULL, get offload support failed
Feb 08 20:48:09 eric-laptop bluetoothd[28506]: src/adv_monitor.c:btd_adv_monitor_offload_supported() Manager is NULL, get offload support failed

```
Comment by Andreas Radke (AndyRTR) - Wednesday, 09 February 2022, 06:17 GMT
Then please check against bluez-git/check for known bugs/bisect/report bug upstream.
Comment by Eric (harpium) - Wednesday, 09 February 2022, 07:20 GMT
Looks like this was already reported in https://github.com/bluez/bluez/issues/272 and patched in response to: https://github.com/bluez/bluez/issues/284
Comment by Andreas Radke (AndyRTR) - Saturday, 19 February 2022, 16:24 GMT
bluez 5.63-2 should fix also this one here. please test.
Comment by Eric (harpium) - Saturday, 19 February 2022, 21:20 GMT
I've since switched to Manjaro, where this issue doesn't occur. If anyone else wants to test this, that would be great.
Comment by EasyToRemember (EasyToRemember) - Sunday, 20 February 2022, 11:46 GMT
My problems with connecting to BT audio speakers in GNOME seem to be resolved now.

```
$ pacman -Qs bluez | grep local/
local/bluez 5.63-2
local/bluez-libs 5.63-2
local/bluez-tools 0.2.0-5
local/bluez-utils 5.63-2
```

Loading...