View previous topic :: View next topic |
Author |
Message |
MageSlayer Apprentice
Joined: 26 Jul 2007 Posts: 252 Location: Ukraine
|
Posted: Sat Jun 09, 2018 9:37 pm Post subject: [SOLVED] Bluetooth headset and PulseAudio |
|
|
Hi all
I am trying to make this nice combination work, but looks like I am really missing something here.
I have kernel 4.10.15, dbus-1.10.24, bluez-5.49-r1, pulseaudio-11.1 with bluetooth, native-headset and ofono-headset use flags enabled. Also I managed to find proper firmware for my Broadcom-BCM20702A1 (using great hint from here - https://www.slackwiki.com/Btfirmware-nonfree)
My earphone gets paired connected, pulseaudio gets new output device, switches to it, but no sound at all.
Relevant log is (# grep "dbus\|blue\|pulseaud" /var/log/messages):
Code: | Jun 10 00:16:12 notebook64 bluetoothd[8660]: Bluetooth daemon 5.49
Jun 10 00:16:12 notebook64 bluetoothd[8660]: Starting SDP server
Jun 10 00:16:12 notebook64 bluetoothd[8660]: Bluetooth management interface 1.14 initialized
Jun 10 00:16:12 notebook64 dbus[8597]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
Jun 10 00:16:12 notebook64 dbus[8597]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'
Jun 10 00:16:16 notebook64 dbus[8597]: [system] Activating service name='org.freedesktop.RealtimeKit1' (using servicehelper)
Jun 10 00:16:16 notebook64 dbus[8597]: [system] Successfully activated service 'org.freedesktop.RealtimeKit1'
Jun 10 00:16:16 notebook64 pulseaudio[12425]: [pulseaudio] main.c: Compiled with DEPRECATED libsamplerate support!
Jun 10 00:16:16 notebook64 bluetoothd[8660]: Endpoint registered: sender=:1.20 path=/MediaEndpoint/A2DPSource
Jun 10 00:16:16 notebook64 bluetoothd[8660]: Endpoint registered: sender=:1.20 path=/MediaEndpoint/A2DPSink
Jun 10 00:16:16 notebook64 pulseaudio[12425]: [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
Jun 10 00:17:33 notebook64 dbus[8597]: [system] Reloaded configuration
Jun 10 00:17:39 notebook64 dbus[8597]: [system] Reloaded configuration
Jun 10 00:17:39 notebook64 dbus[8597]: [system] Reloaded configuration
Jun 10 00:17:42 notebook64 bluetoothd[8660]: Terminating
Jun 10 00:17:42 notebook64 bluetoothd[8660]: Unable to get io data for Headset Voice gateway: getpeername: Transport endpoint is not connected (107)
Jun 10 00:17:42 notebook64 dbus[8597]: [system] Rejected send message, 1 matched rules; type="method_return", sender=":1.20" (uid=1000 pid=12425 comm="/usr/bin/pulseaudio --start --log-target=syslog ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.0" (uid=0 pid=8660 comm="/usr/libexec/bluetooth/bluetoothd ")
Jun 10 00:17:42 notebook64 bluetoothd[8660]: Endpoint unregistered: sender=:1.20 path=/MediaEndpoint/A2DPSource
Jun 10 00:17:42 notebook64 bluetoothd[8660]: Endpoint unregistered: sender=:1.20 path=/MediaEndpoint/A2DPSink
Jun 10 00:17:42 notebook64 dbus[8597]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.20" (uid=1000 pid=12425 comm="/usr/bin/pulseaudio --start --log-target=syslog ") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.0" (uid=0 pid=8660 comm="/usr/libexec/bluetooth/bluetoothd ")
Jun 10 00:17:42 notebook64 dbus[8597]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.20" (uid=1000 pid=12425 comm="/usr/bin/pulseaudio --start --log-target=syslog ") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.0" (uid=0 pid=8660 comm="/usr/libexec/bluetooth/bluetoothd ")
Jun 10 00:17:42 notebook64 dbus[8597]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.20" (uid=1000 pid=12425 comm="/usr/bin/pulseaudio --start --log-target=syslog ") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.0" (uid=0 pid=8660 comm="/usr/libexec/bluetooth/bluetoothd ")
Jun 10 00:17:42 notebook64 dbus[8597]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.20" (uid=1000 pid=12425 comm="/usr/bin/pulseaudio --start --log-target=syslog ") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.0" (uid=0 pid=8660 comm="/usr/libexec/bluetooth/bluetoothd ")
Jun 10 00:17:42 notebook64 dbus[8597]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.20" (uid=1000 pid=12425 comm="/usr/bin/pulseaudio --start --log-target=syslog ") interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply="0" destination=":1.0" (uid=0 pid=8660 comm="/usr/libexec/bluetooth/bluetoothd ")
Jun 10 00:17:42 notebook64 dbus[8597]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.20" (uid=1000 pid=12425 comm="/usr/bin/pulseaudio --start --log-target=syslog ") interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply="0" destination=":1.0" (uid=0 pid=8660 comm="/usr/libexec/bluetooth/bluetoothd ")
Jun 10 00:17:42 notebook64 bluetoothd[8660]: Stopping SDP server
Jun 10 00:17:42 notebook64 bluetoothd[8660]: Exit
Jun 10 00:17:42 notebook64 bluetoothd[27346]: Bluetooth daemon 5.49
Jun 10 00:17:42 notebook64 bluetoothd[27346]: Starting SDP server
Jun 10 00:17:42 notebook64 bluetoothd[27346]: Bluetooth management interface 1.14 initialized
Jun 10 00:17:42 notebook64 dbus[27290]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
Jun 10 00:17:42 notebook64 dbus[27290]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'
Jun 10 00:17:46 notebook64 dbus[27290]: [system] Activating service name='org.freedesktop.RealtimeKit1' (using servicehelper)
Jun 10 00:17:46 notebook64 dbus[27290]: [system] Successfully activated service 'org.freedesktop.RealtimeKit1'
Jun 10 00:17:46 notebook64 pulseaudio[30958]: [pulseaudio] main.c: Compiled with DEPRECATED libsamplerate support!
Jun 10 00:17:46 notebook64 bluetoothd[27346]: Endpoint registered: sender=:1.20 path=/MediaEndpoint/A2DPSource
Jun 10 00:17:46 notebook64 bluetoothd[27346]: Endpoint registered: sender=:1.20 path=/MediaEndpoint/A2DPSink
Jun 10 00:17:46 notebook64 pulseaudio[30958]: [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
|
Any hints on how to fix those errors?
Could anybody share his/her dbus/pulseaudio/bluetooth related configs for inspiration?
BR,
Denis
Last edited by MageSlayer on Sun Jun 10, 2018 9:42 am; edited 1 time in total |
|
Back to top |
|
|
gorg86 Apprentice
Joined: 20 May 2011 Posts: 297
|
|
Back to top |
|
|
MageSlayer Apprentice
Joined: 26 Jul 2007 Posts: 252 Location: Ukraine
|
Posted: Sun Jun 10, 2018 8:18 am Post subject: |
|
|
Yes, I've made firmware changes just like the link you gave me suggests.
And yes, I use pavucontrol and clearly see that headset is switched onto.
However, still no sound. Smartphones pair and play sound almost frawlessly. |
|
Back to top |
|
|
MageSlayer Apprentice
Joined: 26 Jul 2007 Posts: 252 Location: Ukraine
|
Posted: Sun Jun 10, 2018 9:42 am Post subject: |
|
|
Ok. The problem solved.
I've moved to kernel 4.16.14, rebuilt pulseaudio without ofono-headset and sound appeared. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|