Return-Path: MIME-Version: 1.0 In-Reply-To: References: <574DE1E1-7A53-4629-88FC-7164EC1880AA@holtmann.org> Date: Sun, 10 Aug 2014 10:32:41 +0300 Message-ID: Subject: Re: [A2DP] Incoming connections do not succeed From: Luiz Augusto von Dentz To: Artem Rakhov Cc: Marcel Holtmann , "linux-bluetooth@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 List-ID: Hi Artem, On Fri, Aug 8, 2014 at 10:32 AM, Artem Rakhov wrote: > Hi Marcel, > > Please find Packet Logger's btsnoop log in the attachment. > > So far I have 2 observations: > 1. Mac does not require any authorization (most likely it's not the cause) > 2. I found another BT speaker which works properly. At first, I'm > seeing the same behavior: speaker initiates connection, BlueZ sends > Configure Request (with no MTU), then speaker disconnects. But after > that the device tries to initiate connection for the second time, and > this time it is successful: after BlueZ sends Configure Request with > no MTU, speaker answers with another Configure Request (with some > MTU), and connection is established normally. Is it possible, that > BlueZ is doing something wrong, but then this new speaker tries > something else, while the old one does not? I could not find anything l2cap related in this logs, but I notice there a LE scanning ongoing perhaps you have should try disabling it with Disconnect method for now. Anyway A2DP code is not really involved with L2CAP connection setup so we would have to look at the kernel changes but I quick check doesn't show anything and you said you have tried with 3.10 so Im afraid this is only reproducible with some specific device. Btw, if you want to really isolate the problem you can try to connect using avinfo or l2test directly. -- Luiz Augusto von Dentz