Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp345114pxm; Tue, 22 Feb 2022 12:00:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJzN48Zb4e+4t5DZKhtF7ooBvygwkDlxFWdC4WKKNUkOMS2Fws9PJuCShgn6w8i8bBdgrsae X-Received: by 2002:a63:4c55:0:b0:36c:54eb:fc44 with SMTP id m21-20020a634c55000000b0036c54ebfc44mr20585194pgl.323.1645560023466; Tue, 22 Feb 2022 12:00:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645560023; cv=none; d=google.com; s=arc-20160816; b=DgpGpQOcriBCYdLTdp0yFZbF6GhfspF4lqMbxzaSgUohyQlN/xOKIvkEduD9u2YQ9q 3/b+ei4QznWzrWVUJbodzpYyXapdUfdETrLdo6zHay2MtrpLlHrX6njPHQu9zR4l7Kr5 1iV7cFWoW776Z8IY/BVDuE8pvdKvcWaaXkFzjHiYF9NS/UCdYUZitX7dCyNNuKWd/bxi +MgoXstdB/WonlmEwbVfV7g6iRdSie4EDpK6pWLl8PsHdie30fRaDdL/3z3/PuM+9+0y dgkzUv97Qqc9Xp2HeTQW4SfsgqlJNE0U11WiWfVeRwSXKpbWNyaUS+1HzRVXd5s+nxbW 1k8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=r9CKGbEAk88zvxC0Ml+jtVeOdq/JkI8Z9poWa1khDHA=; b=ITkZDLC10UEjTCgoBlCczvEi0myjdQ8URWzJGvHxUjjH8/fms0L5UdhJ+jqYaM0Ths aJ+mBs7Axr2CokiOORjJJq7BC0pRU7ii17Swk//KV5icy6P8/20t9N9X9cZ0pSz5Tysp 5Y9QK0icE+AsW6cNP+F3Egs8mTW0/6FFdEa6UXQhzsjJQWd3iOI3OTccqy9GzSxbuQol +XIFTnU1WwojIrbg4dIWWp7c3k1IRNTYN6aCKxH7huHriULCyq4sOjs/U72IykjRpW7C V/Yy8S6wMQPWzScKhiVN8X9AoXUFCW5w0AXfzpZAO4QxscShJ/wxsAXxPe5LI6Xs1FVi xYAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=DMMapXSW; 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 y34si2716253pfw.336.2022.02.22.11.59.57; Tue, 22 Feb 2022 12:00:23 -0800 (PST) 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=DMMapXSW; 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 S230341AbiBVSg1 (ORCPT + 99 others); Tue, 22 Feb 2022 13:36:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232707AbiBVSg0 (ORCPT ); Tue, 22 Feb 2022 13:36:26 -0500 Received: from mail-yw1-x112f.google.com (mail-yw1-x112f.google.com [IPv6:2607:f8b0:4864:20::112f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58AD48F63A for ; Tue, 22 Feb 2022 10:36:00 -0800 (PST) Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-2d6d0cb5da4so129879127b3.10 for ; Tue, 22 Feb 2022 10:36:00 -0800 (PST) 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; bh=r9CKGbEAk88zvxC0Ml+jtVeOdq/JkI8Z9poWa1khDHA=; b=DMMapXSWkq3f6OFNJmh6bYHyYQiUZG5JHOFx0SSmDf3FgEWOhDZOdmhQ6vcbm1m14/ VrJpSK578ITVF8nsa1uWghJbSo8bZRQsYHe3ygfAs23bTVevkcB6nZREDWuWCaSziYrI 1qylAZwUtk9oQP5+Zp60fNWXlcuqdI6noPHlW9GAcXAG03wF8K9pkFqLTpyWK0Ol1mF/ hrwakvcKErZnGUMEL9YRzkqGPK1ulMogYFjDEWm/nj28Kwkm/jlgBhXKP3micSDq8CEK fPeQ4srikwEQAOgE5RmTj6G3nwp7goZt9bqh2zuKrDLGgmCxKBRp8U2SDPc/uOwMs79A IoFA== 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; bh=r9CKGbEAk88zvxC0Ml+jtVeOdq/JkI8Z9poWa1khDHA=; b=d9psnjprdsrfe3XcreQ7EblEFoQ0ocYilc1DvLriTO4SbJfgFXzSpgMcRk1htMMiU7 vRzvJihQtYWbUCsJEc3pgk09IRvFu0+l9lYn6edgD9tDpv7NKmQqPRCRCBSIy2i4kIaD CVzjuPnIM+7NRqi2L3cDz/53ww3Bq351EvSxcguLrrXDrD1Ju7tMDG+hIfMvHCfJiYAv Ju+iz/iuwlZKWkPzYI0kwnJ49A5hy1MxZZ2L/carAFQmngYQiXtQn4InQpiY0qjmPijS PyjLk/2acqprzeoc0nA4Dsk4q7AlcrvKbozBzJOH0s43FuzsNxEn3HGuZZzfZ3QavLb2 HDHw== X-Gm-Message-State: AOAM530uDSnetecSyzFkJZlUfdisDWqJU7C90TSwy+klLmQ/iKzJbsIN vxPSTW5Gkl34pyF+GReBuv7NGDQf3bz3G3vSv5c= X-Received: by 2002:a0d:c781:0:b0:2d2:d059:19c1 with SMTP id j123-20020a0dc781000000b002d2d05919c1mr25484190ywd.376.1645554959561; Tue, 22 Feb 2022 10:35:59 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Luiz Augusto von Dentz Date: Tue, 22 Feb 2022 10:35:48 -0800 Message-ID: Subject: Re: Since commit e8907f76544ffe225ab95d70f7313267b1d0c76d bluetooth scanning stopped working on my system To: Maxim Levitsky Cc: Luiz Augusto von Dentz , Marcel Holtmann , "linux-bluetooth@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" 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 Maxim, On Mon, Feb 21, 2022 at 7:14 PM Maxim Levitsky wrote: > > Today I updated to a new kernel and I am bisecting few regressions: > > I noticed that if I open GNOME's bluetooth setting, it hangs for like minute or so, > and then shows only the paired devices and no scan results. > > I bisected this to this commit. > > For reference I am running fairly old fedora 32 on this machine, and thus I have > bluez 5.55 and stock GNOME from fedora 32. > > I can provide any more info on anything if required and/or test patches. > > I wasn't able tor revert this commit as it is part of a bigger rewrite of scanning > which makes sense. > > I tried merging bluetooth-next master as of today, > into my kernel but no noticeable improvement. Is there any error being reported in bluetoothd, does bluetoothctl have the same problem? It would be great if you could provide an HCI trace of the problem. -- Luiz Augusto von Dentz