Re: [PATCH 1/2] hfp_hf: Fix not creating modem during NewConnection

2017-04-27 Thread Denis Kenzior
Hi Luiz, On 04/27/2017 07:55 AM, Luiz Augusto von Dentz wrote: From: Luiz Augusto von Dentz In case the UUIDs are not updated, or are still being resolved, when Paired property changes a modem will never be registered. I can sort of see the 'still being resolved' issue. But what is the 'no

[PATCH 1/2] hfp_hf: Fix not creating modem during NewConnection

2017-04-27 Thread Luiz Augusto von Dentz
From: Luiz Augusto von Dentz In case the UUIDs are not updated, or are still being resolved, when Paired property changes a modem will never be registered. In order to fix this problem allow modems to be registered directly during NewConnection. --- plugins/hfp_hf_bluez5.c | 193 +++

[PATCH 2/2] handsfree-audio: Add Acquire method

2017-04-27 Thread Luiz Augusto von Dentz
From: Luiz Augusto von Dentz This adds Acquire method which can be used by agents that require pulling the fd directly instead of waiting a NewConnection. Note: sounds servers like PulseAudio do auto suspend stream when idle for a certain amount of time and once anything happens it will resume t