Return-Path: MIME-Version: 1.0 In-Reply-To: References: <1369301309-25189-1-git-send-email-mikel.astiz.oss@gmail.com> From: Alex Deymo Date: Thu, 23 May 2013 15:46:11 -0700 Message-ID: Subject: Re: [PATCH BlueZ v0 0/4] AVRCP connection-tracking issues To: Luiz Augusto von Dentz Cc: Mikel Astiz , "linux-bluetooth@vger.kernel.org" , Mikel Astiz Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Luiz, On Thu, May 23, 2013 at 2:12 PM, Luiz Augusto von Dentz wrote: >>> So with what patch-set have you tested, mine that Ive send a few hours >>> ago or Mikel's? >> >> I tried Mikel's patchset. I can try your patchset now if you want. > > Please do it, Ive done some testing with the devices I have with me > (Sony MW600 and a couple phones for the CT role) and it seems to fix > the problem. It is not that Mikel's patches wouldn't work, they > actually do fix it too but it fix the effect not the cause that is > connecting the wrong profile in first place. Ok, I tried your patch in the same environment as before and the logs are here ( http://ix.io/5LR ). That one also works fine: * the device is idle and would accept a connection from the host. * pressing the bluetooth logo button makes it leave that mode and start a connection to the host... but it takes some time to do that (about 2sec). * a "connect" command in the bluetoothctl will fail and (now) return an error. * the "ongoing" connection from the device succeeds after that and everything works :) Thank you! Alex.