On Xubuntu 16.04, 4.4.0-57-generic jaybird x2 does not work via
bluetooh.

user@user-pc:~$ grep pulse /var/log/syslog*
/var/log/syslog:Dec 24 00:08:38 user-pc pulseaudio[1938]: [pulseaudio] 
module-bluez5-device.c: Default profile not connected, selecting off profile
/var/log/syslog:Dec 24 00:08:38 user-pc pulseaudio[1938]: [pulseaudio] 
bluez5-util.c: Transport TryAcquire() failed for transport 
/org/bluez/hci0/dev_44_5E_F3_C0_BD_E6/fd3 (Operation Not Authorized)
/var/log/syslog:Dec 24 00:19:09 user-pc pulseaudio[1938]: [pulseaudio] 
module.c: Module "module-bluetooth-discover" should be loaded once at most. 
Refusing to load.
/var/log/syslog:Dec 24 00:22:19 user-pc pulseaudio[1938]: [pulseaudio] 
bluez5-util.c: Transport Acquire() failed for transport 
/org/bluez/hci0/dev_44_5E_F3_C0_BD_E6/fd3 (Operation Not Authorized)
/var/log/syslog:Dec 24 03:19:57 user-pc pulseaudio[8105]: [pulseaudio] 
backend-ofono.c: Failed to register as a handsfree audio agent with ofono: 
org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided 
by any .service files
/var/log/syslog:Dec 24 13:39:00 user-pc pulseaudio[8820]: [pulseaudio] 
backend-ofono.c: Failed to register as a handsfree audio agent with ofono: 
org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided 
by any .service files
/var/log/syslog:Dec 24 14:13:17 user-pc pulseaudio[9286]: [pulseaudio] 
backend-ofono.c: Failed to register as a handsfree audio agent with ofono: 
org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided 
by any .service files
/var/log/syslog:Dec 24 15:06:48 user-pc pulseaudio[10012]: [pulseaudio] 
backend-ofono.c: Failed to register as a handsfree audio agent with ofono: 
org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided 
by any .service files
/var/log/syslog:Dec 24 16:18:08 user-pc pulseaudio[1938]: [alsa-sink-ALC668 
Analog] alsa-sink.c: ALSA woke us up to write new data to the device, but there 
was actually nothing to write.
/var/log/syslog:Dec 24 16:18:08 user-pc pulseaudio[1938]: [alsa-sink-ALC668 
Analog] alsa-sink.c: Most likely this is a bug in the ALSA driver 
'snd_hda_intel'. Please report this issue to the ALSA developers.
/var/log/syslog:Dec 24 16:18:08 user-pc pulseaudio[1938]: [alsa-sink-ALC668 
Analog] alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent 
snd_pcm_avail() returned 0 or another value < min_avail.
/var/log/syslog:Dec 24 17:01:41 user-pc pulseaudio[10995]: [pulseaudio] 
backend-ofono.c: Failed to register as a handsfree audio agent with ofono: 
org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided 
by any .service files
/var/log/syslog:Dec 24 18:55:36 user-pc pulseaudio[12243]: [pulseaudio] 
backend-ofono.c: Failed to register as a handsfree audio agent with ofono: 
org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided 
by any .service files
/var/log/syslog.1:Dec 23 18:00:30 user-pc pulseaudio[1960]: [alsa-sink-ALC668 
Analog] alsa-sink.c: ALSA woke us up to write new data to the device, but there 
was actually nothing to write.
/var/log/syslog.1:Dec 23 18:00:30 user-pc pulseaudio[1960]: [alsa-sink-ALC668 
Analog] alsa-sink.c: Most likely this is a bug in the ALSA driver 
'snd_hda_intel'. Please report this issue to the ALSA developers.
/var/log/syslog.1:Dec 23 18:00:30 user-pc pulseaudio[1960]: [alsa-sink-ALC668 
Analog] alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent 
snd_pcm_avail() returned 0 or another value < min_avail.
/var/log/syslog.1:Dec 23 20:17:11 user-pc pulseaudio[5693]: [pulseaudio] 
backend-ofono.c: Failed to register as a handsfree audio agent with ofono: 
org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided 
by any .service files
/var/log/syslog.1:Dec 23 21:39:33 user-pc pulseaudio[14506]: [pulseaudio] 
backend-ofono.c: Failed to register as a handsfree audio agent with ofono: 
org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided 
by any .service files
/var/log/syslog.1:Dec 23 22:21:54 user-pc pulseaudio[1960]: [pulseaudio] 
backend-native.c: connect(): Die angeforderte Funktion ist nicht implementiert
/var/log/syslog.1:Dec 23 22:35:58 user-pc pulseaudio[2022]: [pulseaudio] pid.c: 
Daemon already running.
/var/log/syslog.1:Dec 23 22:35:58 user-pc pulseaudio[1967]: [pulseaudio] 
backend-ofono.c: Failed to register as a handsfree audio agent with ofono: 
org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided 
by any .service files
/var/log/syslog.1:Dec 23 22:37:08 user-pc pulseaudio[1967]: [pulseaudio] 
backend-native.c: connect(): Die angeforderte Funktion ist nicht implementiert
/var/log/syslog.1:Dec 23 22:39:09 user-pc pulseaudio[1967]: [pulseaudio] 
backend-native.c: connect(): Die angeforderte Funktion ist nicht implementiert
/var/log/syslog.1:Dec 23 22:42:20 user-pc pulseaudio[1967]: [pulseaudio] 
module.c: Module "module-bluetooth-discover" should be loaded once at most. 
Refusing to load.
/var/log/syslog.1:Dec 23 23:20:03 user-pc /usr/lib/snapd/snapd[1353]: 
daemon.go:174: DEBUG: uid=1000;@ GET /v2/find?q=pulse 137.610866ms 200
/var/log/syslog.1:Dec 23 23:20:03 user-pc /usr/lib/snapd/snapd[1353]: 
daemon.go:174: DEBUG: uid=1000;@ GET /v2/find?q=pulsea 67.353695ms 200
/var/log/syslog.1:Dec 23 23:20:03 user-pc /usr/lib/snapd/snapd[1353]: 
daemon.go:174: DEBUG: uid=1000;@ GET /v2/find?q=pulseau 61.815932ms 200
/var/log/syslog.1:Dec 23 23:20:03 user-pc /usr/lib/snapd/snapd[1353]: 
daemon.go:174: DEBUG: uid=1000;@ GET /v2/find?q=pulseaud 59.127272ms 200
/var/log/syslog.1:Dec 23 23:20:04 user-pc /usr/lib/snapd/snapd[1353]: 
daemon.go:174: DEBUG: uid=1000;@ GET /v2/find?q=pulseaudio 60.412583ms 200
/var/log/syslog.1:Dec 23 23:21:08 user-pc /usr/lib/snapd/snapd[1353]: 
daemon.go:174: DEBUG: uid=1000;@ GET /v2/find?q=pulseaudio 5.207196992s 200
/var/log/syslog.1:Dec 23 23:37:48 user-pc dbus-daemon[1307]: Unknown username 
"pulse" in message bus configuration file
/var/log/syslog.1:Dec 23 23:41:23 user-pc pulseaudio[1967]: [pulseaudio] 
backend-native.c: connect(): Die angeforderte Funktion ist nicht implementiert
/var/log/syslog.1:Dec 23 23:48:09 user-pc pulseaudio[1967]: [pulseaudio] 
backend-native.c: connect(): Die angeforderte Funktion ist nicht implementiert
/var/log/syslog.1:Dec 23 23:50:38 user-pc pulseaudio[1967]: [pulseaudio] 
module-bluez5-device.c: Default profile not connected, selecting off profile
/var/log/syslog.1:Dec 23 23:50:38 user-pc pulseaudio[1967]: [pulseaudio] 
bluez5-util.c: Transport TryAcquire() failed for transport 
/org/bluez/hci0/dev_44_5E_F3_C0_BD_E6/fd4 (Operation Not Authorized)
/var/log/syslog.1:Dec 23 23:50:53 user-pc pulseaudio[1967]: [pulseaudio] 
bluez5-util.c: Transport Acquire() failed for transport 
/org/bluez/hci0/dev_44_5E_F3_C0_BD_E6/fd4 (Operation Not Authorized)
/var/log/syslog.1:Dec 24 00:03:31 user-pc pulseaudio[1654]: [pulseaudio] 
backend-ofono.c: Failed to register as a handsfree audio agent with ofono: 
org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided 
by any .service files
/var/log/syslog.1:Dec 24 00:04:25 user-pc pulseaudio[1938]: [pulseaudio] 
backend-ofono.c: Failed to register as a handsfree audio agent with ofono: 
org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided 
by any .service files
/var/log/syslog.1:Dec 24 00:04:25 user-pc pulseaudio[1997]: [pulseaudio] pid.c: 
Daemon already running.
/var/log/syslog.1:Dec 24 00:05:56 user-pc pulseaudio[1938]: [pulseaudio] 
backend-native.c: connect(): Die angeforderte Funktion ist nicht implementiert
/var/log/syslog.1:Dec 24 00:07:11 user-pc pulseaudio[1938]: [pulseaudio] 
backend-native.c: connect(): Die angeforderte Funktion ist nicht implementiert
/var/log/syslog.1:Dec 24 00:08:18 user-pc pulseaudio[1938]: [pulseaudio] 
backend-native.c: connect(): Die angeforderte Funktion ist nicht implementiert 

