Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp5208555iog; Wed, 22 Jun 2022 14:38:10 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tQxpiienn6PdEXVr0qh4Wor4A955W/Hocn/pGBsiR2zptn0lBQEhP1F+YUct/GuvLy8xI5 X-Received: by 2002:a17:906:d54e:b0:722:f8c5:a52 with SMTP id cr14-20020a170906d54e00b00722f8c50a52mr3467583ejc.700.1655933890166; Wed, 22 Jun 2022 14:38:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655933890; cv=none; d=google.com; s=arc-20160816; b=KkXig3LofU3XKZ2zqcfXdkOO5Z19yCOOC3lXXxX0QmHda+nWp+LHNdE/AzSiYcfU0W IyIe/PjZAdiJNEXDCu7y+90xeNSLDSwWY6zJLiXbTge7YPQv0L0ZRekQxwjB2De5Hny3 hfZbDl/CucfyXiXfFPgzDyjcLsksINcJorPu8TesMqRhUUaA+5hdE48iCtf+FtKfPSqx 2anf5pvlTIWHOg8me3m+cC+QEo5L6l3AMoGx3lMP5LgVH3zDhOYLF7T7TrH7cPhxcu38 XZRHnCgD764oghbrULL+WbpkWEB1MJnKUq0/Ku8h2kUH4qcRhggV7DHX6mMdS4BDK4iu 18Eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=hqNzdMfM+efEyM3UCK0ToWnarRRL3BwN/oHoZRoNsBw=; b=fIQzi/7pYCvC5xz30d7A4B1iL4xOkcAAN3IvavLWonA+c5HWa/uhEgv0A6Na33Ox20 cpuJ3xshmaq17HOoMlmT+tlOTZdhACyI9xFvdB6oH0IzGDY+0qhq8CNcR6pdwwIQ4gru Va2kZ3SmMZPDb012Mvqz+iujS2YMTO4qRGzDcz8He5FtS4pIroIdVW9iunFv5mLIIJcd vJFqOQGDsCokjuwpT1CevbjkCInGSYriXW9/7jZZBmaBYwolmp2QJXeRLLB7wuBmFQsC su8wfcvaLsxh96C0xMy22V0cNAUWuHGv4RkhWTBKqD0sl+IBgs0zdm7MyYgbBhIgRGPS Sciw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=kUXCyWmT; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bq15-20020a056402214f00b00423ed4c5c02si17039221edb.205.2022.06.22.14.37.35; Wed, 22 Jun 2022 14:38:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=kUXCyWmT; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231310AbiFVVcO (ORCPT + 99 others); Wed, 22 Jun 2022 17:32:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231165AbiFVVcN (ORCPT ); Wed, 22 Jun 2022 17:32:13 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D2FE13D39 for ; Wed, 22 Jun 2022 14:32:12 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id q9so2948772ljp.4 for ; Wed, 22 Jun 2022 14:32:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=hqNzdMfM+efEyM3UCK0ToWnarRRL3BwN/oHoZRoNsBw=; b=kUXCyWmTasQZXooInHNWBGiknjTs9IhKSi9YfL4re/gxOPuI7v0s9rSK7siKAHOaic pKwcfd5cMYnm1Tc1aqkgpaCVbPLOOZNT2WtsibtY0agiWv7n2J9/nuOHu5qklxvnJSnw Wb8bDu6AMoy97Yr2jUad/CTcqwl7Vi13THIrzWEUNjz4EMdo7C8gG/rhVaE2hIqY4jzi 7ImVegjsT9xuMiZ4Bn6G4Me8PRhzWbJi8cH8Ht65LT6oslgI/HZgWnws9y41B0ToO5xQ KilggD0E1fS6rSvNc7/MGe0yNHOfwOtf2noOA1iiZYeu+0cycYwAzGIKEEEACQu2kCEs eU0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=hqNzdMfM+efEyM3UCK0ToWnarRRL3BwN/oHoZRoNsBw=; b=DA51FXUiT4pI/nHZdzZKjHWbS2Set/K1ocunHNhH0JQxJCsvXk1PJ+2ZnvxuqJ8nG1 WM2kt62e0EetkFgZoHcma2cb9mbahfkaRGqL58PIg99lkf2gDn0iTWcFGRLdxHbHKc1R z6g/YNd9Cqo909LYe22s79k2WRVmLyydXDNzD0PVzq24UNicRJkbesxiBPn0fmjMeYDW C8aMMoq8WzTCN6xrWiCwV/eUunQfzj/Q4jYHNXACzvxb36ug7Q6UNibOcI/TfTMDVekd Nx17AfixKhDHt9LOaBshfpvrV2amiNMKxviMg7qV0+4pRLuxhOCE3ufDmdrthxdjFll7 vzhA== X-Gm-Message-State: AJIora/fwMjJGSQuNtZgn1XlFSkU4ZzbdBWusGhbp/KcoVxUck+yCfXM X5znDJPrFVFEQw0ATN9NTs2XQACgEy4AuiNjIcui1Rb8JJU= X-Received: by 2002:a2e:8449:0:b0:24f:4db3:f02e with SMTP id u9-20020a2e8449000000b0024f4db3f02emr2958917ljh.140.1655933530633; Wed, 22 Jun 2022 14:32:10 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Luiz Augusto von Dentz Date: Wed, 22 Jun 2022 14:31:59 -0700 Message-ID: Subject: Re: third time To: Thomas Green Cc: "linux-bluetooth@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Thomas, On Wed, Jun 22, 2022 at 2:22 PM Thomas Green wrote: > > Luiz, > > Thank you for your reply. In my first two attempts I pasted into it the = log file created by running: > > bluetoothd --experimental -debug -n > > The version of bluez is 5.50. I looked at the patch you suggested and it= 's already included in this version of src/device.c > > Are there any further patches I should look at? Would you like a copy of= my log again? Ouch, that is quite an old version, have you considered using something new= er? > Tom > > -----Original Message----- > From: Luiz Augusto von Dentz > Sent: Tuesday, June 21, 2022 2:40 PM > To: Thomas Green > Cc: linux-bluetooth@vger.kernel.org > Subject: Re: third time > > [EXTERNAL] > > Hi Thomas, > > On Tue, Jun 21, 2022 at 1:29 PM Thomas Green wrote= : > > > > I've twice before written about this issue I'm having, but never heard = anything back. It regards a GATT device that connects and operates correct= ly. The issue is when we call the Adapter1.RemoveDevice method for this de= vice. Some times the device is removed completely, and everything works fi= ne. Some times it fails and bluetoothd becomes unusable. Even when I shut= down and restart bluetoothd it doesn't operate correctly when restarting. = The difference is that when it works, at the end of the removal process, it= reconnects the device, tries to recreate the device, then removes it. All= internally. When things fail, those steps don't happen. I've posted befo= re the salient part of the Bluetooth log. The only thing that will make bl= uetoothd function correctly is to shut it down, remove all of the similar G= ATT devices, then restart bluetoothd. > > > > I have yet to hear if anyone has -any- idea regarding this, not even to= tell me it's not something that needs to be looked at. It is something th= at renders bluetoothd unusable, so I would think that it is something that = might be interesting to look into. > > > > If anyone has any ideas where to look, or what might be going on, I'd > > love to hear from you > > Do you have any logs? Also what version is this happening, perhaps you ar= e missing some fixes like: > > https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=3D5ebc2b5a3= e48dbe67a2d315979b096a1b4d1eb99 > > > > > Tom Green > > > > -- > Luiz Augusto von Dentz --=20 Luiz Augusto von Dentz