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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Georg,

On Tue, Sep 16, 2014 at 6:23 PM, Georg Chini <georg at chini.tk> wrote:
> 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).

Im quite sure your device does HFP as well as HSP, you can check that
with sdptool browse <address>, so my guess is that you don't have a
modem in your system. Anyway if you want similar behavior as BlueZ 4
in a desktop you should probably use the native backend.

-- 
Luiz Augusto von Dentz


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux