You are not logged in.
Pages: 1
I am trying to connect to a bluetooth speaker with the bluez pacakage. I can do it all right with "bluetoothctl -- connect <Device>". But when I reboot my system and run it, then it fails (at first); after reboot, if I start firefox and run the same command, the device connects. So I reboot my system and started the bluetoothctl console and tried to connect with the device and it fails (I haven't started firefox yet).
[bluetooth]# connect F8:5C:7D:AC:31:F9
Attempting to connect to F8:5C:7D:AC:31:F9
[bluetooth]# Failed to connect: org.bluez.Error.Failed br-connection-profile-unavailableNow if I start firefox the console shows me this ( I did not do anything except start firefox):
[bluetooth]# connect F8:5C:7D:AC:31:F9
Attempting to connect to F8:5C:7D:AC:31:F9
[bluetooth]# Failed to connect: org.bluez.Error.Failed br-connection-profile-unavailable
[bluetooth]# hci0 class of device changed: 0x20010c
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B Class: 0x0020010c (2097420)
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 0000110e-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 0000111f-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 0000110b-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 00001108-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 0000110c-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 00001800-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 0000110a-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 00001801-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 0000180a-0000-1000-8000-00805f9b34fb
[bluetooth]# hci0 class of device changed: 0x60010c
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B Class: 0x0060010c (6291724)
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 0000110e-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 0000111f-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 0000110b-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 00001108-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 0000110c-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 00001800-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 0000110a-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 00001801-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 0000180a-0000-1000-8000-00805f9b34fb
[bluetooth]# hci0 class of device changed: 0x68010c
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B Class: 0x0068010c (6816012)
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 0000110e-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 0000111f-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 0000110b-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 00001108-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 0000110c-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 00001800-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 0000110a-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 00001801-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 0000180a-0000-1000-8000-00805f9b34fb
[bluetooth]# hci0 class of device changed: 0x6c010c
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B Class: 0x006c010c (7078156)
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 0000110e-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 0000111f-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 0000110b-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 00001108-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 0000110c-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 00001800-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 0000110a-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 00001801-0000-1000-8000-00805f9b34fb
[bluetooth]# [CHG] Controller 9C:DA:3E:AD:F7:8B UUIDs: 0000180a-0000-1000-8000-00805f9b34fbI tried changing the device Class to 0x006c010c in /etc/bluetooth/main.conf. But it produced no results. It's not a problem for me that I have to start firefox. I will start it anyway. I want to understand what's going on here and if there's a possible solution?
Last edited by nikinbaidarr (2024-01-14 03:30:39)
Offline
It's more likely that the sound daemon is socket activated rather than enabled, are you using pulseaudio or pipewire?
systemctl --user status pipewire{,-pulse}.{service,socket} wireplumber.{service,socket}Offline
It's more likely that the sound daemon is socket activated rather than enabled
I am using pulse. Enabling the pulseaudio daemon for the current user solved this problem. Thanks a lot.
Offline
Pages: 1