Connection Failed: Protocol not available (Bluetooth issue)

I’m having issue trying to connect to a USB speaker. I get the error “Connection Failed: Protocol not available”:

[poq@tuxwarrior import]$ lsmod | grep btusb
btusb                  69632  0
btrtl                  28672  1 btusb
btbcm                  20480  1 btusb
btintel                32768  1 btusb
bluetooth             712704  41 btrtl,btintel,btbcm,bnep,btusb,rfcomm

Any idea what might be wrong here, or how to debug?

References:

Anything in the journal (journalctl -b0 | grep pipewire)?

Nothing relevant, it seems like…

Apr 27 21:04:50 tuxwarrior polkitd[1625]: Operator of unix-session:2 successfully authenticated as unix-user:poq to gain TEMPORARY authorization for action org.manjaro.pamac.commit for system-bus-name::1.1917375 [pamac install --no-confirm atom blueman firefox gimp gnome-themes-extra gparted gpicview gtk-engine-murrine gufw hunspell-en_GB libreoffice-fresh lightdm-settings manjaro-printer manjaro-settings-manager mpv mutt net-tools nginx nnn obs-studio pavucontrol perl-anyevent-i3 pipewire playerctl python-beautifulsoup4 python-cson python-markdown python-pillow python-pylint qutebrowser redshift seahorse signal-desktop speedcrunch synology-assistant tor trash-cli tuxedo-control-center xarchiver xclip yay] (owned by unix-user:poq)

Debugging

[poq@tuxwarrior labels]$ bluetoothctl
Agent registered
[bluetooth]# devices
Device B8:D5:0B:D0:06:B0 HK Onyx Studio 3
Device 00:21:3C:8F:BD:F0 JAMBOX by Jawbone
[bluetooth]# connect B8:D5:0B:D0:06:B0
Attempting to connect to B8:D5:0B:D0:06:B0
Failed to connect: org.bluez.Error.Failed
[poq@tuxwarrior ~]$ sudo dmesg | grep -i 'bluetooth'
[    9.362520] Bluetooth: Core ver 2.22
[    9.362541] Bluetooth: HCI device and connection manager initialized
[    9.362545] Bluetooth: HCI socket layer initialized
[    9.362546] Bluetooth: L2CAP socket layer initialized
[    9.362549] Bluetooth: SCO socket layer initialized
[    9.500800] Bluetooth: hci0: Firmware revision 0.0 build 121 week 7 2021
[   38.710167] Bluetooth: hci0: Bootloader revision 0.3 build 0 week 24 2017
[   38.711194] Bluetooth: hci0: Device revision is 1
[   38.711201] Bluetooth: hci0: Secure boot is enabled
[   38.711203] Bluetooth: hci0: OTP lock is enabled
[   38.711205] Bluetooth: hci0: API lock is enabled
[   38.711207] Bluetooth: hci0: Debug lock is disabled
[   38.711209] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[   38.722385] Bluetooth: hci0: Found device firmware: intel/ibt-20-1-3.sfi
[   40.309116] Bluetooth: hci0: Waiting for firmware download to complete
[   40.310186] Bluetooth: hci0: Firmware loaded in 1563073 usecs
[   40.310200] Bluetooth: hci0: Waiting for device to boot
[   40.328308] Bluetooth: hci0: Device booted in 17693 usecs
[   40.336521] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-20-1-3.ddc
[   40.338309] Bluetooth: hci0: Applying Intel DDC parameters completed
[   40.341302] Bluetooth: hci0: Firmware revision 0.0 build 118 week 15 2021
[  108.854865] audit: type=1130 audit(1619713592.963:138): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=bluetooth comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  108.860371] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[  108.860373] Bluetooth: BNEP filters: protocol multicast
[  108.860376] Bluetooth: BNEP socket layer initialized
[  134.578570] Bluetooth: RFCOMM TTY layer initialized
[  134.578575] Bluetooth: RFCOMM socket layer initialized
[  134.578578] Bluetooth: RFCOMM ver 1.11
[poq@tuxwarrior ~]$ systemctl status bluetooth
● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; disabled; vendor preset: disabled)
     Active: active (running) since Thu 2021-04-29 18:26:32 CEST; 46min ago
       Docs: man:bluetoothd(8)
   Main PID: 3801 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 154287)
     Memory: 2.5M
     CGroup: /system.slice/bluetooth.service
             └─3801 /usr/lib/bluetooth/bluetoothd

...
Apr 29 19:08:06 tuxwarrior bluetoothd[3801]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for B8:D5:0B:D0:06:B0: Protocol not available
[poq@tuxwarrior ~]$ journalctl -n 20
-- Journal begins at Thu 2021-03-25 21:30:26 CET, ends at Thu 2021-04-29 19:12:48 CEST. --
...
Apr 29 19:12:48 tuxwarrior bluetoothd[3801]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for B8:D5:0B:D0:06:B0: Protocol not available

Tried following these steps, without luck:

Tried this, without luck:

Made sure this was not my reason:

Finally, I managed to fix this issue. I believe the problem was due to not having completely removed pulseaudio. I guess there was some confusion in between pulseaudio and pipewire.

  • I made sure pulseaudio was removed from my system (pamac remove pulseaudio)
  • I reinstalled pipewire (pamac install manjaro-pipewire)

After a restart all was working well:

[poq@tuxwarrior ~]$ sudo systemctl start bluetooth
[poq@tuxwarrior ~]$ bluetoothctl 
Agent registered
[CHG] Controller 8C:C6:81:D2:B1:CA Pairable: yes
[bluetooth]# devices
Device B8:D5:0B:D0:06:B0 HK Onyx Studio 3
[bluetooth]# connect B8:D5:0B:D0:06:B0
Attempting to connect to B8:D5:0B:D0:06:B0
Failed to connect: org.bluez.Error.NotReady
[bluetooth]# power on
[CHG] Controller 8C:C6:81:D2:B1:CA Class: 0x006c010c
Changing power on succeeded
[CHG] Controller 8C:C6:81:D2:B1:CA Powered: yes
[bluetooth]# connect B8:D5:0B:D0:06:B0
Attempting to connect to B8:D5:0B:D0:06:B0
[CHG] Device B8:D5:0B:D0:06:B0 Connected: yes
Connection successful
[CHG] Device B8:D5:0B:D0:06:B0 ServicesResolved: yes
[Onyx Studio 3]# 

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.