[pulseaudio-discuss] [PATCH] bluetooth: Add support for automatic switch between hsp and a2dp profiles also for bluez5

Arun Raghavan arun at arunraghavan.net
Fri Sep 23 12:29:46 UTC 2016


On Thu, 15 Sep 2016, at 08:59 PM, Tanu Kaskinen wrote:
> On Thu, 2016-09-15 at 18:04 +0300, Tanu Kaskinen wrote:
> > On Sun, 2016-09-11 at 17:16 +0200, Pali Rohár wrote:
> > > 
> > > Bluez5 uses different profile names as bluez4, so we need to check for
> > > a2dp_sink and headset_head_unit too for bluez5 support.
> > > 
> > > Signed-off-by: Pali Rohár <pali.rohar at gmail.com>
> > > ---
> > > 
> > > I have not tested this patch yet, but there are people who already wanted
> > > bluez5 support so I'm sending my patch. If there are any problems let me
> > > know and I could try to fix them... Btw, same check for profile names is
> > > already done in code for loading loopback module.
> > 
> > Looks good. I'd like somebody to test this before I push this, however.
> > My own headset doesn't work properly with bluez 5, at least with the
> > laptop's integrated bluetooth adapter. I have also a usb adapter - I'll
> > check if I have better luck with that.
> 
> Nope, the usb adapter doesn't work any better (the hsp profile doesn't
> get connected).

I tested this as working fine, and pushed the patch out. There's a
seemingly unrelated bug at:

  https://bugs.freedesktop.org/show_bug.cgi?id=97906

-- Arun


More information about the pulseaudio-discuss mailing list