[PATCH v3] bluez5-util: Disconnect AG devices when ofono is started and headset=auto

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

 



On 13.03.2017 16:41, Tanu Kaskinen wrote:
> On Mon, 2017-03-13 at 09:48 +0100, Georg Chini wrote:
>> With headset=auto it is possible that AG devices are connected and handled
>> via the native backend when ofono is started. Because the HS role will then
>> be disabled in the native backend, AG devices must be disconnected and any
>> future connections will be handled by ofono.
> This seems racy, although there's probably no better solution, short of
> designing a new sco socket handover protocol between pulseaudio and
> ofono. If ofono tries to start listening for incoming sco connections
> before our sco socket is closed, will things break?
>
Fortunately it does not break. If I start ofono while the SCO socket is 
still
in use, the phone gets disconnected and I can immediately re-connect
it to ofono.


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

  Powered by Linux