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 error:

сен 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. so it is not the case. What might cause this problem?

UPD: 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

UPD: This one didn't help too

  • Which version of Ubuntu are you using? – user68186 Sep 9 '19 at 18:11
  • @user68186 19.04 – biryulin04 Sep 9 '19 at 18:22

Run the following commands:

sudo apt-get install pulseaudio-module-bluetooth
sudo killall pulseaudio
pulseaudio --start    
sudo systemctl restart bluetooth
| improve this answer | |
  • 1
    Welcome to Ask Ubuntu. A bunch of commands alone does not provide a good answer to the question. The OP has already found a solution and provided an answer. Could you edit your answer and explain what these commands are supposed to do and how they are a better solution? – user68186 Apr 20 at 15:14
  • In my case, by mistake , I should have uninstalled pulseaudio-module-bluetooth. I installed the same and just restarted the system. Thanks. – Aravind May 23 at 8:54

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

exec --no-startup-id pactl load-module module-bluetooth-policy
exec --no-startup-id pactl load-module module-bluetooth-discover
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.