Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1743441pxm; Thu, 24 Feb 2022 08:33:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJylr/QCN1ql5lnQiAFFaq+mZCub4t244IKfDVldpsPBLDuf2lTcuDKoBU8yiZRWgNzcPmMD X-Received: by 2002:a17:90b:1b45:b0:1bb:f956:4799 with SMTP id nv5-20020a17090b1b4500b001bbf9564799mr3571781pjb.132.1645720414150; Thu, 24 Feb 2022 08:33:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645720414; cv=none; d=google.com; s=arc-20160816; b=KJbNc+bVeOqC+U8c1J3cgKGVZk7haRCoRrrl5A3otLcz17RDkefhz2z9y5hQv3sc9i cWjIOWg5VOMz8EyKiEJ31kPJ3lF3SYzOvfFdbBkbx1SuSyMuBlYmiEnP9QLC3UUiawtl LjlS7Bqc7xK9yHq0VNx373HQR9Pzj9esTEM0BJ0BVlxT59AhHqNOySdrDcTbqnEM3+4O eULzoL2f0QhrCjQBh6TdgbouWg2gdQu8MbJOY7i3gNr8egOP2DvGHO0JogDzEKleXQxF gWHBQ1n/pk3uhfvl4Us/oWVvD4cdxtaCbZlaohAgK38J4iggylCMi0TbLGF1urcBPKaf BX6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=tL1/vDbdp4Y21LrkRgOwxweyPK7iQxDcYLu7GO3b2Nc=; b=WxARJw7RnxRiw/2OOyz3Fu582F/C3AHKF1Fg1Y9dX1N347Nq8QnDJvrtslJUkNZCar AIp8S552t4+KobcQPoJaG2JmOqA5uRTpIHvyI9HAkWhgy7oEZYpO+sdhowdewYLZfuZt P0OdHd3O7s1bI2gFn6YKGqAHzLqbgIA7Xi9dcdwZsJnuvq/Mia0CgHuXa36YNeEOFZfV uOFuqDhrI2zgwRyx1m0yQNBuxNFLnb3PZgf3l77R/uapcOib8T14hDsSwRbiPYa1MJc/ h7xqc/Lg5DuwPMHva/lihtYnD6Toq0pFQ9D5bNdUCsoHcDgJszLiZHs3GxdqYRA97nkt rp1g== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-bluetooth-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id s9si2935205pfu.100.2022.02.24.08.33.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 08:33:33 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-bluetooth-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-bluetooth-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D8DD81B98BA; Thu, 24 Feb 2022 08:17:44 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231805AbiBXPoG (ORCPT + 99 others); Thu, 24 Feb 2022 10:44:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232143AbiBXPoG (ORCPT ); Thu, 24 Feb 2022 10:44:06 -0500 Received: from mx1.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E51E1A39F8 for ; Thu, 24 Feb 2022 07:43:31 -0800 (PST) Received: from [192.168.0.2] (ip5f5aee05.dynamic.kabel-deutschland.de [95.90.238.5]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id D108A61EA193B; Thu, 24 Feb 2022 16:43:29 +0100 (CET) Message-ID: Date: Thu, 24 Feb 2022 16:43:29 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: Since commit e8907f76544ffe225ab95d70f7313267b1d0c76d bluetooth scanning stopped working on my system Content-Language: en-US To: Maxim Levitsky Cc: Luiz Augusto von Dentz , Luiz Augusto von Dentz , Marcel Holtmann , linux-bluetooth@vger.kernel.org References: <31367223b2e310521493b257244c188f3c22a619.camel@redhat.com> From: Paul Menzel In-Reply-To: <31367223b2e310521493b257244c188f3c22a619.camel@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Dear Maxim, Am 24.02.22 um 14:01 schrieb Maxim Levitsky: > On Tue, 2022-02-22 at 10:35 -0800, Luiz Augusto von Dentz wrote: >> 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 do notice that even on 5.16 kernel, I am not able to use the HSF > or whatever low quality bi-directional bluetooh protocol is called > for my headset. Used to work, I don't know what broke it, likely not > related to this. > > I also updated bluez to 5.6 by installing fedora 33 package, and > initially it seems to work, but after reboot, the issue shows up > again. Looks like sometimes the scan does work. So far I wasn't able > to make it work even once since then. Reloading btusb doesn't help. > Can't install newer package due to deps on glib sadly. I might be > able to compile it from source, but that will take some time to > figure out how the components of the bluez stack are connected > together. > > For the reference I have 'Intel Corp. AX200 Bluetooth' and I have > the same device on my AMD laptop and both have USB ID 8087:0029 My > AMD laptop has Fedora 34 though. Sorry, I lost track, if it’s still about one regression, you successfully bisected or not. Anyway, passing through the USB Bluetooth device to QEMU helped me [1], and might help you to overcome the dependency problems. (My steps actually worked, but turned out the Linux kernel commit I tested with had another regression not making the Bluetooth controller initialize.) Marcel also replied, he is using btproxy to debug issues, but I did not try it, as it wasn’t clear to me how to get it working easily, and he also wrote something about non-public patches. Kind regards, Paul [1]: https://lore.kernel.org/linux-bluetooth/5891f0d5-8d51-9da5-7663-718f301490b1@molgen.mpg.de/T/#u