When I was using GNOME, my bluetooth devices worked fine. But now I've moved to i3 and use blueman. When I try to connect to any headphone, blueman throws
blueman.bluez.errors.DBusFailedError: Protocol not available.
In logs there are pretty similar errors:
сен 09 21:00:45 keddad-pc bluetoothd[916]: a2dp-sink profile connect failed for FC:A8:9A:90:B
The only fix I could find is to install pulseaudio-module-bluetooth
, but it is already installed. What might cause this problem?
I tried adding
load-module module-bluetooth-policy
load-module module-bluetooth-discover
to /etc/pulse/system.pa
as in Arch Wiki, but it didn't fix anything
This gist didn't help either.
Run the following commands:
I was able to solve the same problem on Ubuntu 21.04 based on this solution:
Adding the
module-bluez5-discover
at the end of the pulseaudio/etc/pulse/default.pa
config:Restart PulseAudio:
In my case(Ubuntu 18.04/Awesome wm),
pulseaudio-module-bluetooth
is already installed too.Run the following commands to fix permissions:
Then reboot your system.
Looks like something wrong was with module loading. I didn't really figure the reason, but I made i3 to load them manually on startup.
Add these lines to
~/.config/i3/config
I have the exact same problem
a2dp-sink profile connect failed
+blueman.bluez.errors.DBusFailedError: Protocol not available.
I think the problem might be in our
~/.config/pulse/default.pa
As I do not reproduce the original bug listed in this workaround ( https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1703415 ) I think it can be safely commented :
then restart pulseaudio with
It's also possible that this problematic workaround is not present in a fresh install of the latest Ubuntu release, I did not check. (I'm currently in 20.10, coming from an install in 18.10)