Skip to content

Bluetooth HSP with pulseaudio, does not connect #1401

Closed

Description

@adcpc

Hi,

I've been trying to use Raspbian (2016-03-18) on a Raspberry 2 with a USB Bluetooth dongle to connect with a HSP headset. Since bluez 5.x does not natively support HSP/HFP, I'm using pulseaudio (built with native HSP support) to enable audio through HSP.

The bluetooth part works well. I can discover and pair my device and even get audio through an A2DP stream.

However, when I switch to HSP (using pavucontrol), I get the following error : "backend-native.c: connect(): Function not implemented".

According to the feedback that I got from the pulseaudio mailing list, the "function not implemented" message is related to a missing support on the kernel : https://lists.freedesktop.org/archives/pulseaudio-discuss/2016-March/025813.html

I will try to reproduce this in the coming days using a RPi 3 with the integrated Bluetooth.

Let me know if additional details are required.

Activity

  1. adcpc commented on Apr 15, 2016

    @adcpc
    Author

    I tried the same operation using a RPi 3 with its built-in bluetooth 4.1 controller.

    The result was different since I didn't have the "function not implemented" errror. In fact, I was able to connect the HSP profile. However, I couldn't get an audio through HSP, just some kind of low level cracking noise. A2DP was still working.

    I also tried with a bunch of other bluetooth dongles :

    • Bekin USB dongle : Belkin Components F8T013 Bluetooth Adapter - Unknown IC -> Cannot set the controller in run mode. Remains off all the time.
    • Targus USB dongle : Broadcom Corp. Bluetooth 4.0 - BCM20702A0 -> Can connect HSP but no audio.
    • Maxxtro USB dongle : Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) - CSR8510 -> No HSP connection ("function not implemented")
    • PTS USB dongle : USB Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) - Unknown IC -> HSP audio works ! Input and output. I can even switch the profile (HSP <-> A2DP) while playing a wave file.

    I'm a bit surprised that the built-in bluetooth controller is not working correctly or not fully supported. Any chance to have anyone from the dev team looking at this issue ?

  2. JamesH65 commented on Apr 15, 2016

    @JamesH65
    Contributor

    Might be worth checking out issues

    #1360
    #1402

  3. jenhro commented on Jun 18, 2016

    @jenhro

    same problem
    bluetooth on Pi 3 can't works on HSP/HFP (A2DP is OK),OS: ubuntu mate 16.04
    still trying solutions.....
    well, Targus USB dongle seem to works when a firmware be added
    BCM20702A0

  4. denics commented on Mar 2, 2017

    @denics

    @adcpc did you manage to use HSP with Raspbian Jessie? can you point me to some documentation please?

  5. YOUN3SS commented on Mar 27, 2017

    @YOUN3SS

    This may help for HSP, not the ideal solution but still working.

    http://youness.net/raspberry-pi/bluetooth-headset-raspberry-pi-3-ad2p-hsp

  6. bmx666 commented on Oct 1, 2017

    @bmx666

    HSP works only with

  7. YOUN3SS commented on Oct 4, 2017

    @YOUN3SS

    You need ofono for HFP only.

  8. mayankc7h7 commented on Oct 13, 2017

    @mayankc7h7

    @bmx666 "HSP works only with..."
    you mean with inbuilt bluetooth? Can you please detail?

  9. pelwell commented on Oct 13, 2017

    @pelwell
    Contributor

    @bmx666 is giving a long list of requirements if you want to use headset profile. The version of BlueZ that comes with Jessie and Stretch does not support it - don't ask me why, it seems a ridiculous decision on the part of the BlueZ devs.

  10. bluetiger9 commented on Jan 21, 2018

    @bluetiger9

    Solution to use the HSP profile with Raspberry Pi 3’s built in BCM43438 chip: #2229 (comment)

  11. YOUN3SS commented on Feb 8, 2018

    @YOUN3SS

    As said @bluetiger9 there is a solution for that, check above link.

  12. added
    Close within 30 days
    on Jun 28, 2018
  13. JamesH65 commented on Aug 31, 2018

    @JamesH65
    Contributor

    This issue will be closed within 30 days unless further interactions are posted. If you wish this issue to remain open, please add a comment. A closed issue may be reopened if requested.

  14. JamesH65 commented on Aug 31, 2018

    @JamesH65
    Contributor

    Closing due to lack of activity. Please request to be reopened if you feel this issue is still relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugClose within 30 days

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions