I was able to listen with my BT headset, but suddenly, one day, it disappeared from sound settings forever!

I've even re-paired my headset (and its connected already) but it doesn't have any options in sound settings in order to listen from it.

When I try this command:

hcitool scan

It doesn't find any devices! Even this command:

pactl list cards short

Only lists my default sound card only! What should I do?

share|improve this question
up vote 28 down vote accepted

Try this command:

sudo -H pactl load-module module-bluetooth-discover

I run this whenever I have paired, and successfully connected, but still can't see them in sound settings. It essentially tells pulseaudio to load reload it's list of bluetooth devices.

share|improve this answer
2  
You might consider adding a little more context -- people just seeing this command probably have little idea what it does, whether it's sketchy, whether it needs to be repeated on reboots, etc.. – belacqua Jun 11 '14 at 20:34
7  
Why was this answer accepted? What caused the problem to begin with, and what's the long-term fix? Ubuntu bluetooth worked perfectly for me, and then after a power outage it stopping working entirely. This command fixes it, but having to manually run this command every time I want to use bluetooth is not a solution. I've downvoted this answer until more explanation is provided. – Cerin Sep 5 '14 at 18:18
2  
@Cerin, okay, what do you want to know? It works - you admited that - if it was helpful you should upvote. It was accepted because it solved the OP's problem. If it solves it it is a solution. – Tim Sep 5 '14 at 20:24
3  
I'm having this same problem on Ubuntu 14.04. However, this solution did not work for me. – Ashwin Nanjappa Sep 13 '14 at 3:00
8  
I am getting this error: "Failure: Module initialization failed". Can anybody help? – Jay Chakra May 7 '16 at 20:03

The permanent solution would be to add the blueman PPA and update your package to the latest version which has the bug fixed: https://launchpad.net/~blueman/+archive/ubuntu/ppa

sudo add-apt-repository ppa:blueman/ppa
sudo apt-get update
sudo apt-get upgrade

That way, you should no longer have to run the

sudo -i pactl load-module module-bluetooth-discover

command every time but only once. Works for me on 14.04 LTS (Trusty)

Source

share|improve this answer
    
This does not apply for 16.04. The repository has no release candidate for it. – k0pernikus Jan 6 '17 at 14:57
    
@k0pernikus Seems like you can just sudo apt install blueman directly in 16.04: askubuntu.com/questions/764273/… – Andrew Mao Dec 11 '17 at 19:28

The headset is properly paired and shows under Bluetooth Devices but it does not show as an available INPUT / OUTPUT source for audio. The problem is that the pulseaudio bluetooth module is loaded before X11, changing a couple of config files do the trick:

PulseAudio can not load bluetooth module 15.10/16.04

nano /etc/pulse/default.pa

Comment out the following lines:

#.ifexists module-bluetooth-discover.so
#load-module module-bluetooth-discover
#.endif

nano /usr/bin/start-pulseaudio-x11

Find the following lines and add after them:

if [ x”$SESSION_MANAGER” != x ] ; then
/usr/bin/pactl load-module module-x11-xsmp “display=$DISPLAY session_manager=$SESSION_MANAGER” > /dev/null
fi
Add the following lines:
/usr/bin/pactl load-module module-bluetooth-discover
/usr/bin/pactl load-module module-switch-on-connect

This way the Pulse audio’s Bluetooth modules will not be downloaded at boot time but after x11 is started.

share|improve this answer
1  
Is there some service that needs to be restarted for these changes to take effect? – Michael Scheper Nov 8 '17 at 5:01

I am not able to comment on the top response, but I thought I'd add that on my Ubuntu MATE 12.04 LTS Laptop, I had to do:

sudo apt-get install pulseaudio-module-bluetooth

only then did this work

sudo -i pactl load-module module-bluetooth-discover

Then I had to go into bluetooth manager app, pair the device, then set to 'Audio Sink' mode, then I could see the device within the Ubuntu Sound options and manipulate inputs/outputs!

share|improve this answer

protected by Community May 10 '17 at 13:20

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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