Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluetooth HSP with pulseaudio, does not connect #1401

Closed
adcpc opened this issue Apr 11, 2016 · 13 comments
Closed

Bluetooth HSP with pulseaudio, does not connect #1401

adcpc opened this issue Apr 11, 2016 · 13 comments
Labels
Bug Close within 30 days Issue will be closed within 30 days unless requested to stay open

Comments

@adcpc
Copy link

adcpc commented Apr 11, 2016

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.

@adcpc
Copy link
Author

adcpc commented Apr 15, 2016

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 ?

@JamesH65
Copy link
Contributor

Might be worth checking out issues

#1360
#1402

@jenhro
Copy link

jenhro commented Jun 18, 2016

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

@denics
Copy link

denics commented Mar 2, 2017

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

@YOUN3SS
Copy link

YOUN3SS commented Mar 27, 2017

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

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

@JamesH65 JamesH65 added the Bug label May 18, 2017
@bmx666
Copy link

bmx666 commented Oct 1, 2017

HSP works only with

@YOUN3SS
Copy link

YOUN3SS commented Oct 4, 2017

You need ofono for HFP only.

@mayankc7h7
Copy link

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

@pelwell
Copy link
Contributor

pelwell commented Oct 13, 2017

@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.

@bluetiger9
Copy link

bluetiger9 commented Jan 21, 2018

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

@YOUN3SS
Copy link

YOUN3SS commented Feb 8, 2018

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

@JamesH65 JamesH65 added the Close within 30 days Issue will be closed within 30 days unless requested to stay open label Jun 28, 2018
@JamesH65
Copy link
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.

@JamesH65
Copy link
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
Labels
Bug Close within 30 days Issue will be closed within 30 days unless requested to stay open
Projects
None yet
Development

No branches or pull requests

9 participants