Hi, With these 8 set of v4 patches. I am able to connect to the Bluetooth handsfree device and switch the audio from profiles a2dp to headset_unit. Also, I can see the SCO packets in btmon. This patches working good now. Thanks Sathish N, On Wed, Apr 26, 2017 at 5:49 PM, Luiz Augusto von Dentz < luiz.dentz at gmail.com> wrote: > From: Luiz Augusto von Dentz <luiz.von.dentz at intel.com> > > If SCO fd is already set don't attempt to connect again. > --- > src/modules/bluetooth/backend-ofono.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/modules/bluetooth/backend-ofono.c > b/src/modules/bluetooth/backend-ofono.c > index 755df9e..e18772d 100644 > --- a/src/modules/bluetooth/backend-ofono.c > +++ b/src/modules/bluetooth/backend-ofono.c > @@ -155,7 +155,7 @@ static int hf_audio_agent_transport_acquire(pa_bluetooth_transport > *t, bool opti > > pa_assert(card); > > - if (!optional) { > + if (!optional && card->fd < 0) { > DBusMessage *m; > > pa_assert_se(m = dbus_message_new_method_call(t->owner, t->path, > "org.ofono.HandsfreeAudioCard", "Connect")); > -- > 2.9.3 > > _______________________________________________ > pulseaudio-discuss mailing list > pulseaudio-discuss at lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss > -- Regards Sathish N -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20170427/5c533a55/attachment-0001.html>