Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4176398iog; Tue, 21 Jun 2022 13:47:43 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ttbBKML0JZNZtsTCqL0b6bBPm7gIeZjoJGo3XWgLniX0KTCnw7rE9SQkUSFsQXBdGw0YOo X-Received: by 2002:a63:5315:0:b0:401:7379:764f with SMTP id h21-20020a635315000000b004017379764fmr27682345pgb.449.1655844463702; Tue, 21 Jun 2022 13:47:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655844463; cv=none; d=google.com; s=arc-20160816; b=fKYF8j/zOlZsmcJDkkpTxbs13LDtzrp7Stfg0t0Nm9u8/O+rHb3/8bsXVw4tMFxp0d d7HXJFBhuJJaA9r0gKSXnow5lo8SFmeHzL2rH2WnpD0efuSp0Evy3z7PEKTR+S398yHW 4kct6AXc1Xq/DnVovuLChQZSFWZ0bDwLlpN/1IpU32t+goF4RSepZ/Fxe57qTne/8aHp 57gK1+dtFU7d5W+OOUzY/r51CXrOjnQ05SgneUOFuhbHfd9Tm9CHiCzKSyLOJo8O6qmy jpfb53ZDa0K7JfPl6UwvhLLTdupDsF6ZxC+zIPZNxbU3Ed1AlhrerT+ZwwBJ1dz+wxKD 6vjQ== 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=tVVuLa+zaRcSghcEDTvfndqPskI8FPGli2Ph03OqvG0=; b=K6fk1b6+cmuF2Y8KeZ5a3T+Mtn2OIbX94+iprqB6F1lvS4rZ3r/KkuOW0poOEpoFuf vUTRcTBKYo9XAVedE9bvu2U9S8ToLnJKSB6NHsPRK3Ijb/5y8wL6Y9KxR2tfbqGfAehA xw6CBijSC4/GoYZnoGxhwzASfL711wh5F1rsoBltHpH7GW6ocNcV2pPWxHjZ46ijNgTu 2BlM9X0BRNiLO5uWPGTXStcaCh/CkP6yCdBezTyWBHUr64MzEch6FBfh4bbtJtznGLC6 GA1Tvf9/7IWEFHv6twOTrwM4jKhb9+HVbCGCEEVf2t+eC61QYGC0Kxc3PGHHKcKf+XvG XFBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="afKK/ohA"; 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 cp11-20020a056a00348b00b0051bbc660065si10287633pfb.328.2022.06.21.13.47.13; Tue, 21 Jun 2022 13:47:43 -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="afKK/ohA"; 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 S1353380AbiFUUk0 (ORCPT + 99 others); Tue, 21 Jun 2022 16:40:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352338AbiFUUkZ (ORCPT ); Tue, 21 Jun 2022 16:40:25 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE13C1B7AD for ; Tue, 21 Jun 2022 13:40:23 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id g4so11947042lfv.9 for ; Tue, 21 Jun 2022 13:40:23 -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=tVVuLa+zaRcSghcEDTvfndqPskI8FPGli2Ph03OqvG0=; b=afKK/ohAKZLA+7HynYqlEM+FZ6W99ZCAHNLeNCQoycmHqQY0diHjVcxTf/yGBIQ9Nd 4rY3s6MjgQnG/8Rsi8sMXPdINimen+fMVoJ2IjSfO5LUmqJRV6ZsC/O1Ewgv8LvTZYn4 LHdXZRk+jj6s6fY+PzbVTQqsB9wuCHF/HpBNroPO4eg8PMaQgxUJGy3XfPpQXfZWRbEa jMnRdTwxq1WQvjxkbaH3yjGvjUj7BIg1wNo1To3BAZ3T7/JTqWamAjrwFun535Wa7OKr G5/z+3kO8gQabWSbJkrrlApSW6RizFm3JWc5mXD3z7b87jrX/DuvSzHwrzI3o3EYvUM7 KIUQ== 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=tVVuLa+zaRcSghcEDTvfndqPskI8FPGli2Ph03OqvG0=; b=tZoghVsBFgzaz0qaMnf8OhWy76EA80r1kFBG0vUVEHr9QaNfSUIsk/gUyUC8TcmOKk X/hXyDpHed8TxNekXE4wdWIkI+hT19L7SQCrmL9Eogd450DfbU9HUncOiMm086Uu0kkf FxYTouS3FPuHoOs/NxwZaUwuC9Z3cFrqZO1MgvLOXCEIeVNH91p6x6ED4I5NVxohWtUV f9Ix5toQkmqU2gzUPtaoHZBm/eTcW6obkkoUFi0MQzo+Jgvmm4W6R+aZ+eyG5oklWHKI utC0UiV1iJoIaSHGnqefdmNAeRd74NjRNRuyu7UG360Pza9fPlNwJ8bo9H4L7DmbUR55 +yHA== X-Gm-Message-State: AJIora94t60i6wrbkXBxpk+4sKDykSUXfyy15r3o4ch+bYYpjsVeB92Z qWcBIgC9JLabDz5DPZqWa8D92XIP37erciqauGM= X-Received: by 2002:a05:6512:3ca4:b0:47f:6e53:fb4 with SMTP id h36-20020a0565123ca400b0047f6e530fb4mr39178lfv.57.1655844022048; Tue, 21 Jun 2022 13:40:22 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Luiz Augusto von Dentz Date: Tue, 21 Jun 2022 13:40:10 -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 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 an= ything back. It regards a GATT device that connects and operates correctly= . The issue is when we call the Adapter1.RemoveDevice method for this devi= ce. Some times the device is removed completely, and everything works fine= . Some times it fails and bluetoothd becomes unusable. Even when I shutdo= wn and restart bluetoothd it doesn't operate correctly when restarting. Th= e difference is that when it works, at the end of the removal process, it r= econnects the device, tries to recreate the device, then removes it. All i= nternally. When things fail, those steps don't happen. I've posted before= the salient part of the Bluetooth log. The only thing that will make blue= toothd function correctly is to shut it down, remove all of the similar GAT= T devices, then restart bluetoothd. > > I have yet to hear if anyone has -any- idea regarding this, not even to t= ell me it's not something that needs to be looked at. It is something that= renders bluetoothd unusable, so I would think that it is something that mi= ght be interesting to look into. > > If anyone has any ideas where to look, or what might be going on, I'd lov= e to hear from you Do you have any logs? Also what version is this happening, perhaps you are missing some fixes like: https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=3D5ebc2b5a3e4= 8dbe67a2d315979b096a1b4d1eb99 > > Tom Green --=20 Luiz Augusto von Dentz