<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 - HSP pa 6.0, bluez 5.30 HSP conn results in 'backend-native.c: connect(): Function not implemented'"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89994">89994</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>HSP pa 6.0, bluez 5.30 HSP conn results in 'backend-native.c: connect(): Function not implemented'
          </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>luciano@joublanc.com
          </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=115037" name="attach_115037" title="output of pacmd list">attachment 115037</a> <a href="attachment.cgi?id=115037&action=edit" title="output of pacmd list">[details]</a></span>
output of pacmd list

I have a Nokia BH-905i headset with both a2dp and HSP profiles. Full config
attached.

I'm able to use the A2DP profile without problems, but when I try to switch to
the HSP profile, I see the following in the logs:

backend-native.c: connect(): Function not implemented

I've obviously compiled with the native headset support. Not sure what the
problem is. The only suspicious thing is that pacmd list-cards shows 'unknown',
or sometimes 'no'.

headset_head_unit: Headset Head Unit (HSP/HFP) (priority 20, available:
unknown)


I've seen <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - Cannot switch bluetooth headset to HSP/HPF profile ."
   href="show_bug.cgi?id=87284">bug #87284</a>, and I don't think it's related as I'm on kernel 3.18.11:

Linux chichenitza 3.18.11-gentoo #1 SMP Sun Apr 12 13:57:29 BST 2015 x86_64
Intel(R) Core(TM)2 Extreme CPU X9650 @ 3.00GHz GenuineIntel GNU/Linux

I thought it might be a missing kernel driver but I think it's all there:

luciano@chichenitza /usr/src/linux $ zcat /proc/config.gz | grep _BT_

CONFIG_BT_RFCOMM=m
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=m
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_HIDP=m
CONFIG_BT_HCIBTUSB=m
# CONFIG_BT_HCIUART is not set
# CONFIG_BT_HCIBCM203X is not set
# CONFIG_BT_HCIBPA10X is not set
# CONFIG_BT_HCIBFUSB is not set
# CONFIG_BT_HCIDTL1 is not set
# CONFIG_BT_HCIBT3C is not set
# CONFIG_BT_HCIBLUECARD is not set
# CONFIG_BT_HCIBTUART is not set
# CONFIG_BT_HCIVHCI is not set
# CONFIG_BT_MRVL is not set
# CONFIG_BT_ATH3K is not set

Finally, should mention I know this should work as I've used it a couple of
years back when Bluez4 had native headset support. Also works with my android
devices.</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>