Received: by 2002:a05:7412:bc1a:b0:d7:7d3a:4fe2 with SMTP id ki26csp398370rdb; Sat, 19 Aug 2023 06:17:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE/e3jVPVikIRAFM8EkdnWyATC6U92Qm+xDRyaHKN+uIeDK63G1NHWjWmide2DLqeoZiane X-Received: by 2002:a17:90a:db0c:b0:268:93d:b936 with SMTP id g12-20020a17090adb0c00b00268093db936mr1031489pjv.18.1692451071560; Sat, 19 Aug 2023 06:17:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692451071; cv=none; d=google.com; s=arc-20160816; b=GkJG2DI1Kq64rnRAeTQ1laK9aKD6VUVMAPzKq/Ao+yUxuHPBziLXxsNQckBo5Ifu+c GscsaDEPRHdeZQ2xt6zF0M0cjbcYO3PX8Ls+kLpcAT1nRw0s3b4KWAV/ODzmVWjfIxF5 AN83figq9hfjehlg1bq60/fLTQ2as2aVDedDBIvRDMXwjJ+HiAgfjWbTRBu1MlQSizPM fyh68QHm7psH7rnL8Yyehju/poVlVHzfgd1Jeg1o18AfSu07VIYCEAmcFp/mHA+RqZO9 tRV/8+eUFvfPGR3xgT44TBUeamJJ7/aAdru9keBDycg96gaUcOpc4YZrsPXKtibdUagF DfQQ== 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=auCKH77GUmHtR8IapPBb8g4UiN/2zl1VUIFKJbzQ/kI=; fh=Po+xW8gaW9T22kWh149fvA7WvSXt9IPvqmkPRYMwS5E=; b=QupwjzgvakS1jTbITU4n6+ruhpMSeVXen2sGZ7A68q/luuPLbuA+kjR9MlpYuKdG7H IC2SNMPZkas4jUSyXBnihrAdqyqnQt9zGOteEfdE2UrP+3EJ4I+FYidIHcnCVXtqmvM4 LK1QPps4KzS5tw5XOEo2YAIlBZ75yWqk1/FoieMxPpGMJwC5sxE0xHAAyNk1kREqhD3n BSgY1jMUCBVKIqh9rlF/dyl+K2d2/jJbcp2GfxlBLHGIj4xTmZ/Eth3t309V3YA/n6Sr 4KVGn3yTaIz3iV1twqz/B8heq7MDOK/pbubkNpD1p18dzl63PgbHSsANyNVnB4bLjVWL PnfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=MKa6VDrj; 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 42-20020a17090a09ad00b0026cefd1bb13si5325290pjo.0.2023.08.19.06.17.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Aug 2023 06:17:51 -0700 (PDT) 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=20221208 header.b=MKa6VDrj; 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 902CB9DEF8; Sat, 19 Aug 2023 01:40:06 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231390AbjHNXif (ORCPT + 99 others); Mon, 14 Aug 2023 19:38:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232766AbjHNXiZ (ORCPT ); Mon, 14 Aug 2023 19:38:25 -0400 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C06C10C1 for ; Mon, 14 Aug 2023 16:38:24 -0700 (PDT) Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2b9b9f0387dso72460031fa.0 for ; Mon, 14 Aug 2023 16:38:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692056303; x=1692661103; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=auCKH77GUmHtR8IapPBb8g4UiN/2zl1VUIFKJbzQ/kI=; b=MKa6VDrja44w1LXj9J8jTSnXHE4lZXxJmJ832PLK492VGubJFyyH2medBsAcmF7Z+r wMzRbjFr30iwnHvFoM10/q8CfuIu7iI4PC5DRWJt1QwXNrXa92/H90zt5J0LheUMYMnP iwAAypdFF8rGILc2Gt5crqCuQyokzAqQziUDoex20leBimA62FIbjfLq2Kp6TC47mUgW PTXhF8UpP9NyMsYkvsXoHDahESTicpPBviiMD79huk3dn2ryjxPsSKAMLMGubk5VzNvM fjwmw2XTgTNXqXoZM+eLDPZg7yNDQwFbTTzIndTOpDLzC4wZktAkpveoaN5It2Ien3kZ 5Zsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692056303; x=1692661103; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=auCKH77GUmHtR8IapPBb8g4UiN/2zl1VUIFKJbzQ/kI=; b=PKH9VdN2ggTC074udsv7Hueu3Yr0mdF6SRkHOiHuqwZa70YXieCfBi2CjtnktSnSMo 4fCXPES5Smui+cZt7LBnoPEZogA543/1/HYqQVqXUUxASiB1/A+0qUrDXnGmNlHLTSGA OJAsKW5dSVmm4x5zTJ0lhEWkv0YLsTc+XWtHSmLYPiyQN+KhYGWVFcgybeh+gTUI2ahp CFcaSTUB9FqJ/3vmDOy+hOqqcQ019OHDUYePEPgpkJivA/IKSe31d8rWUS2Z7O+/W+PV T2J5DioxaRMVxsiu/+MdLFr9KSzij6tSzfZoqyyZjLRYxw8oCY5d1OFLWhmDyVW/aSfB EZfg== X-Gm-Message-State: AOJu0YzJ18BQSpiykQE8ci5OlFFjS9lEjKJipYfDMEAI2fpv3hTuxRAi 19XlcgkWl3UXPQnyCAYf843ckvM/z0T1EyKNVyg= X-Received: by 2002:a2e:925a:0:b0:2b9:f13b:6139 with SMTP id v26-20020a2e925a000000b002b9f13b6139mr8189721ljg.20.1692056302570; Mon, 14 Aug 2023 16:38:22 -0700 (PDT) MIME-Version: 1.0 References: <2300626.ElGaqSPkdT@bruno-beit> <5706628.DvuYhMxLoT@bruno-beit> <13020832.2lBWEU9m2C@bruno-beit> In-Reply-To: From: Luiz Augusto von Dentz Date: Mon, 14 Aug 2023 16:38:10 -0700 Message-ID: Subject: Re: regression: kernel 6.4.x breaks scanning/pairing (but not use) of LE devices To: Bruno Pitrus Cc: Paul Menzel , "linux-bluetooth@vger.kernel.org" , "regressions@lists.linux.dev" , Takashi Iwai , Luiz Augusto von Dentz 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 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 Bruno, On Mon, Aug 14, 2023 at 1:21=E2=80=AFPM Luiz Augusto von Dentz wrote: > > Hi Bruno, > > On Mon, Aug 14, 2023 at 3:00=E2=80=AFAM Bruno Pitrus wrote: > > > > Dnia pi=C4=85tek, 11 sierpnia 2023 19:11:50 CEST Luiz Augusto von Dentz= pisze: > > > Hi Bruno, > > > > > > On Fri, Aug 11, 2023 at 4:25=E2=80=AFAM Bruno Pitrus wrote: > > > > > > > > Dnia sobota, 5 sierpnia 2023 09:31:08 CEST Paul Menzel pisze: > > > > > [Cc: +regressions@] > > > > > > > > > > #regzbot introduced v6.3.9..v6.4.2 > > > > > > > > > > Dear Bruno, > > > > > > > > > > > > > > > Thank you for your report. > > > > > > > > > > Am 04.08.23 um 20:55 schrieb Bruno Pitrus: > > > > > > I am using openSUSE Tumbleweed on a Dell Precision 3551 which h= as a > > > > > > bluetooth adapter of ID 8087:0026 (Intel AX201). I am using a > > > > > > Logitech M575 trackball mouse which only supports Bluetooth LE. > > > > > > > > > > > > With kernel 6.4.2 or newer, scanning for devices =E2=80=94 usin= g either the > > > > > > KDE gui or bluetoothctl =E2=80=94 most of the time returns only= =E2=80=9Cclassic > > > > > > bluetooth=E2=80=9D devices like computers and phones, and not t= he mouse. If > > > > > > the mouse was paired before, it works correctly however. > > > > > > > > > > > > With previous kernel versions (6.3.9 and before), pairing the m= ouse > > > > > > worked correctly. > > > > > > > > > > Are you able to bisect the regression? Please also attach the Lin= ux > > > > > messages. (You can also create a ticket in the Linux kernel Bugzi= lla [1] > > > > > and attach everything there.) > > > > > > > > > > > > > > > Kind regards, > > > > > > > > > > Paul > > > > > > > > > > > > > > > [1]: https://bugzilla.kernel.org/ > > > > > > > > > > > > > The offending commit is https://github.com/SUSE/kernel/commit/288c9= 0224eec55d13e786844b7954ef060752089 : > > > > > > > > > Bluetooth: Enable all supported LE PHY by default > > > > > This enables 2M and Coded PHY by default if they are marked as su= pported > > > > > in the LE features bits. > > > > > > > > > > Signed-off-by: Luiz Augusto von Dentz > > > > > > Do you have the btmon/HCI traces showing this, we also need the > > > firmware version as well since I suspect this is due to the controlle= r > > > setting the PHYs as supported but being unable to to use them > > > properly. > > > > > > > > hciconfig says the below: (I assume =E2=80=9CRevision=E2=80=9D is the f= irmware version) > > You can find the firmware information on dmesg, e.g: > > [ 7.982585] Bluetooth: hci1: Found Intel DDC parameters: intel/ibt-20-= 1-3.ddc > [ 7.984113] Bluetooth: hci1: Applying Intel DDC parameters completed > [ 7.985111] Bluetooth: hci1: Firmware revision 0.3 build 144 week 11 2= 023 > > > hci0: Type: Primary Bus: USB > > BD Address: F0:9E:4A:E6:62:15 ACL MTU: 1021:4 SCO MTU: 96:6 > > UP RUNNING > > RX bytes:150050 acl:8114 sco:0 events:270 errors:0 > > TX bytes:5970 acl:69 sco:0 commands:173 errors:0 > > Features: 0xbf 0xfe 0x0f 0xfe 0xdb 0xff 0x7b 0x87 > > Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 > > Link policy: RSWITCH SNIFF > > Link mode: PERIPHERAL ACCEPT > > Name: '[REDACTED]' > > Class: 0x6c010c > > Service Classes: Rendering, Capturing, Audio, Telephony > > Device Class: Computer, Laptop > > HCI Version: 5.2 (0xb) Revision: 0x20ce > > LMP Version: 5.2 (0xb) Subversion: 0x20ce > > Manufacturer: Intel Corp. (2) > > > > I'm unsure how to attach the btmon output as it is a binary file that c= ontains potentially private information (names of nearby devices) > > Well you can collect it manually and redacted the addresses, etc, up > to you, I'm usually not that paranoid of sharing this kind of > information if you scan for a short time, in the other hand I usually > use gist.github.com to do that so I can delete it later if needed. Seems to be working fine here (with AX201 and AX210): https://gist.github.com/Vudentz/d80ab63f4f62f9f216796edb4838c855 > > > > > -- > Luiz Augusto von Dentz --=20 Luiz Augusto von Dentz