Pulseaudio not detecting bluetooth headset automatically
The Pavucontrol on my Xubuntu 13.10 detects my bluetooth headset, but only after I type the commands :
pulseaudio -k
sudo alsa force-reload
After a few seconds the headset appears in the configuration tab.
I have also tried inserting the line
load-module module-switch-on-connect
in the /etc/pulse/default.pa but it doesn't help.
I have tried purging and autoremoving and reinstalling everything right from alsa to pulseaudio and pulseaudio-module-bluetooth. Nothing works.
Is there a workaround to load the headset without using the command force-reload ? To make the pulseaudio daemon recognize the device automatically ?
I tried adding :
pcm.bluetooth {
type bluetooth
device "XX:XX:XX:XX:XX:XX"
profile "auto"
}
to a file .asoundrc in my home directory but it doesn't make a difference
After killing the pulseaudio daemon, my even volume hotkeys stop working. I have to assign
amixer set Master 4%- -q unmute
amixer set Master 4%+ -q unmute
to some other key combination to manage the volume from keyboard. Assigning the commands to the hotkeys doesn't work. How are the volume keys bound to the daemon ? Is there any other way of binding the keys to the new daemon (after restarting) ?
UPDATE
Found the problem. Using the command
pactl list | grep -i module-bluetooth-discover
I found out that the bluetooth discover module was not loaded.
But my default.pa file in /etc/pulse contains the lines
.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif
So why does the module not load on pulseaudio startup ?
After issuing the command
sudo pactl load-module module-bluetooth-discover
The bluetooth headset works properly and is detected automatically, without killing and restarting alsa.
bluetooth pulseaudio alsa
|
show 1 more comment
The Pavucontrol on my Xubuntu 13.10 detects my bluetooth headset, but only after I type the commands :
pulseaudio -k
sudo alsa force-reload
After a few seconds the headset appears in the configuration tab.
I have also tried inserting the line
load-module module-switch-on-connect
in the /etc/pulse/default.pa but it doesn't help.
I have tried purging and autoremoving and reinstalling everything right from alsa to pulseaudio and pulseaudio-module-bluetooth. Nothing works.
Is there a workaround to load the headset without using the command force-reload ? To make the pulseaudio daemon recognize the device automatically ?
I tried adding :
pcm.bluetooth {
type bluetooth
device "XX:XX:XX:XX:XX:XX"
profile "auto"
}
to a file .asoundrc in my home directory but it doesn't make a difference
After killing the pulseaudio daemon, my even volume hotkeys stop working. I have to assign
amixer set Master 4%- -q unmute
amixer set Master 4%+ -q unmute
to some other key combination to manage the volume from keyboard. Assigning the commands to the hotkeys doesn't work. How are the volume keys bound to the daemon ? Is there any other way of binding the keys to the new daemon (after restarting) ?
UPDATE
Found the problem. Using the command
pactl list | grep -i module-bluetooth-discover
I found out that the bluetooth discover module was not loaded.
But my default.pa file in /etc/pulse contains the lines
.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif
So why does the module not load on pulseaudio startup ?
After issuing the command
sudo pactl load-module module-bluetooth-discover
The bluetooth headset works properly and is detected automatically, without killing and restarting alsa.
bluetooth pulseaudio alsa
I have the same problem.
– Borivoje Petrovic
Dec 5 '13 at 14:25
@BorivojePetrovic, Although I did not find the solution, I did find a workaround. First, load the modules using the commands : sudo pactl load-module module-bluetooth-discover ; sudo pactl load-module module-switch-on-connect Then, connect your bluetooth headset. In case the headset is connected but pulseaudio doesn't show it, use the commands sudo killall -9 pulseaudio ; sudo alsa force-reload ; sudo killall -9 xfce4-volumed ; xfce4-volumed ; This will reload pulseaudio and also your volume keys will start working. Hope this helps :)
– adityap174
Dec 6 '13 at 3:37
I managed it to work. The problem with many issues in PulseAudio sound is sound device sharing. Turning the shares off fixed my problem with bluetooth headset. A very nice app that records audio an is not Gnome's bloaty sound recorder is Audio Recorder, which is availlable from a PPA.
– Borivoje Petrovic
Dec 7 '13 at 13:39
Could you add that as answer?
– Braiam
Dec 27 '13 at 21:02
I have a similar problem, except pactl DOES listmodule-bluetooth-policy
andmodule-bluetooth-discover
! Again, playback through KDE apps works fine, but playback through pulseaudio does not. Anyone have a clue?
– Asfand Qazi
Sep 15 '15 at 6:14
|
show 1 more comment
The Pavucontrol on my Xubuntu 13.10 detects my bluetooth headset, but only after I type the commands :
pulseaudio -k
sudo alsa force-reload
After a few seconds the headset appears in the configuration tab.
I have also tried inserting the line
load-module module-switch-on-connect
in the /etc/pulse/default.pa but it doesn't help.
I have tried purging and autoremoving and reinstalling everything right from alsa to pulseaudio and pulseaudio-module-bluetooth. Nothing works.
Is there a workaround to load the headset without using the command force-reload ? To make the pulseaudio daemon recognize the device automatically ?
I tried adding :
pcm.bluetooth {
type bluetooth
device "XX:XX:XX:XX:XX:XX"
profile "auto"
}
to a file .asoundrc in my home directory but it doesn't make a difference
After killing the pulseaudio daemon, my even volume hotkeys stop working. I have to assign
amixer set Master 4%- -q unmute
amixer set Master 4%+ -q unmute
to some other key combination to manage the volume from keyboard. Assigning the commands to the hotkeys doesn't work. How are the volume keys bound to the daemon ? Is there any other way of binding the keys to the new daemon (after restarting) ?
UPDATE
Found the problem. Using the command
pactl list | grep -i module-bluetooth-discover
I found out that the bluetooth discover module was not loaded.
But my default.pa file in /etc/pulse contains the lines
.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif
So why does the module not load on pulseaudio startup ?
After issuing the command
sudo pactl load-module module-bluetooth-discover
The bluetooth headset works properly and is detected automatically, without killing and restarting alsa.
bluetooth pulseaudio alsa
The Pavucontrol on my Xubuntu 13.10 detects my bluetooth headset, but only after I type the commands :
pulseaudio -k
sudo alsa force-reload
After a few seconds the headset appears in the configuration tab.
I have also tried inserting the line
load-module module-switch-on-connect
in the /etc/pulse/default.pa but it doesn't help.
I have tried purging and autoremoving and reinstalling everything right from alsa to pulseaudio and pulseaudio-module-bluetooth. Nothing works.
Is there a workaround to load the headset without using the command force-reload ? To make the pulseaudio daemon recognize the device automatically ?
I tried adding :
pcm.bluetooth {
type bluetooth
device "XX:XX:XX:XX:XX:XX"
profile "auto"
}
to a file .asoundrc in my home directory but it doesn't make a difference
After killing the pulseaudio daemon, my even volume hotkeys stop working. I have to assign
amixer set Master 4%- -q unmute
amixer set Master 4%+ -q unmute
to some other key combination to manage the volume from keyboard. Assigning the commands to the hotkeys doesn't work. How are the volume keys bound to the daemon ? Is there any other way of binding the keys to the new daemon (after restarting) ?
UPDATE
Found the problem. Using the command
pactl list | grep -i module-bluetooth-discover
I found out that the bluetooth discover module was not loaded.
But my default.pa file in /etc/pulse contains the lines
.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif
So why does the module not load on pulseaudio startup ?
After issuing the command
sudo pactl load-module module-bluetooth-discover
The bluetooth headset works properly and is detected automatically, without killing and restarting alsa.
bluetooth pulseaudio alsa
bluetooth pulseaudio alsa
edited Dec 27 '13 at 21:02
Braiam
51.8k20136221
51.8k20136221
asked Oct 26 '13 at 6:49
adityap174adityap174
226147
226147
I have the same problem.
– Borivoje Petrovic
Dec 5 '13 at 14:25
@BorivojePetrovic, Although I did not find the solution, I did find a workaround. First, load the modules using the commands : sudo pactl load-module module-bluetooth-discover ; sudo pactl load-module module-switch-on-connect Then, connect your bluetooth headset. In case the headset is connected but pulseaudio doesn't show it, use the commands sudo killall -9 pulseaudio ; sudo alsa force-reload ; sudo killall -9 xfce4-volumed ; xfce4-volumed ; This will reload pulseaudio and also your volume keys will start working. Hope this helps :)
– adityap174
Dec 6 '13 at 3:37
I managed it to work. The problem with many issues in PulseAudio sound is sound device sharing. Turning the shares off fixed my problem with bluetooth headset. A very nice app that records audio an is not Gnome's bloaty sound recorder is Audio Recorder, which is availlable from a PPA.
– Borivoje Petrovic
Dec 7 '13 at 13:39
Could you add that as answer?
– Braiam
Dec 27 '13 at 21:02
I have a similar problem, except pactl DOES listmodule-bluetooth-policy
andmodule-bluetooth-discover
! Again, playback through KDE apps works fine, but playback through pulseaudio does not. Anyone have a clue?
– Asfand Qazi
Sep 15 '15 at 6:14
|
show 1 more comment
I have the same problem.
– Borivoje Petrovic
Dec 5 '13 at 14:25
@BorivojePetrovic, Although I did not find the solution, I did find a workaround. First, load the modules using the commands : sudo pactl load-module module-bluetooth-discover ; sudo pactl load-module module-switch-on-connect Then, connect your bluetooth headset. In case the headset is connected but pulseaudio doesn't show it, use the commands sudo killall -9 pulseaudio ; sudo alsa force-reload ; sudo killall -9 xfce4-volumed ; xfce4-volumed ; This will reload pulseaudio and also your volume keys will start working. Hope this helps :)
– adityap174
Dec 6 '13 at 3:37
I managed it to work. The problem with many issues in PulseAudio sound is sound device sharing. Turning the shares off fixed my problem with bluetooth headset. A very nice app that records audio an is not Gnome's bloaty sound recorder is Audio Recorder, which is availlable from a PPA.
– Borivoje Petrovic
Dec 7 '13 at 13:39
Could you add that as answer?
– Braiam
Dec 27 '13 at 21:02
I have a similar problem, except pactl DOES listmodule-bluetooth-policy
andmodule-bluetooth-discover
! Again, playback through KDE apps works fine, but playback through pulseaudio does not. Anyone have a clue?
– Asfand Qazi
Sep 15 '15 at 6:14
I have the same problem.
– Borivoje Petrovic
Dec 5 '13 at 14:25
I have the same problem.
– Borivoje Petrovic
Dec 5 '13 at 14:25
@BorivojePetrovic, Although I did not find the solution, I did find a workaround. First, load the modules using the commands : sudo pactl load-module module-bluetooth-discover ; sudo pactl load-module module-switch-on-connect Then, connect your bluetooth headset. In case the headset is connected but pulseaudio doesn't show it, use the commands sudo killall -9 pulseaudio ; sudo alsa force-reload ; sudo killall -9 xfce4-volumed ; xfce4-volumed ; This will reload pulseaudio and also your volume keys will start working. Hope this helps :)
– adityap174
Dec 6 '13 at 3:37
@BorivojePetrovic, Although I did not find the solution, I did find a workaround. First, load the modules using the commands : sudo pactl load-module module-bluetooth-discover ; sudo pactl load-module module-switch-on-connect Then, connect your bluetooth headset. In case the headset is connected but pulseaudio doesn't show it, use the commands sudo killall -9 pulseaudio ; sudo alsa force-reload ; sudo killall -9 xfce4-volumed ; xfce4-volumed ; This will reload pulseaudio and also your volume keys will start working. Hope this helps :)
– adityap174
Dec 6 '13 at 3:37
I managed it to work. The problem with many issues in PulseAudio sound is sound device sharing. Turning the shares off fixed my problem with bluetooth headset. A very nice app that records audio an is not Gnome's bloaty sound recorder is Audio Recorder, which is availlable from a PPA.
– Borivoje Petrovic
Dec 7 '13 at 13:39
I managed it to work. The problem with many issues in PulseAudio sound is sound device sharing. Turning the shares off fixed my problem with bluetooth headset. A very nice app that records audio an is not Gnome's bloaty sound recorder is Audio Recorder, which is availlable from a PPA.
– Borivoje Petrovic
Dec 7 '13 at 13:39
Could you add that as answer?
– Braiam
Dec 27 '13 at 21:02
Could you add that as answer?
– Braiam
Dec 27 '13 at 21:02
I have a similar problem, except pactl DOES list
module-bluetooth-policy
and module-bluetooth-discover
! Again, playback through KDE apps works fine, but playback through pulseaudio does not. Anyone have a clue?– Asfand Qazi
Sep 15 '15 at 6:14
I have a similar problem, except pactl DOES list
module-bluetooth-policy
and module-bluetooth-discover
! Again, playback through KDE apps works fine, but playback through pulseaudio does not. Anyone have a clue?– Asfand Qazi
Sep 15 '15 at 6:14
|
show 1 more comment
9 Answers
9
active
oldest
votes
I found a fix for this on another answer, 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/16.10
vim /etc/pulse/default.pa
Comment out (with an # at the beginning of the line) the following line:
#load-module module-bluetooth-policy
#load-module module-bluetooth-discover
Now edit the file /usr/bin/start-pulseaudio-x11
find the following lines:
if [ x”$SESSION_MANAGER” != x ] ; then
/usr/bin/pactl load-module module-x11-xsmp “display=$DISPLAY session_manager=$SESSION_MANAGER” > /dev/null
fi
and change them to this:
if [ x"$SESSION_MANAGER" != x ] ; then
/usr/bin/pactl load-module module-x11-xsmp "display=$DISPLAY session_manager=$SESSION_MANAGER" > /dev/null
#
# Added per StackExchange http://askubuntu.com/questions/366032/pulseaudio-not-detecting-bluetooth-headset-automatically
#
/usr/bin/pactl load-module module-bluetooth-policy
/usr/bin/pactl load-module module-bluetooth-discover
fi
This way the Pulse audio’s Bluetooth modules will not be downloaded at boot time but after x11 is started.
This fix goes against the current suggestion at: https://freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Bluetooth/
In my case I simply needed to use pavucontrol to sele ct output device. Blueman didnt solve my problem
– peter
Nov 2 '17 at 20:01
Your patch is very important because bothmodule-bluetooth-policy
andmodule-bluetooth-discover
provide the best experience (and the obvious one). When I connect to my headset, my expectation is to get sound there automatically otherwise I just unpair it
– develCuy
Aug 24 '18 at 16:07
add a comment |
This:
sudo apt-get install pulseaudio-module-bluetooth
sudo pactl load-module module-bluetooth-discover
worked for me on Ubuntu 14.10 (Lenovo x240) to have at least my bluetooth device listed in pulseaudio.
This is all it took for me too on Ubuntu 14.10! Nice!
– Evan Carroll
Apr 8 '15 at 21:32
add a comment |
It seems there is an issue with some (legacy?) code in Blueman which deliberately unloads module-bluetooth-discover
on startup (i.e. after it's been loaded from /etc/pulse/default.pa
. For more details see here: https://github.com/blueman-project/blueman/issues/64.
add a comment |
I know this is a bit of an old post. But as I recently had the same problem I came across a rather simple solution: just install pulseaudio-module-bluetooth
sudo apt-get install pulseaudio-module-bluetooth
http://ubuntuforums.org/showthread.php?t=1909957
good luck with that :)
add a comment |
After analize tons of post my conclusion is that blue man is unloading deliberately the module module-bluetooth-discover, so in my case the solution was uninstall blueman from my system. After that, everything works ok.
This was the final step to getting this to work for me on 16.04.1 LTS. Thanks!
– Alan Jurgensen
Mar 6 '17 at 17:25
add a comment |
Running Xubuntu 13.10 64bit I had the same problem. Loading module-bluetooth-discover manually fixes the problem. I it also fixes it permanently. I rebooted and the headset worked without loading module-bluetooth-discover. Seems it has to be successfully connected once and then it's working fine.
I wonder why default.pa contains module-bluetooth-discover and the module is present on disk but it is not listed in pactl list?
Also look at configuration tab in pavuvontrol and set the profile of the headset. I have the choice between off/a2dp/hfp, default was off, so no pulseaudio input or output appeared even though the headset was connected.
Thanks for answering but after reboot, using the command : 'pactl list | grep -i module-bluetooth-discover' does it show that the module is loaded, after reboot, everything gets reset and I have to issue those commands every time. When connecting the headset through blueman, I switch the profile to a2dp.
– adityap174
Dec 9 '13 at 4:14
After reboot 'pactl list | grep -i module-bluetooth-discover' yields nothing, and the headset is not recognized. Bot loading module-bluetooth-discover once, log out an log in again, a new pulse server is started, without module-bluetooth-discover loaded, but the headset works. ???
– Adam
Dec 11 '13 at 16:29
add a comment |
I also have this problem on ubuntu 14.04.
The simpliest solution is just add official blueman devs ppa:
https://launchpad.net/~blueman/+archive/ubuntu/ppa
It works for me after update.
1
This worked better for me in 14.04, though it is an older version.
– jarno
Nov 26 '16 at 15:20
This doesn't work on Ubuntu 16.04. :-(
– Cristiana Nicolae
Jan 2 '17 at 16:52
add a comment |
sudo apt-get install pulseaudio-module-bluetooth
Worked for me too, but it was not persistent after a reboot, and I also had to manually set the default audio device in volume control each time.
Adding it to .profile
also didn't work - unless it was preceded with an 8 second sleep delay.
Found a solution that worked persistently with just a few clicks:
Right-click the blueman icon -> Plugins
And disable the PulseAudio plugin.
When I do this, it does indeed seem to be possible to select the device as audiosink (i.e. you don't get the usual error "Stream setup failed" when choosing "Connect to Audio Sink in BlueMan). However, no audio is actually streamed to the device, and the bluetooth device is not listed in the sound settings dialog.
– Joris Bierkens
Oct 28 '15 at 14:50
@user203621 Try runpavucontrol
go the Configuration tab, add see if you can set your bluetooth device profile to A2DP there? (When troubleshooting bluetooth, on the same configuration tab I often set built in audio to none as well)
– Mtl Dev
Oct 28 '15 at 18:12
add a comment |
[UPDATE]
On KXStudio there is an special setup with Cadence, the right files to edit are located at /usr/share/cadence/pulse2jack/
, there are 2 files play.pa
and play+rec.pa
. Add this to both:
load-module module-bluetooth-policy
load-module module-bluetooth-discover
[Original - good for debugging]
On Ubuntu+KDE and KXStudio I'm using an autostart script like this:
#!/usr/bin/env sh
sleep 10
/usr/bin/pactl load-module module-bluetooth-policy
/usr/bin/pactl load-module module-bluetooth-discover
ALSO, make sure you did this as well:
sudo apt install pulseaudio-module-bluetooth pavucontrol
It is very important to have pavucontrol in order to switch among profiles (high fidelity A2DP or headset HSP/HFP)
AND, if you are unlucky, then it might be due to your antenna settings, so try this:
sudo rfkill unblock 0
sudo hciconfig hci0 up
Now enjoy your wireless headset!
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f366032%2fpulseaudio-not-detecting-bluetooth-headset-automatically%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
9 Answers
9
active
oldest
votes
9 Answers
9
active
oldest
votes
active
oldest
votes
active
oldest
votes
I found a fix for this on another answer, 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/16.10
vim /etc/pulse/default.pa
Comment out (with an # at the beginning of the line) the following line:
#load-module module-bluetooth-policy
#load-module module-bluetooth-discover
Now edit the file /usr/bin/start-pulseaudio-x11
find the following lines:
if [ x”$SESSION_MANAGER” != x ] ; then
/usr/bin/pactl load-module module-x11-xsmp “display=$DISPLAY session_manager=$SESSION_MANAGER” > /dev/null
fi
and change them to this:
if [ x"$SESSION_MANAGER" != x ] ; then
/usr/bin/pactl load-module module-x11-xsmp "display=$DISPLAY session_manager=$SESSION_MANAGER" > /dev/null
#
# Added per StackExchange http://askubuntu.com/questions/366032/pulseaudio-not-detecting-bluetooth-headset-automatically
#
/usr/bin/pactl load-module module-bluetooth-policy
/usr/bin/pactl load-module module-bluetooth-discover
fi
This way the Pulse audio’s Bluetooth modules will not be downloaded at boot time but after x11 is started.
This fix goes against the current suggestion at: https://freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Bluetooth/
In my case I simply needed to use pavucontrol to sele ct output device. Blueman didnt solve my problem
– peter
Nov 2 '17 at 20:01
Your patch is very important because bothmodule-bluetooth-policy
andmodule-bluetooth-discover
provide the best experience (and the obvious one). When I connect to my headset, my expectation is to get sound there automatically otherwise I just unpair it
– develCuy
Aug 24 '18 at 16:07
add a comment |
I found a fix for this on another answer, 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/16.10
vim /etc/pulse/default.pa
Comment out (with an # at the beginning of the line) the following line:
#load-module module-bluetooth-policy
#load-module module-bluetooth-discover
Now edit the file /usr/bin/start-pulseaudio-x11
find the following lines:
if [ x”$SESSION_MANAGER” != x ] ; then
/usr/bin/pactl load-module module-x11-xsmp “display=$DISPLAY session_manager=$SESSION_MANAGER” > /dev/null
fi
and change them to this:
if [ x"$SESSION_MANAGER" != x ] ; then
/usr/bin/pactl load-module module-x11-xsmp "display=$DISPLAY session_manager=$SESSION_MANAGER" > /dev/null
#
# Added per StackExchange http://askubuntu.com/questions/366032/pulseaudio-not-detecting-bluetooth-headset-automatically
#
/usr/bin/pactl load-module module-bluetooth-policy
/usr/bin/pactl load-module module-bluetooth-discover
fi
This way the Pulse audio’s Bluetooth modules will not be downloaded at boot time but after x11 is started.
This fix goes against the current suggestion at: https://freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Bluetooth/
In my case I simply needed to use pavucontrol to sele ct output device. Blueman didnt solve my problem
– peter
Nov 2 '17 at 20:01
Your patch is very important because bothmodule-bluetooth-policy
andmodule-bluetooth-discover
provide the best experience (and the obvious one). When I connect to my headset, my expectation is to get sound there automatically otherwise I just unpair it
– develCuy
Aug 24 '18 at 16:07
add a comment |
I found a fix for this on another answer, 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/16.10
vim /etc/pulse/default.pa
Comment out (with an # at the beginning of the line) the following line:
#load-module module-bluetooth-policy
#load-module module-bluetooth-discover
Now edit the file /usr/bin/start-pulseaudio-x11
find the following lines:
if [ x”$SESSION_MANAGER” != x ] ; then
/usr/bin/pactl load-module module-x11-xsmp “display=$DISPLAY session_manager=$SESSION_MANAGER” > /dev/null
fi
and change them to this:
if [ x"$SESSION_MANAGER" != x ] ; then
/usr/bin/pactl load-module module-x11-xsmp "display=$DISPLAY session_manager=$SESSION_MANAGER" > /dev/null
#
# Added per StackExchange http://askubuntu.com/questions/366032/pulseaudio-not-detecting-bluetooth-headset-automatically
#
/usr/bin/pactl load-module module-bluetooth-policy
/usr/bin/pactl load-module module-bluetooth-discover
fi
This way the Pulse audio’s Bluetooth modules will not be downloaded at boot time but after x11 is started.
This fix goes against the current suggestion at: https://freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Bluetooth/
I found a fix for this on another answer, 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/16.10
vim /etc/pulse/default.pa
Comment out (with an # at the beginning of the line) the following line:
#load-module module-bluetooth-policy
#load-module module-bluetooth-discover
Now edit the file /usr/bin/start-pulseaudio-x11
find the following lines:
if [ x”$SESSION_MANAGER” != x ] ; then
/usr/bin/pactl load-module module-x11-xsmp “display=$DISPLAY session_manager=$SESSION_MANAGER” > /dev/null
fi
and change them to this:
if [ x"$SESSION_MANAGER" != x ] ; then
/usr/bin/pactl load-module module-x11-xsmp "display=$DISPLAY session_manager=$SESSION_MANAGER" > /dev/null
#
# Added per StackExchange http://askubuntu.com/questions/366032/pulseaudio-not-detecting-bluetooth-headset-automatically
#
/usr/bin/pactl load-module module-bluetooth-policy
/usr/bin/pactl load-module module-bluetooth-discover
fi
This way the Pulse audio’s Bluetooth modules will not be downloaded at boot time but after x11 is started.
This fix goes against the current suggestion at: https://freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Bluetooth/
edited Feb 1 '17 at 8:07
Zanna
50.7k13135241
50.7k13135241
answered Oct 29 '15 at 0:34
SivArtSivArt
13114
13114
In my case I simply needed to use pavucontrol to sele ct output device. Blueman didnt solve my problem
– peter
Nov 2 '17 at 20:01
Your patch is very important because bothmodule-bluetooth-policy
andmodule-bluetooth-discover
provide the best experience (and the obvious one). When I connect to my headset, my expectation is to get sound there automatically otherwise I just unpair it
– develCuy
Aug 24 '18 at 16:07
add a comment |
In my case I simply needed to use pavucontrol to sele ct output device. Blueman didnt solve my problem
– peter
Nov 2 '17 at 20:01
Your patch is very important because bothmodule-bluetooth-policy
andmodule-bluetooth-discover
provide the best experience (and the obvious one). When I connect to my headset, my expectation is to get sound there automatically otherwise I just unpair it
– develCuy
Aug 24 '18 at 16:07
In my case I simply needed to use pavucontrol to sele ct output device. Blueman didnt solve my problem
– peter
Nov 2 '17 at 20:01
In my case I simply needed to use pavucontrol to sele ct output device. Blueman didnt solve my problem
– peter
Nov 2 '17 at 20:01
Your patch is very important because both
module-bluetooth-policy
and module-bluetooth-discover
provide the best experience (and the obvious one). When I connect to my headset, my expectation is to get sound there automatically otherwise I just unpair it– develCuy
Aug 24 '18 at 16:07
Your patch is very important because both
module-bluetooth-policy
and module-bluetooth-discover
provide the best experience (and the obvious one). When I connect to my headset, my expectation is to get sound there automatically otherwise I just unpair it– develCuy
Aug 24 '18 at 16:07
add a comment |
This:
sudo apt-get install pulseaudio-module-bluetooth
sudo pactl load-module module-bluetooth-discover
worked for me on Ubuntu 14.10 (Lenovo x240) to have at least my bluetooth device listed in pulseaudio.
This is all it took for me too on Ubuntu 14.10! Nice!
– Evan Carroll
Apr 8 '15 at 21:32
add a comment |
This:
sudo apt-get install pulseaudio-module-bluetooth
sudo pactl load-module module-bluetooth-discover
worked for me on Ubuntu 14.10 (Lenovo x240) to have at least my bluetooth device listed in pulseaudio.
This is all it took for me too on Ubuntu 14.10! Nice!
– Evan Carroll
Apr 8 '15 at 21:32
add a comment |
This:
sudo apt-get install pulseaudio-module-bluetooth
sudo pactl load-module module-bluetooth-discover
worked for me on Ubuntu 14.10 (Lenovo x240) to have at least my bluetooth device listed in pulseaudio.
This:
sudo apt-get install pulseaudio-module-bluetooth
sudo pactl load-module module-bluetooth-discover
worked for me on Ubuntu 14.10 (Lenovo x240) to have at least my bluetooth device listed in pulseaudio.
edited Jan 17 '16 at 21:10
David Foerster
28.1k1365111
28.1k1365111
answered Mar 28 '15 at 8:58
mauriciojostmauriciojost
15113
15113
This is all it took for me too on Ubuntu 14.10! Nice!
– Evan Carroll
Apr 8 '15 at 21:32
add a comment |
This is all it took for me too on Ubuntu 14.10! Nice!
– Evan Carroll
Apr 8 '15 at 21:32
This is all it took for me too on Ubuntu 14.10! Nice!
– Evan Carroll
Apr 8 '15 at 21:32
This is all it took for me too on Ubuntu 14.10! Nice!
– Evan Carroll
Apr 8 '15 at 21:32
add a comment |
It seems there is an issue with some (legacy?) code in Blueman which deliberately unloads module-bluetooth-discover
on startup (i.e. after it's been loaded from /etc/pulse/default.pa
. For more details see here: https://github.com/blueman-project/blueman/issues/64.
add a comment |
It seems there is an issue with some (legacy?) code in Blueman which deliberately unloads module-bluetooth-discover
on startup (i.e. after it's been loaded from /etc/pulse/default.pa
. For more details see here: https://github.com/blueman-project/blueman/issues/64.
add a comment |
It seems there is an issue with some (legacy?) code in Blueman which deliberately unloads module-bluetooth-discover
on startup (i.e. after it's been loaded from /etc/pulse/default.pa
. For more details see here: https://github.com/blueman-project/blueman/issues/64.
It seems there is an issue with some (legacy?) code in Blueman which deliberately unloads module-bluetooth-discover
on startup (i.e. after it's been loaded from /etc/pulse/default.pa
. For more details see here: https://github.com/blueman-project/blueman/issues/64.
answered Jul 30 '14 at 22:24
simonsimon
55436
55436
add a comment |
add a comment |
I know this is a bit of an old post. But as I recently had the same problem I came across a rather simple solution: just install pulseaudio-module-bluetooth
sudo apt-get install pulseaudio-module-bluetooth
http://ubuntuforums.org/showthread.php?t=1909957
good luck with that :)
add a comment |
I know this is a bit of an old post. But as I recently had the same problem I came across a rather simple solution: just install pulseaudio-module-bluetooth
sudo apt-get install pulseaudio-module-bluetooth
http://ubuntuforums.org/showthread.php?t=1909957
good luck with that :)
add a comment |
I know this is a bit of an old post. But as I recently had the same problem I came across a rather simple solution: just install pulseaudio-module-bluetooth
sudo apt-get install pulseaudio-module-bluetooth
http://ubuntuforums.org/showthread.php?t=1909957
good luck with that :)
I know this is a bit of an old post. But as I recently had the same problem I came across a rather simple solution: just install pulseaudio-module-bluetooth
sudo apt-get install pulseaudio-module-bluetooth
http://ubuntuforums.org/showthread.php?t=1909957
good luck with that :)
answered Mar 10 '14 at 8:21
ChristianChristian
1414
1414
add a comment |
add a comment |
After analize tons of post my conclusion is that blue man is unloading deliberately the module module-bluetooth-discover, so in my case the solution was uninstall blueman from my system. After that, everything works ok.
This was the final step to getting this to work for me on 16.04.1 LTS. Thanks!
– Alan Jurgensen
Mar 6 '17 at 17:25
add a comment |
After analize tons of post my conclusion is that blue man is unloading deliberately the module module-bluetooth-discover, so in my case the solution was uninstall blueman from my system. After that, everything works ok.
This was the final step to getting this to work for me on 16.04.1 LTS. Thanks!
– Alan Jurgensen
Mar 6 '17 at 17:25
add a comment |
After analize tons of post my conclusion is that blue man is unloading deliberately the module module-bluetooth-discover, so in my case the solution was uninstall blueman from my system. After that, everything works ok.
After analize tons of post my conclusion is that blue man is unloading deliberately the module module-bluetooth-discover, so in my case the solution was uninstall blueman from my system. After that, everything works ok.
answered Nov 18 '15 at 13:26
ÁngelCaídoÁngelCaído
111
111
This was the final step to getting this to work for me on 16.04.1 LTS. Thanks!
– Alan Jurgensen
Mar 6 '17 at 17:25
add a comment |
This was the final step to getting this to work for me on 16.04.1 LTS. Thanks!
– Alan Jurgensen
Mar 6 '17 at 17:25
This was the final step to getting this to work for me on 16.04.1 LTS. Thanks!
– Alan Jurgensen
Mar 6 '17 at 17:25
This was the final step to getting this to work for me on 16.04.1 LTS. Thanks!
– Alan Jurgensen
Mar 6 '17 at 17:25
add a comment |
Running Xubuntu 13.10 64bit I had the same problem. Loading module-bluetooth-discover manually fixes the problem. I it also fixes it permanently. I rebooted and the headset worked without loading module-bluetooth-discover. Seems it has to be successfully connected once and then it's working fine.
I wonder why default.pa contains module-bluetooth-discover and the module is present on disk but it is not listed in pactl list?
Also look at configuration tab in pavuvontrol and set the profile of the headset. I have the choice between off/a2dp/hfp, default was off, so no pulseaudio input or output appeared even though the headset was connected.
Thanks for answering but after reboot, using the command : 'pactl list | grep -i module-bluetooth-discover' does it show that the module is loaded, after reboot, everything gets reset and I have to issue those commands every time. When connecting the headset through blueman, I switch the profile to a2dp.
– adityap174
Dec 9 '13 at 4:14
After reboot 'pactl list | grep -i module-bluetooth-discover' yields nothing, and the headset is not recognized. Bot loading module-bluetooth-discover once, log out an log in again, a new pulse server is started, without module-bluetooth-discover loaded, but the headset works. ???
– Adam
Dec 11 '13 at 16:29
add a comment |
Running Xubuntu 13.10 64bit I had the same problem. Loading module-bluetooth-discover manually fixes the problem. I it also fixes it permanently. I rebooted and the headset worked without loading module-bluetooth-discover. Seems it has to be successfully connected once and then it's working fine.
I wonder why default.pa contains module-bluetooth-discover and the module is present on disk but it is not listed in pactl list?
Also look at configuration tab in pavuvontrol and set the profile of the headset. I have the choice between off/a2dp/hfp, default was off, so no pulseaudio input or output appeared even though the headset was connected.
Thanks for answering but after reboot, using the command : 'pactl list | grep -i module-bluetooth-discover' does it show that the module is loaded, after reboot, everything gets reset and I have to issue those commands every time. When connecting the headset through blueman, I switch the profile to a2dp.
– adityap174
Dec 9 '13 at 4:14
After reboot 'pactl list | grep -i module-bluetooth-discover' yields nothing, and the headset is not recognized. Bot loading module-bluetooth-discover once, log out an log in again, a new pulse server is started, without module-bluetooth-discover loaded, but the headset works. ???
– Adam
Dec 11 '13 at 16:29
add a comment |
Running Xubuntu 13.10 64bit I had the same problem. Loading module-bluetooth-discover manually fixes the problem. I it also fixes it permanently. I rebooted and the headset worked without loading module-bluetooth-discover. Seems it has to be successfully connected once and then it's working fine.
I wonder why default.pa contains module-bluetooth-discover and the module is present on disk but it is not listed in pactl list?
Also look at configuration tab in pavuvontrol and set the profile of the headset. I have the choice between off/a2dp/hfp, default was off, so no pulseaudio input or output appeared even though the headset was connected.
Running Xubuntu 13.10 64bit I had the same problem. Loading module-bluetooth-discover manually fixes the problem. I it also fixes it permanently. I rebooted and the headset worked without loading module-bluetooth-discover. Seems it has to be successfully connected once and then it's working fine.
I wonder why default.pa contains module-bluetooth-discover and the module is present on disk but it is not listed in pactl list?
Also look at configuration tab in pavuvontrol and set the profile of the headset. I have the choice between off/a2dp/hfp, default was off, so no pulseaudio input or output appeared even though the headset was connected.
answered Dec 8 '13 at 22:28
AdamAdam
612
612
Thanks for answering but after reboot, using the command : 'pactl list | grep -i module-bluetooth-discover' does it show that the module is loaded, after reboot, everything gets reset and I have to issue those commands every time. When connecting the headset through blueman, I switch the profile to a2dp.
– adityap174
Dec 9 '13 at 4:14
After reboot 'pactl list | grep -i module-bluetooth-discover' yields nothing, and the headset is not recognized. Bot loading module-bluetooth-discover once, log out an log in again, a new pulse server is started, without module-bluetooth-discover loaded, but the headset works. ???
– Adam
Dec 11 '13 at 16:29
add a comment |
Thanks for answering but after reboot, using the command : 'pactl list | grep -i module-bluetooth-discover' does it show that the module is loaded, after reboot, everything gets reset and I have to issue those commands every time. When connecting the headset through blueman, I switch the profile to a2dp.
– adityap174
Dec 9 '13 at 4:14
After reboot 'pactl list | grep -i module-bluetooth-discover' yields nothing, and the headset is not recognized. Bot loading module-bluetooth-discover once, log out an log in again, a new pulse server is started, without module-bluetooth-discover loaded, but the headset works. ???
– Adam
Dec 11 '13 at 16:29
Thanks for answering but after reboot, using the command : 'pactl list | grep -i module-bluetooth-discover' does it show that the module is loaded, after reboot, everything gets reset and I have to issue those commands every time. When connecting the headset through blueman, I switch the profile to a2dp.
– adityap174
Dec 9 '13 at 4:14
Thanks for answering but after reboot, using the command : 'pactl list | grep -i module-bluetooth-discover' does it show that the module is loaded, after reboot, everything gets reset and I have to issue those commands every time. When connecting the headset through blueman, I switch the profile to a2dp.
– adityap174
Dec 9 '13 at 4:14
After reboot 'pactl list | grep -i module-bluetooth-discover' yields nothing, and the headset is not recognized. Bot loading module-bluetooth-discover once, log out an log in again, a new pulse server is started, without module-bluetooth-discover loaded, but the headset works. ???
– Adam
Dec 11 '13 at 16:29
After reboot 'pactl list | grep -i module-bluetooth-discover' yields nothing, and the headset is not recognized. Bot loading module-bluetooth-discover once, log out an log in again, a new pulse server is started, without module-bluetooth-discover loaded, but the headset works. ???
– Adam
Dec 11 '13 at 16:29
add a comment |
I also have this problem on ubuntu 14.04.
The simpliest solution is just add official blueman devs ppa:
https://launchpad.net/~blueman/+archive/ubuntu/ppa
It works for me after update.
1
This worked better for me in 14.04, though it is an older version.
– jarno
Nov 26 '16 at 15:20
This doesn't work on Ubuntu 16.04. :-(
– Cristiana Nicolae
Jan 2 '17 at 16:52
add a comment |
I also have this problem on ubuntu 14.04.
The simpliest solution is just add official blueman devs ppa:
https://launchpad.net/~blueman/+archive/ubuntu/ppa
It works for me after update.
1
This worked better for me in 14.04, though it is an older version.
– jarno
Nov 26 '16 at 15:20
This doesn't work on Ubuntu 16.04. :-(
– Cristiana Nicolae
Jan 2 '17 at 16:52
add a comment |
I also have this problem on ubuntu 14.04.
The simpliest solution is just add official blueman devs ppa:
https://launchpad.net/~blueman/+archive/ubuntu/ppa
It works for me after update.
I also have this problem on ubuntu 14.04.
The simpliest solution is just add official blueman devs ppa:
https://launchpad.net/~blueman/+archive/ubuntu/ppa
It works for me after update.
answered Jun 2 '15 at 11:50
Robert KujawaRobert Kujawa
264
264
1
This worked better for me in 14.04, though it is an older version.
– jarno
Nov 26 '16 at 15:20
This doesn't work on Ubuntu 16.04. :-(
– Cristiana Nicolae
Jan 2 '17 at 16:52
add a comment |
1
This worked better for me in 14.04, though it is an older version.
– jarno
Nov 26 '16 at 15:20
This doesn't work on Ubuntu 16.04. :-(
– Cristiana Nicolae
Jan 2 '17 at 16:52
1
1
This worked better for me in 14.04, though it is an older version.
– jarno
Nov 26 '16 at 15:20
This worked better for me in 14.04, though it is an older version.
– jarno
Nov 26 '16 at 15:20
This doesn't work on Ubuntu 16.04. :-(
– Cristiana Nicolae
Jan 2 '17 at 16:52
This doesn't work on Ubuntu 16.04. :-(
– Cristiana Nicolae
Jan 2 '17 at 16:52
add a comment |
sudo apt-get install pulseaudio-module-bluetooth
Worked for me too, but it was not persistent after a reboot, and I also had to manually set the default audio device in volume control each time.
Adding it to .profile
also didn't work - unless it was preceded with an 8 second sleep delay.
Found a solution that worked persistently with just a few clicks:
Right-click the blueman icon -> Plugins
And disable the PulseAudio plugin.
When I do this, it does indeed seem to be possible to select the device as audiosink (i.e. you don't get the usual error "Stream setup failed" when choosing "Connect to Audio Sink in BlueMan). However, no audio is actually streamed to the device, and the bluetooth device is not listed in the sound settings dialog.
– Joris Bierkens
Oct 28 '15 at 14:50
@user203621 Try runpavucontrol
go the Configuration tab, add see if you can set your bluetooth device profile to A2DP there? (When troubleshooting bluetooth, on the same configuration tab I often set built in audio to none as well)
– Mtl Dev
Oct 28 '15 at 18:12
add a comment |
sudo apt-get install pulseaudio-module-bluetooth
Worked for me too, but it was not persistent after a reboot, and I also had to manually set the default audio device in volume control each time.
Adding it to .profile
also didn't work - unless it was preceded with an 8 second sleep delay.
Found a solution that worked persistently with just a few clicks:
Right-click the blueman icon -> Plugins
And disable the PulseAudio plugin.
When I do this, it does indeed seem to be possible to select the device as audiosink (i.e. you don't get the usual error "Stream setup failed" when choosing "Connect to Audio Sink in BlueMan). However, no audio is actually streamed to the device, and the bluetooth device is not listed in the sound settings dialog.
– Joris Bierkens
Oct 28 '15 at 14:50
@user203621 Try runpavucontrol
go the Configuration tab, add see if you can set your bluetooth device profile to A2DP there? (When troubleshooting bluetooth, on the same configuration tab I often set built in audio to none as well)
– Mtl Dev
Oct 28 '15 at 18:12
add a comment |
sudo apt-get install pulseaudio-module-bluetooth
Worked for me too, but it was not persistent after a reboot, and I also had to manually set the default audio device in volume control each time.
Adding it to .profile
also didn't work - unless it was preceded with an 8 second sleep delay.
Found a solution that worked persistently with just a few clicks:
Right-click the blueman icon -> Plugins
And disable the PulseAudio plugin.
sudo apt-get install pulseaudio-module-bluetooth
Worked for me too, but it was not persistent after a reboot, and I also had to manually set the default audio device in volume control each time.
Adding it to .profile
also didn't work - unless it was preceded with an 8 second sleep delay.
Found a solution that worked persistently with just a few clicks:
Right-click the blueman icon -> Plugins
And disable the PulseAudio plugin.
edited Oct 27 '15 at 18:04
user364819
answered Oct 27 '15 at 16:22
Mtl DevMtl Dev
1337
1337
When I do this, it does indeed seem to be possible to select the device as audiosink (i.e. you don't get the usual error "Stream setup failed" when choosing "Connect to Audio Sink in BlueMan). However, no audio is actually streamed to the device, and the bluetooth device is not listed in the sound settings dialog.
– Joris Bierkens
Oct 28 '15 at 14:50
@user203621 Try runpavucontrol
go the Configuration tab, add see if you can set your bluetooth device profile to A2DP there? (When troubleshooting bluetooth, on the same configuration tab I often set built in audio to none as well)
– Mtl Dev
Oct 28 '15 at 18:12
add a comment |
When I do this, it does indeed seem to be possible to select the device as audiosink (i.e. you don't get the usual error "Stream setup failed" when choosing "Connect to Audio Sink in BlueMan). However, no audio is actually streamed to the device, and the bluetooth device is not listed in the sound settings dialog.
– Joris Bierkens
Oct 28 '15 at 14:50
@user203621 Try runpavucontrol
go the Configuration tab, add see if you can set your bluetooth device profile to A2DP there? (When troubleshooting bluetooth, on the same configuration tab I often set built in audio to none as well)
– Mtl Dev
Oct 28 '15 at 18:12
When I do this, it does indeed seem to be possible to select the device as audiosink (i.e. you don't get the usual error "Stream setup failed" when choosing "Connect to Audio Sink in BlueMan). However, no audio is actually streamed to the device, and the bluetooth device is not listed in the sound settings dialog.
– Joris Bierkens
Oct 28 '15 at 14:50
When I do this, it does indeed seem to be possible to select the device as audiosink (i.e. you don't get the usual error "Stream setup failed" when choosing "Connect to Audio Sink in BlueMan). However, no audio is actually streamed to the device, and the bluetooth device is not listed in the sound settings dialog.
– Joris Bierkens
Oct 28 '15 at 14:50
@user203621 Try run
pavucontrol
go the Configuration tab, add see if you can set your bluetooth device profile to A2DP there? (When troubleshooting bluetooth, on the same configuration tab I often set built in audio to none as well)– Mtl Dev
Oct 28 '15 at 18:12
@user203621 Try run
pavucontrol
go the Configuration tab, add see if you can set your bluetooth device profile to A2DP there? (When troubleshooting bluetooth, on the same configuration tab I often set built in audio to none as well)– Mtl Dev
Oct 28 '15 at 18:12
add a comment |
[UPDATE]
On KXStudio there is an special setup with Cadence, the right files to edit are located at /usr/share/cadence/pulse2jack/
, there are 2 files play.pa
and play+rec.pa
. Add this to both:
load-module module-bluetooth-policy
load-module module-bluetooth-discover
[Original - good for debugging]
On Ubuntu+KDE and KXStudio I'm using an autostart script like this:
#!/usr/bin/env sh
sleep 10
/usr/bin/pactl load-module module-bluetooth-policy
/usr/bin/pactl load-module module-bluetooth-discover
ALSO, make sure you did this as well:
sudo apt install pulseaudio-module-bluetooth pavucontrol
It is very important to have pavucontrol in order to switch among profiles (high fidelity A2DP or headset HSP/HFP)
AND, if you are unlucky, then it might be due to your antenna settings, so try this:
sudo rfkill unblock 0
sudo hciconfig hci0 up
Now enjoy your wireless headset!
add a comment |
[UPDATE]
On KXStudio there is an special setup with Cadence, the right files to edit are located at /usr/share/cadence/pulse2jack/
, there are 2 files play.pa
and play+rec.pa
. Add this to both:
load-module module-bluetooth-policy
load-module module-bluetooth-discover
[Original - good for debugging]
On Ubuntu+KDE and KXStudio I'm using an autostart script like this:
#!/usr/bin/env sh
sleep 10
/usr/bin/pactl load-module module-bluetooth-policy
/usr/bin/pactl load-module module-bluetooth-discover
ALSO, make sure you did this as well:
sudo apt install pulseaudio-module-bluetooth pavucontrol
It is very important to have pavucontrol in order to switch among profiles (high fidelity A2DP or headset HSP/HFP)
AND, if you are unlucky, then it might be due to your antenna settings, so try this:
sudo rfkill unblock 0
sudo hciconfig hci0 up
Now enjoy your wireless headset!
add a comment |
[UPDATE]
On KXStudio there is an special setup with Cadence, the right files to edit are located at /usr/share/cadence/pulse2jack/
, there are 2 files play.pa
and play+rec.pa
. Add this to both:
load-module module-bluetooth-policy
load-module module-bluetooth-discover
[Original - good for debugging]
On Ubuntu+KDE and KXStudio I'm using an autostart script like this:
#!/usr/bin/env sh
sleep 10
/usr/bin/pactl load-module module-bluetooth-policy
/usr/bin/pactl load-module module-bluetooth-discover
ALSO, make sure you did this as well:
sudo apt install pulseaudio-module-bluetooth pavucontrol
It is very important to have pavucontrol in order to switch among profiles (high fidelity A2DP or headset HSP/HFP)
AND, if you are unlucky, then it might be due to your antenna settings, so try this:
sudo rfkill unblock 0
sudo hciconfig hci0 up
Now enjoy your wireless headset!
[UPDATE]
On KXStudio there is an special setup with Cadence, the right files to edit are located at /usr/share/cadence/pulse2jack/
, there are 2 files play.pa
and play+rec.pa
. Add this to both:
load-module module-bluetooth-policy
load-module module-bluetooth-discover
[Original - good for debugging]
On Ubuntu+KDE and KXStudio I'm using an autostart script like this:
#!/usr/bin/env sh
sleep 10
/usr/bin/pactl load-module module-bluetooth-policy
/usr/bin/pactl load-module module-bluetooth-discover
ALSO, make sure you did this as well:
sudo apt install pulseaudio-module-bluetooth pavucontrol
It is very important to have pavucontrol in order to switch among profiles (high fidelity A2DP or headset HSP/HFP)
AND, if you are unlucky, then it might be due to your antenna settings, so try this:
sudo rfkill unblock 0
sudo hciconfig hci0 up
Now enjoy your wireless headset!
edited Jan 3 at 23:24
answered Jan 3 at 22:04
develCuydevelCuy
1054
1054
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f366032%2fpulseaudio-not-detecting-bluetooth-headset-automatically%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I have the same problem.
– Borivoje Petrovic
Dec 5 '13 at 14:25
@BorivojePetrovic, Although I did not find the solution, I did find a workaround. First, load the modules using the commands : sudo pactl load-module module-bluetooth-discover ; sudo pactl load-module module-switch-on-connect Then, connect your bluetooth headset. In case the headset is connected but pulseaudio doesn't show it, use the commands sudo killall -9 pulseaudio ; sudo alsa force-reload ; sudo killall -9 xfce4-volumed ; xfce4-volumed ; This will reload pulseaudio and also your volume keys will start working. Hope this helps :)
– adityap174
Dec 6 '13 at 3:37
I managed it to work. The problem with many issues in PulseAudio sound is sound device sharing. Turning the shares off fixed my problem with bluetooth headset. A very nice app that records audio an is not Gnome's bloaty sound recorder is Audio Recorder, which is availlable from a PPA.
– Borivoje Petrovic
Dec 7 '13 at 13:39
Could you add that as answer?
– Braiam
Dec 27 '13 at 21:02
I have a similar problem, except pactl DOES list
module-bluetooth-policy
andmodule-bluetooth-discover
! Again, playback through KDE apps works fine, but playback through pulseaudio does not. Anyone have a clue?– Asfand Qazi
Sep 15 '15 at 6:14