Comment 31 for bug 1199059

Revision history for this message
Hartmut (hesse-hsr) wrote :

I am using a fresh installed Xubuntu 14.04 LTS, after running Ubuntu 10.04 LTS for quite a while on the same laptop Lenovo R500.
Everything worked great after installation, until I came to blueman...
Connecting to two different audio-devices( headset nokia 905i+, bluetooth-speaker DOSS Alonso ) that I own was buggy.
To be more specific: connecting and pairing worked, but there was no sink for pulseaudio available and A2DP setting was not possible.
I followed the discussion: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1283003.

And here I could finally find the solution:

it seemed that blueman unloads "module-bluetooth-discover" on startup.

David Henningsson (diwic) found the code in
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1283003/comments/52

he did a quick ppa on that, which unfortunately didn't work
https://launchpad.net/~diwic/+archive/bluemantest

now what?

since I liked the idea, I hacked directly in to that modul
/usr/lib/python2.7/dist-packages/blueman/plugins/applet/PulseAudio.py line: 229
    if v["name"] == "module-bluetooth-discoverX":
the 'X' is my add-on, since I have no idea about python ;)

reboot

now it works! :)

connected my Headset, could set the A2DP and listen to my music right now.

maybe somebody can use this information to build a real fix. looking forward to that