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
 .endif
 
-# draco : Disabled see https://bbs.archlinux.org/viewtopic.php?id=197482
-#.ifexists module-bluetooth-discover.so
-#load-module module-bluetooth-discover
-#.endif
+.ifexists module-bluetooth-discover.so
+load-module module-bluetooth-discover
+.endif
 
 ### 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 
https://wiki.archlinux.org/index.php/Bluetooth_headset#Pairing_works.2C_but_connecting_does_not
-# 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 
+0200
@@ -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
     fi
-
-    ## draco : Added lines, see 
https://bbs.archlinux.org/viewtopic.php?id=197482
-    /usr/bin/pactl load-module module-bluetooth-discover
-
 fi


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.
https://bugs.launchpad.net/bugs/1574324

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1574324/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to