Closing.
]]>I simply had to run pulseaudio --daemonize to make it to work.
I have the following packages
local/bluez 5.63-2
Daemons for the bluetooth protocol stack
local/bluez-libs 5.63-2
Deprecated libraries for the bluetooth protocol stack
local/bluez-utils 5.63-2
Development and debugging utilities for the bluetooth protocol stack
local/pulseaudio-bluetooth 15.0-4
Thank you so much, this worked! I could never get Pulseaudio to actually start until you recommended this command. Thanks!
]]>$ bluetoothctl
...
[bluetooth]# connect C0:28:8D:AD:DA:26
Attempting to connect to C0:28:8D:AD:DA:26
Failed to connect: org.bluez.Error.Failed br-connection-profile-unavailable
Looking at the status of the bluetooth service I see the following message
$ systemctl status bluetooth
...
Jul 12 15:32:18 kathmandu bluetoothd[1086]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for C0:28:8D:AD:DA:26: Protocol not available
Restarting the wireplumber usually solves this:
$ systemctl --user restart wireplumber.service
I don't know what the root cause of the problem is.
I'm on Linux 5.18.9-zen1-1-zen with:
pipewire 1:0.3.54-1
pipewire-pulse 1:0.3.54-1
bluez 5.64-2
A little bit about my setup I am using dell xps7390 dual boot windows 10 and Ubuntu 22.04 LTS.
I was having problem connecting a Bluetooth mouse, first time I paired it in Ubuntu it was working fine, but after also pairing it in WIndows it stopped working properly. It was connecting and disconnecting in short interval of time approximate few seconds.
I found the solution in the links that I am going to provide below. I am not going to go in details because I am very noobish user of Ubuntu still and I don't quite understand much of the stuff I do. I hope it does help some of you.
https://wiki.archlinux.org/title/Bluetooth
https://averylarsen.com/posts/keeping-b … d-windows/
https://phoenixnap.com/kb/how-to-exit-vim
In short I had to check the registry in Windows and match it with the one in Linux in order to work on both OS's.
]]>rm ~/.config/pulse/*
based on this issue, I was trying to run pulseaudio and the output of that command gave me the real problem.
]]>For me it was a matter of simply loading these two modules:
pacmd load-module module-bluetooth-policy pacmd load-module module-bluetooth-discover
I have a custom setup where cadence loads a specific `.pa` file and they were not being loaded.
Thanks Marc.2377! The pacmd commands solved it for me as well (I don't have a special setup afaik, although I am using i3wm and no particular DM).
]]>pacmd load-module module-bluetooth-policy
pacmd load-module module-bluetooth-discover
I have a custom setup where cadence loads a specific `.pa` file and they were not being loaded.
]]>for me is killing pulseaudio after install pluseaudio-alsa and pulseaudio-bluetooth the solution for "br-connection-profile-unavailable". just do pulseaudio -k as user and everything works
Yes, this is the scheme I use now. I later found this solution instead of reboot. But then I stopped looking at this thread. Sorry for I didn't mention it sooner.
]]>I have the following packages
local/bluez 5.63-2
Daemons for the bluetooth protocol stack
local/bluez-libs 5.63-2
Deprecated libraries for the bluetooth protocol stack
local/bluez-utils 5.63-2
Development and debugging utilities for the bluetooth protocol stack
local/pulseaudio-bluetooth 15.0-4