Not finding anything in Spanish on the subject, I share how I solved a seemingly simple problem with an elusive answer.
My notebook has bluetooth, I installed it Xubuntu 14.04 and it works wonderfully to connect my Android. But when trying to listen to music with external equipment (using an H163 adapter), the equipment recognized the device but could not use it as an audio output, it could not “pair” it. The error message was: "Connection failed: Stream setup failed."
I remind you that the Xubuntu distro, like all its family, already has PulseAudio and Blueman Device Manager 1.23 installed.
The solution was obtained in this blog in English. They say they used it in Linux Mint; it still worked for me on my Debian derivative.
As explained, I had to apply two steps:
Make sure the necessary package is installed. In my case it was NOT installed by default in the distro:
sudo apt-get install pulseaudio-module-bluetooth
Once installed, it still didn't pair properly, whereupon I entered the terminal:
pactl load-module module-bluetooth-discover
And that's it, now I listen to music (and alerts) as it should.
Very useful. Thanks for the info.
You are welcome! The idea is that 😉
Thank you very much for the information. It works on debian jessie installing the package and rebooting. And I thought that some firmware was missing 😛
It is one of those solutions that because it is simple one does not think the first time and starts searching unnecessarily!
Regards!
The comment is great, but there is a possibility that the command "pactl load-module module-bluetooth-discover" will load directly on startup.
I have Xubuntu 14.04 and every time I start it up and want to connect the audio to my bluetooth speaker I have to write that command in the terminal. It would be great if the settings were saved so you don't have to repeat the same step every time.
Edit this file /etc/pulse/default.pa or ~ / .config / pulse / default.pa
And add at the end
load-module module-bluetooth-discover
I am testing Xubuntu 15.04 and I have to install some packages, configure the blueman, the pavucontrol, execute the command in this post. In my case the file includes this:
.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
. Endif
So it seems that it is not necessary to add the line, since if you installed the pulseaudio-module-bluetooth file it should autoload it. However I cannot test it as I am in livecd and everything is erased on restart. If you added this command and it still doesn't work automatically then a bug should be reported to I don't know who.
Excellent! It worked for me, all you had to do was change the audio output settings, and that's it.
Again, thank you very much for the solution, it has helped a lot.
Great thank you very much for sharing
Thank you. It has come to me of pearls. If it's worth anyone, it works on a NGS artica bluetooth headset.
holy hand, thanks for the two commands
thanks corduroy excellent info solved the problem is appreciated
THANKS A LOT!!!! I ALWAYS WANTED IT AND NEVER FOUND IT, 10000 POINTS 😀
I am having trouble connecting a bluetooth audio device to my linux mint PC. I have followed your instructions but when installing
pactl load-module module-bluetooth-discover
I get an error and there is no way to listen to music via bluetooth.
I have the same problem with a bluetooth device, I have followed your instructions but in the terminal when I install pactl load-module module-bluetooth-discover
it tells me: connection error: connection denied
and it does not work….
Thanks a lot!! perfect !!
Your post served me very well. But I have another problem. Every time I insert the bluetooth device to the usb port; my netbook shuts down. And if my netbook starts with the same one inserted, after deactivating bluetooth, when removing the device from the usb port, the netbook turns off.
I have an updated Debian Jessie 8 system. Will there be a solution? I think it may be incompatibility of some kernel module.
Thank you friend, if it worked, you just have to restart and that's it.
Perfect !!
Thanks for sharing
Thank you very much for sharing, it was very useful, it is what I needed and had not been able to solve.
Thanks a lot. Really useful
thank you very much
THANK YOU!!!!! YOU SAVED MY LIFE!
It was effective Thank you
hahahahaha thank you very much for all the supposed solutions this is the one that worked for me ... you are good vibes man
The solution worked perfectly, Excellent !!!
At the moment of pairing the bluetooth with some device, I can no longer surf the internet, either by wifi or cable, they know if any port may cause conflict or someone has happened the same beforehand thank you very much I use Debian 9
excellent friend, it worked on debian 9.4 strecht….
Excellent old man it worked for me, on Kali Linux, thanks a lot! Couldn't connect to things by default, it would link but failed to connect later. Now with this straight away, it requires some extra configuration to choose the default audio output.
genius.
maestroooooooooooooooooooooooooooo !!!!
Very good post, thank you very much. It worked well in Ubuntu MATE 18.04.3 LTS
Excellent!! It worked the first time in DEBIAN 10 !! Thank you!!
It didn't work for me! I do not know why. I have Linux Mint. When I put the command »pactl load-module module-bluetooth-discover» I got the Fault: «module initialization failed». My Bluetooth devices are listed, but I can't connect them.
Some help?
Thank you very much!
Oh thanks, I can't believe it's still working on debian 11
I had the same problem in KDE Neon and after googling for a while it was this command that solved it for me.
sudo apt install bluetooth bluez pulseaudio-module-bluetooth
I hope it helps someone, greetings!
thank you it served me a lot in should
perfect, your advice super useful
I use debian 11 with kde 5.20