<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - No audio stream from headset in HSP/HFP mode"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97064">97064</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>No audio stream from headset in HSP/HFP mode
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>PulseAudio
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>core
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>koesterreich@fastmail.fm
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>lennart@poettering.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=125285" name="attach_125285" title="Output of LANG=C pulseaudio -vvvv --log-time=1 > ~/pulseverbose.log 2>&1">attachment 125285</a> <a href="attachment.cgi?id=125285&action=edit" title="Output of LANG=C pulseaudio -vvvv --log-time=1 > ~/pulseverbose.log 2>&1">[details]</a></span>
Output of LANG=C pulseaudio -vvvv --log-time=1 > ~/pulseverbose.log 2>&1

I have the bluetooth headset Sennheiser MB Pro 2 why I would like to use in
headset mode (record and output audio).

I am using bluez5 (5.39) and I can successfully pair and connect the device.
bluetoothctl shows the following information:

Device 00:16:94:15:49:C8
        Name: Sennheiser MB Pro 2
        Alias: Sennheiser MB Pro 2
        Class: 0x240404
        Icon: audio-card
        Paired: yes
        Trusted: yes
        Blocked: no
        Connected: no
        LegacyPairing: no
        UUID: Headset                   (00001108-0000-1000-8000-00805f9b34fb)
        UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
        UUID: Handsfree                 (0000111e-0000-1000-8000-00805f9b34fb)
        UUID: Vendor specific           (1ddce62a-ecb1-4455-8153-0743c87aec9f)

bluetoothd logs the following:

bluetoothd[2591]: Endpoint registered: sender=:1.98
path=/MediaEndpoint/A2DPSource
bluetoothd[2591]: Endpoint registered: sender=:1.98
path=/MediaEndpoint/A2DPSink

The device works fine in A2DP mode and also in HSP/HFP mode under Windows 10
without any special drivers.

In /etc/pulse/default.pa I added the argument "headset=auto" to the line
"load-module module-bluetooth-discover" as suggested in
<a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - HSP not working in pulseaudio with BlueZ 5"
   href="show_bug.cgi?id=73325#c52">https://bugs.freedesktop.org/show_bug.cgi?id=73325#c52</a> to be able to switch to
the HSP/HFP  profile at all (previously it jumped right back to A2DP).

I already tried different versions of bluez5 like the up2date 5.40 and
different versions of pulseaudio like the previous 8.0 without any difference.

Currently I am using the current master of pulseaudio (commit )

I also tried compiling in ofono support but if I understood correctly it is
only useful for the opposite direction, connecting a PC _as headset_ to an
other device like a smartphone.

Currently I have only enabled the native-headset support, as you can see in my
Gentoo package settings:

media-sound/pulseaudio-9999::x-portage was built with the following:
USE="X alsa alsa-plugin asyncns bluetooth caps dbus gdbm glib gnome gtk ipv6
native-headset orc qt4 ssl systemd tcpd udev webrtc-aec zeroconf -doc
-equalizer -jack -libressl -libsamplerate -lirc (-neon) -ofono-headset (-oss)
-realtime (-selinux) -sox (-system-wide) -test -xen" ABI_X86="32 64 -x32"

I cannot see anything suspicious in the log file (see attachment).

I am really willing to make this setup work and can provide more information,
test different versions (also from git or sth), apply experimental patches or
what ever you need to fix this bug.

----
Plasma 5.7 with phonon-vlc
Gentoo Linux
Kernel 4.4.12</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>