<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - HSP not working in pulseaudio with BlueZ 5"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=73325#c51">Comment # 51</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - HSP not working in pulseaudio with BlueZ 5"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=73325">bug 73325</a>
              from <span class="vcard"><a class="email" href="mailto:andrea.furin@slacky.it" title="andrea.furin@slacky.it">andrea.furin@slacky.it</a>
</span></b>
        <pre>I've found a way to use pc like an headset with Android phone (for making
callings).
!!! I've use pulseaudio from jessie-backports: I don't know how much this takes
risks ;-) !!!

In /etc/apt/sources.list add:

deb <a href="http://ftp.jp.debian.org/debian/">http://ftp.jp.debian.org/debian/</a> jessie-backports main contrib non-free
deb-src <a href="http://ftp.jp.debian.org/debian/">http://ftp.jp.debian.org/debian/</a> jessie-backports main contrib non-free

$ sudo apt-get update
$ sudo apt-get install pulseaudio=7.1-2~bpo8+1 pulseaudio-utils=7.1-2~bpo8+1 \
    pulseaudio-module-x11=7.1-2~bpo8+1 pulseaudio-module-bluetooth=7.1-2~bpo8+1
\
    libpulse-mainloop-glib0=7.1-2~bpo8+1 libpulsedsp=7.1-2~bpo8+1
libpulse0=7.1-2~bpo8+1 \
    libpulse0:i386=7.1-2~bpo8+1

create a file (with same ownership of /var/lib/gdm3) (create directories if
necessary)
/var/lib/gdm3/.config/pulse/client.conf

autospawn = no
daemon-binary = /bin/true

[<a href="http://www.gem.mydns.jp/daitei/linux/jessie/bt-headset/">http://www.gem.mydns.jp/daitei/linux/jessie/bt-headset/</a>]


Install "ofono"

in /etc/pulse/default.pa 
modify the line:
load-module module-bluetooth-discover
in:
load-module module-bluetooth-discover headset=ofono

Restart pulseaudio:
killall -9 pulseaudio
(is not necessary "pulseaudio --start" because from pulseaudio 6 it will
restart automatically)

For now it seems that:
- if in /etc/pulse/default.pa you have add "headset=ofono" you will have the
headset;
- if not you will have a2dp (restart pulseaudio every time).

Good luck</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>