Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp727633pxm; Fri, 25 Feb 2022 18:28:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJzsv48vmuUCiyeX3dVSN+7V/E9geE1u6T8wNHCrZ51tsqwnjPVccLhyxp3vwME3FIcBnBke X-Received: by 2002:a63:465b:0:b0:374:642c:ab62 with SMTP id v27-20020a63465b000000b00374642cab62mr8612012pgk.187.1645842524962; Fri, 25 Feb 2022 18:28:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645842524; cv=none; d=google.com; s=arc-20160816; b=PgIbJRkPmd3XKkLfiLLiaFzvcvrMPIKzr+zP1H3+iRD41Ec/YdhSZypskzgKlQBjtH Q2MxN5bAP109g0fNJG+pYYhvnB6NXREmYieClL1qGWlphYVC0TyDz5jKLC0kgIMC/DkG H6ygxu9ORKYR5053N9dbSp4L+9uCsn5TpvtLhB74ab0wP/fjDDLeQiJ9GOdvg6hihXES tMfxUEljqR+xiquk/qxJKPf+jQOyatJbfY8h0SSn3XsUV9M49mWaNQxgu+rrcgIN+4MS 9hMJ39dHoD9OZJI40wG5icpgc6EohLM9TV9nCnib0y1El7jin4CMhKRwF+N3o7u+kpxU OrdQ== 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=qjsMp7xX3ynS5KcguIDmZLn/ntTYnkqaOeDF7REL5dA=; b=NbDJmMl4JfmdQXBzQrI5OyeK6+hFFf8/ecjnV2u+iFWEXK3jeUUVl4teQt+qJmU1Aw 2cEOELBE7XkRKxEaL5hAd/YwLub0t8gflN4TKOClFXygklgyGYQR/sKEH8L5jMJnpD9G FcqQrrcIs/B3uDIMcCCNYiy6BFvlbvVdengk1RoempIgXASDFc8tkEcJnHjV6NUOkHax K90Usn8yiMtOadxC/1OHCWWBbfPdZvX6boZLJcTokMP1s/FRk6nBWhN2CjyTdaw2cB3D plC3KsR6PyLQ/fMokZl961UIUujniYnqDL1csh7rvFoC4EfmslVy+Lrm54QGQlSXzm3P kggw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=A2sFE6Em; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id 26-20020a17090a035a00b001bcc0775ba3si3450948pjf.119.2022.02.25.18.28.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Feb 2022 18:28:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=A2sFE6Em; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E32082DFFC7; Fri, 25 Feb 2022 17:56:27 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236906AbiBYW2J (ORCPT + 99 others); Fri, 25 Feb 2022 17:28:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235814AbiBYW2I (ORCPT ); Fri, 25 Feb 2022 17:28:08 -0500 Received: from mail-yb1-xb2e.google.com (mail-yb1-xb2e.google.com [IPv6:2607:f8b0:4864:20::b2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FF5256433 for ; Fri, 25 Feb 2022 14:27:34 -0800 (PST) Received: by mail-yb1-xb2e.google.com with SMTP id y189so8612115ybe.4 for ; Fri, 25 Feb 2022 14:27:34 -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:content-transfer-encoding; bh=qjsMp7xX3ynS5KcguIDmZLn/ntTYnkqaOeDF7REL5dA=; b=A2sFE6EmXvWJO2GAR4r6b0cc1TJATlcwe/jkDTL6KKfD7kWCXjBA0OJp+7VatR1IfQ 0gSzTMb++NOLKEzUj5IEIxYnc1al6d6BEQUdbdDTngZ9ekcYmpKtswG6JqFo9og9EUWi BX63Nc6MrWESYakzPKKN3WhpBB9mm8yxRw2e7dSEp2b/+sjpTxCVI9wFxaui1cypYqv4 EZFkYiyD3B0NFyeUnESI6CrR1dStT23+uH6EtLK/tbSVxEVWKPl9u7LgQpleNWiDNg6N VVe3tGyj4VvuAmV1ClyD4zF9xdpEql9eIgSVj3rMN1nLFORxpGsUF4J6aewYnr06CI/N 2YyA== 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=qjsMp7xX3ynS5KcguIDmZLn/ntTYnkqaOeDF7REL5dA=; b=o7U6/K9bDvwcdnIh5u3k4vcC7noOz6EORfGzXyMfajtqRXzE3UTGw5TLvr7p+hQIbF UhVf2Q+18wR8nji0FMaOOPiRJm2ijmG00pNeUSHGiIJxlYnM5ZUG/97QNAqPOPQLg0IN ofzYMDrRWwo/IkVsPLF7s6PpEZkKdTESra245QyWxO31jE2asDW6kxyZnT89miUFVHPc QoMDciC2khy/uUKOkQoHXdvMeIWswqBzbSdm91WKRrV9M5XzAQ7+v/3PzKNrTMV8eKqt XbMM0U2LtWg/Owuc8vUShFGzvaS6OLS2G1/yvXirOzAy6OMkGPdntGQVEIfxHv6V0QX4 IqSA== X-Gm-Message-State: AOAM533W6uRTgxCmKGoEXKYXPaC0v7C4nGaC4lIfJqDtWaxvhuZhEKiP RVsgbxwUCemito6NLpWiWygpOY28Uv5lOnMeVG4= X-Received: by 2002:a25:a467:0:b0:61e:1b4a:7700 with SMTP id f94-20020a25a467000000b0061e1b4a7700mr9398736ybi.390.1645828053174; Fri, 25 Feb 2022 14:27:33 -0800 (PST) MIME-Version: 1.0 References: <31367223b2e310521493b257244c188f3c22a619.camel@redhat.com> <0838aa454b7b127fab1b2a945180304088251b13.camel@redhat.com> In-Reply-To: <0838aa454b7b127fab1b2a945180304088251b13.camel@redhat.com> From: Luiz Augusto von Dentz Date: Fri, 25 Feb 2022 14:27:22 -0800 Message-ID: Subject: Re: Since commit e8907f76544ffe225ab95d70f7313267b1d0c76d bluetooth scanning stopped working on my system To: Maxim Levitsky Cc: Paul Menzel , Luiz Augusto von Dentz , Marcel Holtmann , "linux-bluetooth@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,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 Hi Maxim, On Thu, Feb 24, 2022 at 8:29 AM Maxim Levitsky wrote: > > On Thu, 2022-02-24 at 16:43 +0100, Paul Menzel wrote: > > 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: > > > > [=E2=80=A6] > > > > > 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=E2=80=99s still about one regression, you > > successfully bisected or not. > yes, I sucessfully bisected the regression. 1 commit before mentioned com= mit > the bluetooth works for me, and not after it, with same .config and every= thing else. > > > > > > 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.) > First thing I tried, but alas it worked for me in fedora 34 VM I tried to= test with > (with the same 5.17-rc5 kernel, albeet with different .config, more tailo= red for a VM). Give it a try with: https://patchwork.kernel.org/project/bluetooth/patch/20220224232950.56204-1= -brian.gix@intel.com/ Btw, are there any other users of the MGMT socket? Or it is just bluetoothd= ? > Best regards, > Maxim Levitsky > > > > > Marcel also replied, he is using btproxy to debug issues, but I did not > > try it, as it wasn=E2=80=99t 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-718f301= 490b1@molgen.mpg.de/T/#u > > > > --=20 Luiz Augusto von Dentz