[pulseaudio-discuss] [PATCH 0/5] Add simple HSP support in new native backend

Georg Chini georg at chini.tk
Tue Sep 16 08:23:07 PDT 2014


On 16.09.2014 16:21, Luiz Augusto von Dentz wrote:
> Hi Tanu,
>
> On Tue, Sep 16, 2014 at 4:30 PM, Tanu Kaskinen
> <tanu.kaskinen at linux.intel.com> wrote:
>> On Mon, 2014-09-15 at 14:05 +0200, Georg Chini wrote:
>>> Hi,
>>>
>>>> The idea for the native HSP backend is to have a simple implementation
>>>> without any extra dependencies. It's hard to make ofono work on
>>>> desktop machines and you don't need a full-blown phone stack to play
>>>> sound through the headset in many cases.
>>>>
>>> Does the new ofono backend support a headset? The original patches from
>>> João Paulo Rechi Vita do not.
>> I also remember João saying that the patches would only cover the
>> HFP/Handsfree Unit role (which wouldn't be useful for headsets), but I'm
>> not sure that's correct... The code creates profiles that claim to cover
>> both HSP and HFP, and all roles of those (there are four profile+role
>> combinations in total). There may be limitations in oFono that prevent
>> some roles for working. I guess oFono only supports HFP, but it's
>> unclear whether it supports the role relevant for using headsets.
> In terms of interface both roles should be covered by the backend, so
> headsets should work as long as oFono has a modem registered. HSP is
> not supported by oFono, but this has little to no effect on supporting
> headsets since it only prevent HSP only headsets which is quite rare
> nowadays.
>
> In the other hand for HSP alone we should be covered by using native
> backend, this actually works very similar on Android where tablet
> without modem do only have HSP and phones have only HFP.
>
>
My headset (a 590Plantronics) supports HSP and A2DP Sink. With Joãos patches
both profiles turn up in pavucontrol, but I cannot switch to the HSP 
profile.
I think this is because ofono does not support HSP.
I did not try the native backend, but it would be sad if HSP is only 
supported
by the native backend while HFP only works with the ofono backend. Is 
there a
way to combine both? With Bluez4 I was able to connect a phone and the 
headset
in HSP mode at the same time (with two adapters).

Regards
              Georg



More information about the pulseaudio-discuss mailing list