You are not logged in.
After logging out and back in, bluetooth devices (specifically headset) disconnect and refuse to connect again, with
bluetoothd[37167]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for CC:98:8B:80:7B:CC: Protocol not available in journalctl. This occurs both with pipewire (pipewire-pulse) and with pulseaudio (with pulseaudio-modules-bt installed) and only resolves after rebooting. This happens after every logout, but up until relogging, everything works fine.
I have tried unpairing the device, restarting the bluetotoh service, repairing the device and still get the same issue.
When attempting to connect in bluetoothctl I get this output:
$bluetoothctl
Agent registered
[CHG] Controller F0:42:1C:3F:45:D9 Pairable: yes
[bluetooth]# connect CC:98:8B:80:7B:CC
Attempting to connect to CC:98:8B:80:7B:CC
Failed to connect: org.bluez.Error.Failed
[CHG] Device CC:98:8B:80:7B:CC Connected: yes
[CHG] Device CC:98:8B:80:7B:CC Connected: no
[bluetooth]# with the same errors in the journal:
Jun 22 11:36:35 piebox bluetoothd[37167]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for CC:98:8B:80:7B:CC: Protocol not available
Jun 22 11:36:38 piebox bluetoothd[37167]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for CC:98:8B:80:7B:CC: Protocol not available
Jun 22 11:37:01 piebox bluetoothd[37167]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for CC:98:8B:80:7B:CC: Protocol not availableHelp would be much appreciated as I feel I have tried everything, and having to reboot whenever I log out of sway or i3 is a huge pain
[edit]
here is the output of removing and re-pairing the headset in bluetoothctl
[bluetooth]# remove CC:98:8B:80:7B:CC
[DEL] Device CC:98:8B:80:7B:CC WH-1000XM3
Device has been removed
[bluetooth]# agent
DisplayOnly KeyboardDisplay NoInputNoOutput on
DisplayYesNo KeyboardOnly off
[bluetooth]# agent on
Agent is already registered
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# pair
[bluetooth]# devices
[bluetooth]# scan on
Discovery started
[CHG] Controller F0:42:1C:3F:45:D9 Discovering: yes
[NEW] Device 7F:E3:A8:45:8C:0D 7F-E3-A8-45-8C-0D
[NEW] Device CC:98:8B:80:7B:CC LE_WH-1000XM3
[bluetooth]# devices
Device 7F:E3:A8:45:8C:0D 7F-E3-A8-45-8C-0D
Device CC:98:8B:80:7B:CC LE_WH-1000XM3
[bluetooth]# pair
7F:E3:A8:45:8C:0D CC:98:8B:80:7B:CC
[bluetooth]# pair CC:98:8B:80:7B:CC
Attempting to pair with CC:98:8B:80:7B:CC
[CHG] Device CC:98:8B:80:7B:CC Connected: yes
[CHG] Device CC:98:8B:80:7B:CC Name: WH-1000XM3
[CHG] Device CC:98:8B:80:7B:CC Alias: WH-1000XM3
[CHG] Device CC:98:8B:80:7B:CC Modalias: usb:v054Cp0CD3d0452
[CHG] Device CC:98:8B:80:7B:CC UUIDs: 00000000-deca-fade-deca-deafdecacaff
[CHG] Device CC:98:8B:80:7B:CC UUIDs: 00001108-0000-1000-8000-00805f9b34fb
[CHG] Device CC:98:8B:80:7B:CC UUIDs: 0000110b-0000-1000-8000-00805f9b34fb
[CHG] Device CC:98:8B:80:7B:CC UUIDs: 0000110c-0000-1000-8000-00805f9b34fb
[CHG] Device CC:98:8B:80:7B:CC UUIDs: 0000110e-0000-1000-8000-00805f9b34fb
[CHG] Device CC:98:8B:80:7B:CC UUIDs: 0000111e-0000-1000-8000-00805f9b34fb
[CHG] Device CC:98:8B:80:7B:CC UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[CHG] Device CC:98:8B:80:7B:CC UUIDs: 7b265b0e-2232-4d45-bef4-bb8ae62f813d
[CHG] Device CC:98:8B:80:7B:CC UUIDs: 81c2e72a-0591-443e-a1ff-05f988593351
[CHG] Device CC:98:8B:80:7B:CC UUIDs: 931c7e8a-540f-4686-b798-e8df0a2ad9f7
[CHG] Device CC:98:8B:80:7B:CC UUIDs: 96cc203e-5068-46ad-b32d-e316f5e069ba
[CHG] Device CC:98:8B:80:7B:CC UUIDs: b9b213ce-eeab-49e4-8fd9-aa478ed1b26b
[CHG] Device CC:98:8B:80:7B:CC UUIDs: f8d1fbe4-7966-4334-8024-ff96c9330e15
[CHG] Device CC:98:8B:80:7B:CC ServicesResolved: yes
[CHG] Device CC:98:8B:80:7B:CC Paired: yes
Pairing successful
[CHG] Device CC:98:8B:80:7B:CC Name: LE_WH-1000XM3
[CHG] Device CC:98:8B:80:7B:CC Alias: LE_WH-1000XM3
[CHG] Device CC:98:8B:80:7B:CC ServicesResolved: no
[CHG] Device CC:98:8B:80:7B:CC Connected: noTheres no output in journal or dmesg until trying to connect.
Connecting the the same bluetoothctl session gives this output in bluetoothctl
[bluetooth]# connect CC:98:8B:80:7B:CC
Attempting to connect to CC:98:8B:80:7B:CC
Failed to connect: org.bluez.Error.Failed
[CHG] Device CC:98:8B:80:7B:CC ManufacturerData Key: 0x012d
[CHG] Device CC:98:8B:80:7B:CC ManufacturerData Value:
04 00 01 31 00 03 87 7b 3f 5d 00 60 d0 00 00 00 ...1...{?].`....
00 00 00 ...
[CHG] Device CC:98:8B:80:7B:CC RSSI: -59and again this in journal
bluetoothd[106690]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for CC:98:8B:80:7B:CC: Protocol not availableLast edited by ibrokemypie (2021-06-22 03:07:20)
Offline