Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1920488rdb; Tue, 3 Oct 2023 05:26:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGOAWnMQow6jPy7fvqyKhrzRq6MkGlLXd4C/4xvFSx7wxqNDzByGZNQki08erLvb8nSB2MO X-Received: by 2002:a05:6a20:42a4:b0:142:952d:3e61 with SMTP id o36-20020a056a2042a400b00142952d3e61mr17120941pzj.7.1696335970784; Tue, 03 Oct 2023 05:26:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696335970; cv=none; d=google.com; s=arc-20160816; b=VqHgXmsNiyjPLGFU3MwsycJfmKQBQN1OrU2Bl6nT1mxiad135Pvk0evlY5n1YKeatW DHkJyGUOehEh3VLoFHChOctRUdUQq35lCJSY0ZaHveYlXuuDhhf0gkgr5pNlNh3LY/Lq SWtcEnczm6qd0rKeZnWWTAryszGrwsF/JqJWfURrEe4eaf9CPu6QH709GH99EMjYlbhk ax7ICABUCT8kIAwuKbF28ni7B+r9Z6VXR7rDPZwtxlVGutKHD9HuIRhTkOCKWu/NwuJB 9IuBRVYIn/5mNUbXyJ4UV8aMbizw/fq+U8hPqXCkHHe9Ww93Upo96jdiDl3T4IPn1zG2 wBPQ== 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=LNO5GJBfVgDppnnjLs8Ey/aGvi+SY8q8n/RPtqg6Lb0=; fh=nujiCgOY1syR880pTx1RKbwvaGCxTj9Sd6Rh3iD61SA=; b=gA36Pd6LTVKytlYRY+oZAnXMeMLXg7oE6SQ0IsZ+HSeKfgIIFyUJihUzqOs7PyeR8g hVzOcxDwNVrRaROqNupEN6/g/gKOYF6EBuffCPPUFXWvSuMk4bgNXU4TWWV5Yb0RS/4J Q66/QL/8dIH1Cx9oBq57+6ezdHooETWm3FVw+JHiu77p7C0iAle08OeF3ImnEbZgZb+q 3nPiIs3zfzYUDh7K6LbjwPIZJ+SkYxBrAC8xWeItwxunedxny1AwbqjBTblqGivWIoXL NQn9pLGJtGew/9T8IopUw/1PC/tFTAgHjUC060r4w9TxxZ3OfiHQY2JLtQNCoEjQ2kLd XRyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=hsK9jHxm; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id f20-20020a056a00229400b00690208f26d7si1357741pfe.295.2023.10.03.05.26.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 05:26:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=hsK9jHxm; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::3:2 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 out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 8FA2480F9C98; Tue, 3 Oct 2023 05:26:03 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231820AbjJCM0D (ORCPT + 99 others); Tue, 3 Oct 2023 08:26:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231440AbjJCM0D (ORCPT ); Tue, 3 Oct 2023 08:26:03 -0400 Received: from mail-yb1-xb33.google.com (mail-yb1-xb33.google.com [IPv6:2607:f8b0:4864:20::b33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9686B8; Tue, 3 Oct 2023 05:25:58 -0700 (PDT) Received: by mail-yb1-xb33.google.com with SMTP id 3f1490d57ef6-d8162698f0dso917009276.0; Tue, 03 Oct 2023 05:25:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696335958; x=1696940758; darn=vger.kernel.org; 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=LNO5GJBfVgDppnnjLs8Ey/aGvi+SY8q8n/RPtqg6Lb0=; b=hsK9jHxmOtLJ2VlYpbe5A0BRGU/6RDLVwpPRxUb0G1oC85PnNiA52gzFW2ObtQVlQL iQ2zTKF6rKkpISQFpKJ+X4dUzNmD9iFsSO4F+c58xpvoj3jcfsprEDV+bNrfeGVsDB4s yC4iZbmASYhXgWa2L0fw1DtJFzInEJBb8SDldCwtT+2weRTfVuDou98lFk6OUYiF1Phk 5NkqUZE2W2rkVfrV6J37Sv/kdggOGseURs+SukdCAdTeyLXKhDDzHMS8EkhGrJ3acBhs zhWeFL11SZ/X4Pl/6ieo0fClJGLt3IzvHeOWOeJAdXbNpbkOUaZvOu26mYMjj6tk0COQ AZUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696335958; x=1696940758; 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=LNO5GJBfVgDppnnjLs8Ey/aGvi+SY8q8n/RPtqg6Lb0=; b=f+uOcryYhMYlLLC0HYOFWaCEY/jEsPMqwojaHDkpErDjlNufs/UIV937Z78TwvAeDK wz1WvxSX+ttvRaULy7Lod+BA4b+T15xcPbe2O3c2D6z0tCxwg6yZhnWT8t+vhtoNEonL FvFdxWu2fV6qwVug9n8yAgNUgIgdjW9IELcD16toWr6aWy//fLtKQRIihR3IVh8qf0DQ lwuk3OcRy+eRej2jNxWyxN9Czpl/i/uU+84XoRtyJbxwNb/u+QCdV1SeAqjDiLUrJDDl L4ffkfvI2gyB+QEq8rlilh1iziLxt9q3El2WBYuU+DndqnVOJW0VlpqtmClwo2p7Zl0w bqow== X-Gm-Message-State: AOJu0YzD3/8uxZCcJ1PwrmK5CYbRE+oS0N2//prvH1T+eOMnwIFzX2TW Hx7TWYLX4QLamVrDLBmDxWMnQYq5ICmPWC9tdiw= X-Received: by 2002:a05:6902:707:b0:d85:aa81:53f0 with SMTP id k7-20020a056902070700b00d85aa8153f0mr16641798ybt.4.1696335957740; Tue, 03 Oct 2023 05:25:57 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?Q?Erik_Dob=C3=A1k?= Date: Tue, 3 Oct 2023 14:25:46 +0200 Message-ID: Subject: Re: bluetooth issues since kernel 6.4 - not discovering other bt devices - /linux/drivers/bluetooth/btusb.c To: Bagas Sanjaya Cc: Linux Stable , Linux Bluetooth , Linux Kernel Mailing List , Linux ARM , Linux Mediatek , Linux Regressions , Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , Matthias Brugger , AngeloGioacchino Del Regno , =?UTF-8?Q?Tomasz_Mo=C5=84?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 03 Oct 2023 05:26:03 -0700 (PDT) On Tue, 3 Oct 2023 at 01:47, Bagas Sanjaya wrote: > > On Sun, Oct 01, 2023 at 07:47:54AM +0200, Erik Dob=C3=A1k wrote: > > Hello! > > > > I bought a new laptop fujitsu life book and everything is going fine > > on artix just the bt makes trouble: > > > > /var/log/error.log > > Sep 30 18:43:48 nexus bluetoothd[2266]: > > src/adapter.c:reset_adv_monitors_complete() Failed to reset Adv > > Monitors: Failed (0x03) > > Sep 30 18:43:48 nexus bluetoothd[2266]: Failed to clear UUIDs: Failed (= 0x03) > > Sep 30 18:43:48 nexus bluetoothd[2266]: Failed to add UUID: Failed (0x0= 3) > > Sep 30 18:43:48 nexus bluetoothd[2266]: Failed to add UUID: Failed (0x0= 3) > > > > i searched a bit the webs and found a new commit at kernel org that > > does do the trouble: > > https://bugs.archlinux.org/task/78980 > > > > follow the linkeys inside the commits there or read this one: > > > > ---------------before------------------------------------ > > /* interface numbers are hardcoded in the spec */ > > if (intf->cur_altsetting->desc.bInterfaceNumber !=3D 0) { > > if (!(id->driver_info & BTUSB_IFNUM_2)) > > return -ENODEV; > > if (intf->cur_altsetting->desc.bInterfaceNumber !=3D 2) > > return -ENODEV; > > } > > -----------after---------------------------------------------------- > > if ((id->driver_info & BTUSB_IFNUM_2) && > > (intf->cur_altsetting->desc.bInterfaceNumber !=3D 0) && > > (intf->cur_altsetting->desc.bInterfaceNumber !=3D 2)) > > return -ENODEV; > > -------------------------------------------------------- > > > > the dude just hooked up 3 conditions in a row with && where before it > > was 2 conditions in 1 condition. + the comment was removed. > > > > > > Try latest mainline first (currently v6.6-rc4). Because you have to > compile your own kernel, please refer to > Documentation/admin-guide/quickly-build-trimmed-linux.rst if you don't kn= ow how to do the compilation. > > Also, don't top-post when replying; reply inline with appropriate context > instead. > > Thanks. > > -- > An old man doll... just what I always wanted! - Clara Hi i booted now into linux-6.6-rc4 and the issue is still there. No bluetooth devices are discovered. with this device: Bus 001 Device 004: ID 04c5:1670 Fujitsu, Ltd Bluetooth R= adio E