I've tried the patched version of pulseaudio 1:8.0-0ubuntu3.1~xenial9,
but it still does not work. The headphones get paired, but I can get any
output from them with headphone or HIFI-profile. The output is visible
in the pulseaudio window but not hearable.

The process described here (https://askubuntu.com/questions/689281
/pulseaudio-can-not-load-bluetooth-module-15-10-16-04-16-10)

####

Edit the file:

/etc/pulse/default.pa

and comment out (with an # at the beginning of the line) the following
line:

#load-module module-bluetooth-discover

now edit the file:

/usr/bin/start-pulseaudio-x11

and after the lines:

   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 line:

    /usr/bin/pactl load-module module-bluetooth-discover

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

####

has not fixed the problem.

Thank you for any advise.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded 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:
  Fix Released
Status in pulseaudio source package in Xenial:
  Fix Released
Status in pulseaudio source package in Yakkety:
  Fix Released

Bug description:
  Impact:

  A patch we carry for Ubuntu touch introduced a change that originally
  was required to make sure PulseAudio did not crash. This patch was
  ported to PulseAudio 8 in Xenial, but the patch author's bluetooth
  hardware that was to hand at the time worked so was assumed to be ok.
  However, the opposite is now happening, i.e PulseAudio is crashing
  with a subset of Bluetooth hardware.

  Regression potential:

  Very low to none. As can be read in this report, much debugging and
  testing has been done to find the problem, and the eventual fix.
  Moreover the change is the removal of a patch hunk that removed a line
  of code originally present in PulseAudio.

  Test case:

  NOTE that this test case applies to bluetooth hardware that is
  identified as not working in this bug report.

  1. Install, or upgrade to Xenial or yakkety.
  2. Pair your bluetooth device in the bluetooth settings in the relevant 
settings application for your desktop environment.
  3. Once paired, you will notice that sound stops working, as pulseaudio has 
thrown an assertion error.
  4. You do not have to remove your audio device from the paired device list, 
but it may be easier to do so for the next part of the testing.
  5. Update to the version of PulseAudio in xenial-proposed which is 
1:8.0-0ubuntu3.1, or in yakkety-proposed, which is 1:9.0-2ubuntu2.1.
  6. Re-pair your device. Audio should continue to work, and you should be able 
to switch to your bluetooth device and use it.

  
  Original bug report:

  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/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to