Bluetooth Headset - bluetoothd, dbus, pulseaudio errors

Hello,

I am using openSUSE 12.2 x86_64 KDE on HP ProBook 6470b laptop. I managed to connect and pair my Motorola H790 with laptop, after connection I receive notification:

Motorola H790: audio service connected and configured

H790 is visible as device in Phonon.
Problem is - I can not play/record any sound through headset. I think that logs in /var/log/messages contain the reason and clue for resolution:

Sep 20 11:05:52 al-linux-hp dbus-daemon[642]: dbus[642]: [system] Rejected send message, 3 matched rules; type="method_return", sender=":1.42" (uid=1000 pid=1894 comm="/usr/bin/pulseaudio --start --log-target=syslog ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.7" (uid=0 pid=757 comm="/usr/sbin/bluetoothd --udev ")
Sep 20 11:05:52 al-linux-hp dbus[642]: [system] Rejected send message, 3 matched rules; type="method_return", sender=":1.42" (uid=1000 pid=1894 comm="/usr/bin/pulseaudio --start --log-target=syslog ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.7" (uid=0 pid=757 comm="/usr/sbin/bluetoothd --udev ")
Sep 20 11:06:10 al-linux-hp pulseaudio[1894]: [pulseaudio] module-bluetooth-device.c: Bluetooth audio service not available
Sep 20 11:06:10 al-linux-hp bluetoothd[880]: /org/bluez/757/hci0/dev_00_24_1C_24_30_56/fd2: fd(27) ready
Sep 20 11:06:10 al-linux-hp pulseaudio[1894]: [pulseaudio] bluetooth-util.c: Failed to release transport /org/bluez/757/hci0/dev_00_24_1C_24_30_56/fd2: Method "Release" with signature "s" on interface "org.bluez.MediaTransport" doesn't exist
Sep 20 11:06:10 al-linux-hp dbus[642]: [system] Rejected send message, 3 matched rules; type="method_return", sender=":1.42" (uid=1000 pid=1894 comm="/usr/bin/pulseaudio --start --log-target=syslog ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.7" (uid=0 pid=757 comm="/usr/sbin/bluetoothd --udev ")
Sep 20 11:06:10 al-linux-hp dbus-daemon[642]: dbus[642]: [system] Rejected send message, 3 matched rules; type="method_return", sender=":1.42" (uid=1000 pid=1894 comm="/usr/bin/pulseaudio --start --log-target=syslog ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.7" (uid=0 pid=757 comm="/usr/sbin/bluetoothd --udev ")
Sep 20 11:06:16 al-linux-hp pulseaudio[1894]: [pulseaudio] module-bluetooth-device.c: Bluetooth audio service not available
Sep 20 11:06:16 al-linux-hp bluetoothd[880]: /org/bluez/757/hci0/dev_00_24_1C_24_30_56/fd3: fd(26) ready
Sep 20 11:06:21 al-linux-hp bluetoothd[880]: Audio connection got disconnected

Help in debuging, please?

In my case I’m using Motorola H700 Headset (used to be working in Suse 12.1) and getting this:

Sep 22 02:19:08 linux-xxx kernel: 711.996120] pulseaudio[2344]: segfault at 8000000 ip b6fe7506 sp bfc32244 error 4 in libc-2.15.so[b6f66000+19f000]
Sep 22 02:19:08 linux-xxx bluetoothd[700]: Endpoint unregistered: sender=:1.217 path=/MediaEndpoint/HFPAG
Sep 22 02:19:08 linux-xxx bluetoothd[700]: Endpoint unregistered: sender=:1.217 path=/MediaEndpoint/A2DPSource

Version of pulsaudio: 1.1-6.4.1

linux-xxx:~ # uname -a
Linux linux-xxx 3.4.6-2.10-desktop #1 SMP PREEMPT Thu Jul 26 09:36:26 UTC 2012 (641c197) i686 athlon i386 GNU/Linux
linux-xxx:~ #

My issue finally has been fixed when I installed pulseaudio 2.1-99.1 from “multimedia:libs” repository.

Update: inspired by http://forums.opensuse.org/forums/english/get-technical-help-here/hardware/410722-how-do-i-fix-bluetooth-permissions-after-last-dbus-update.html I modified /etc/dbus-1/system.d/bluetooth.conf by coping section with root permissions and replacing “root” with my username:


                                  

Not the most elegant but I was not eager to go through all the dbus documentation at this point. This resolved dbus errors, but left me with:

 [pulseaudio] module-bluetooth-device.c: Bluetooth audio service not available

Resolved by creating /etc/bluetooth/audio.conf with contents (found this solution in many sources):

[General]Enable=Socket

I also have ~/.asoundrc:

pcm.btheadset {        type bluetooth        device "00:24:1C:24:30:56"        profile "voice"}ctl.btheadset {        type bluetooth} 

At this point headset is pairing fine, but still not working properly - I hear only scratches…