[pulseaudio-discuss] Bluetooth + HSP + Raspberry?

Bram de Jong bram.dejong at gmail.com
Fri Jun 14 01:20:25 PDT 2013

Hi Mikel,

> As Tanu mentioned, this can be done calling
> HandsfreeGateway.Connect(). You can do this in command line or using a
> tool such as d-feet. People tend to think that Audio.Connect()
> connects all audio profiles but this is not the case in BlueZ 4: you
> have to explicitly call HandsfreeGateway.Connect() for HSP/HFP and
> AudioSource.Connect() for A2DP.

Aha! Hmm, I'm using d-feet but I can't see the method
HandsfreeGateway.Connect on bluez. I do see Audio.Connect, but no
mention of HandsfreeGateway.

> Alternatively, you can initiate the connection from the phone. This
> should work out of the box assuming the device is marked as trusted.

I'm actually always initiating from the phone side. On Android I do
have a checkbox on the phone that reads "Media audio: connected to
media audio" which to me sounds a bit like A2DP and not HFS.

> More importantly, in order to make all this work, you'll also need a
> telephony component which implements the headset role (note that BlueZ
> doesn't do this). I would recommend oFono 1.12 but older versions
> should also work fine.

Is there anything specific I need to configure for this to work or
does the package just need to "be" there?
Also, as I said before, I'm only trying to OUTPUT the audio to the
HSP/HFP, not use the Pi as a microphone, or does ofono need to be
present anyway?

 - bram


office: +32 (0) 9 335 59 25
mobile: +32 (0) 484 154 730

More information about the pulseaudio-discuss mailing list