[pulseaudio-discuss] Bluetooth + HSP + Raspberry?

Mikel Astiz mikel.astiz.oss at gmail.com
Thu Jun 13 09:11:29 PDT 2013

Hi Bram,

On Thu, Jun 13, 2013 at 3:59 PM, Bram de Jong <bram.dejong at gmail.com> wrote:
> On Thu, Jun 13, 2013 at 1:39 PM, Tanu Kaskinen
> <tanu.kaskinen at linux.intel.com> wrote:
>>> What I want to do is use the Raspberry as a speaker only using the
>>> low-latency HSP (which you cann HFGW) bluetooth profile. This should
>>> mainly be for making calls from another computer.
> You mean the method that is used to create the source for PA or the
> method that really connected the device?

You need to connect the HSP/HFP profile in BlueZ in order to be able
to use it in PA.

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.

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

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.


More information about the pulseaudio-discuss mailing list