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 Desktop
Packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/1574324

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

Status in pulseaudio package in Ubuntu:
  In Progress

Bug description:
  When I attempt to connect my Jaybird Bluebuds X to Ubuntu 16.04
  pulseaudio crashes, this does *NOT* happen with a Jambox which leads
  me to believe it's an intermittent problem with some hardware. This
  did not happen on Ubuntu 15.10 (which was an upgrade of 15.04).

  Ubuntu Release:

  Description:  Ubuntu 16.04 LTS
  Release:      16.04

  Pulseaudio Version:

  pulseaudio:
    Installed: 1:8.0-0ubuntu3
    Candidate: 1:8.0-0ubuntu3
    Version table:
   *** 1:8.0-0ubuntu3 500
          500 http://gb.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
          100 /var/lib/dpkg/status

  Device info:

  [bluetooth]# info 44:5E:F3:B4:07:29
  Device 44:5E:F3:B4:07:29
   Name: BlueBuds X
   Alias: BlueBuds X
   Class: 0x240404
   Icon: audio-card
   Paired: yes
   Trusted: yes
   Blocked: no
   Connected: no
   LegacyPairing: no
   UUID: Headset                   (00001108-0000-1000-8000-00805f9b34fb)
   UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
   UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
   UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
   UUID: Handsfree                 (0000111e-0000-1000-8000-00805f9b34fb)
   UUID: Unknown                   (000080ff-0000-1000-8000-00805f9b34fb)

  I have also attached a debug dump of Pulseaudio when attempting to
  connect to the headphones.

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to