I have the same issue with my Aventree Audition bluetooth headphone.

After multiple trial and errors, it sounds like unloading both 
module-bluetooth-policy and module-bluetooth-discover, then reloading them *in 
this order*, could fix the problem :
$ pactl unload-module module-bluetooth-policy
$ pactl unload-module module-bluetooth-discover
$ pactl load-module module-bluetooth-policy
$ pactl load-module module-bluetooth-discover

However, I have to do that each time I want to (re)connect the
headphone, even if I do not restart pulseaudio, but I was not trying the
PPA fix.

NOTE: Since I was working on the issue before finding this bug report, I also 
try some various other fixes. I don't know in with proportion they are all 
needed or not.

I have edited /etc/pulse/default.pa like this :

--- /etc/pulse/default.pa       2016-07-28 16:34:59.387935171 +0200
+++ /etc/pulse/default.pa_backup        2016-07-28 16:12:01.650390871 +0200
@@ -70,10 +70,9 @@
 load-module module-bluetooth-policy
-# draco : Disabled see https://bbs.archlinux.org/viewtopic.php?id=197482
-#.ifexists module-bluetooth-discover.so
-#load-module module-bluetooth-discover
+.ifexists module-bluetooth-discover.so
+load-module module-bluetooth-discover
 ### Load several protocols
 .ifexists module-esound-protocol-unix.so
@@ -163,8 +162,3 @@
 ### Make some devices default
 #set-default-sink output
 #set-default-source input
-## draco : added lines, see 
-# automatically switch to newly-connected devices
-load-module module-switch-on-connect

And I have also edited /usr/bin/start-pulseaudio-x11 like this :

--- /usr/bin/start-pulseaudio-x11       2016-07-28 16:14:25.092044700 +0200
+++ /usr/bin/start-pulseaudio-x11_backup        2016-07-28 16:13:17.369151920 
@@ -30,8 +30,4 @@
     if [ x"$SESSION_MANAGER" != x ] ; then
        /usr/bin/pactl load-module module-x11-xsmp "display=$DISPLAY 
session_manager=$SESSION_MANAGER" > /dev/null
-    ## draco : Added lines, see 
-    /usr/bin/pactl load-module module-bluetooth-discover

Can someone explains the purpose and dependencies between 
module-bluetooth-policy versus module-bluetooth-discover ? Should I remove the 
previous modification before trying the PPA version ?

You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

  pulseaudio crashes when connecting to bluetooth headphones (due to
  ubuntu changes?)

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to