On Fri, 2016-07-22 at 16:20 +0530, Arun Raghavan wrote: > > From: Pali Rohár <pali.rohar at gmail.com> > + if (revert_to_a2dp) { > +        from_profile = "hsp"; > +        to_profile = "a2dp"; > +    } else { > +        from_profile = "a2dp"; > +        to_profile = "hsp"; > +    } These profile names work only with BlueZ 4. With BlueZ 5 the profile names are "headset_head_unit" and "a2dp_sink". Pali, would you be willing to write a patch makes the code handle both BlueZ versions? -- Tanu