From patchwork Fri Sep 13 09:46:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: You-Sheng Yang X-Patchwork-Id: 1985090 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4X4qGX4gTnz1y1y for ; Fri, 13 Sep 2024 19:47:16 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1sp2tQ-00036J-Ed; Fri, 13 Sep 2024 09:47:08 +0000 Received: from mail-pg1-f179.google.com ([209.85.215.179]) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1sp2tO-00035u-0Z for kernel-team@lists.ubuntu.com; Fri, 13 Sep 2024 09:47:06 +0000 Received: by mail-pg1-f179.google.com with SMTP id 41be03b00d2f7-7d4f9e39c55so1415311a12.2 for ; Fri, 13 Sep 2024 02:47:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726220823; x=1726825623; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=V0c/pCY+3ftZrhvF3YO+nLuwLzHNQX7pUgMTqL00BHQ=; b=MxHedCVoeQaJPJCsWXy7Ct6bxesZpj1mWprKw99FZeBtRATCzaAbI36gDmy/O9NDBB SBc3TgCQ4xX2+B29KhTYNmkt1vI44QLHT9206mxZ0zasjmMpg31vCwOPE8VEkdTR0o9T 2fx79TDrYkgGN3jgIl/VBGRz8zK2DkjocnjpTUX12/7Evm7Lu8YF7R6aKnboshqOx7y2 H/FcAQXS8uBJHxkK5xFt7LHW413lcRbxvjLui4MeUlZe5OpvBQDYeH+tz3vJ/hqBSqLf /J0zT6+mileYzuWdrkfDRWQBgY9WpETYnXNwVYmKMuQzCKbJRIryKgkRBWi6KPB47o9J eXqA== X-Gm-Message-State: AOJu0YyWH3Z/LlWaj3+tc+2GKyyi+ccP70P9fgMK/l5otuHu2uqxltPb TL7d67QDLo+209vAABhe2AD9Kxg0+FdMyVBVrzSexShxXLVXsq2X6+TfsQ== X-Google-Smtp-Source: AGHT+IGYD44HGISK9WYaPxMF9e3JrnhbjZ9Mw2oGAVsPL6Q34ym37OKD/Wy6AMITNLkG/vtva8+ykw== X-Received: by 2002:a05:6a21:7108:b0:1cf:539c:5712 with SMTP id adf61e73a8af0-1cf761f9867mr7887001637.38.1726220823156; Fri, 13 Sep 2024 02:47:03 -0700 (PDT) Received: from localhost.localdomain (125-229-129-140.hinet-ip.hinet.net. [125.229.129.140]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71908fed1d7sm5778451b3a.81.2024.09.13.02.47.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Sep 2024 02:47:02 -0700 (PDT) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [PATCH 0/1][Unstable][Oracular] Add Bluetooth device IDs for new Mediatek MT7920/MT7925 Date: Fri, 13 Sep 2024 17:46:13 +0800 Message-ID: <20240913094614.2161259-1-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.215.179; envelope-from=vicamo@gmail.com; helo=mail-pg1-f179.google.com X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/2078878 [Impact] Failed to enable Bluetooth adapter of MT7920/MT7925 models: ``` $ sudo dmesg|grep Bluetooth [ 2.706311] Bluetooth: Core ver 2.22 [ 2.706322] Bluetooth: HCI device and connection manager initialized [ 2.706325] Bluetooth: HCI socket layer initialized [ 2.706327] Bluetooth: L2CAP socket layer initialized [ 2.706329] Bluetooth: SCO socket layer initialized [ 4.962246] Bluetooth: hci0: Opcode 0x0c03 failed: -110 ``` [Fix] Patch in upstream review: https://patchwork.kernel.org/project/bluetooth/patch/20240604074100.572-1-jiande.lu@mediatek.com/ [Test Case] Expecting dmesg messages: ``` $ sudo dmesg|grep Blue [ 3.078949] Bluetooth: hci0: HW/SW Version: 0x008a008a, Build Time: 20240802111438 [ 5.879115] Bluetooth: hci0: Device setup in 2780230 usecs [ 5.879127] Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported. [ 5.945319] Bluetooth: hci0: AOSP extensions version v1.00 [ 5.945324] Bluetooth: hci0: AOSP quality report is supported ``` And btmgmt output: ``` $ btmgmt info Index list with 1 item hci0: Primary controller addr 3C:0A:F3:13:2A:68 version 11 manufacturer 70 class 0x001f00 supported settings: powered connectable fast-connectable discoverable bondable link-security ssp br/edr le advertising secure-conn debug-keys privacy configuration static-addr phy-configuration wide-band-speech cis-central cis-peripheral current settings: br/edr cis-central cis-peripheral name MTK MT7961 #1 short name hci0: Configuration options supported options: public-address missing options: ``` [Where problems could occur] New model. Expecting various stability issues. [Other Info] Nominating for linux-oem-6.11/noble, linux/oracular and linux-unstable/oracular. Jiande Lu (1): UBUNTU: SAUCE: Bluetooth: btusb: Add USB HW IDs for MT7920/MT7925 drivers/bluetooth/btusb.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)