Comment 146 for bug 1574324

Revision history for this message
scarline (scarline) wrote :

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.