From patchwork Fri Sep 27 04:56:00 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: 1990089 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 4XFJ900qK2z1xtG for ; Fri, 27 Sep 2024 14:56:51 +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 1su31x-0004oL-0N; Fri, 27 Sep 2024 04:56:37 +0000 Received: from mail-pl1-f180.google.com ([209.85.214.180]) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1su31v-0004oB-Mr for kernel-team@lists.ubuntu.com; Fri, 27 Sep 2024 04:56:35 +0000 Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-20b01da232aso12922655ad.1 for ; Thu, 26 Sep 2024 21:56:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727412993; x=1728017793; 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=A5hFuiME0PH4+yQXPOn4bYPw7fVn6QdjqOA7OjBbd7U=; b=WzDRAy1KBp7klM3mM6l86PHT9khrv59Kd+We05Z2GSTMCQiPs7bEq8z3+aJv6APa7x OqKHZQhnuopNberxOdNFnupFlCVX0b7Egj/O4V7dlKF2rCX8oMuDOkx8RJpjdEHru348 g0TGK4YunlWHEdNMIsXgd/PwzmI5rbL4uLcEnqbGj77rAdNwH04xXUKcOZZZOEeyBQfW ibvp8ImByHMtdH7U9uL3Z2cDYEhnN46GExYURE9EDOXxCDw39mXEcUa7syWZMZXQtKDx kwBZUuw2q6vawzE4pz/c3PAadz3blYVRVTpfzMoS7rJSHxZDVYBbMysRt6/5TtXiIMR0 8hWw== X-Gm-Message-State: AOJu0YybJj+LRsIb85Ki2NMKY4yJ10X3Duh6UtDhcXCmkkTrqfYhm3/n epxx+a+DgWSezOCE39gtYOagHxD5oE1T3vF+KsRRAgSZqnZwQCqFSQ8OFQ== X-Google-Smtp-Source: AGHT+IGOxuJ0ToS6p6PL8XisluLUDQFBFRMeZnOEFr327T6iLlwfPhL+D2ba4dJln6dfbZy5U6v0Eg== X-Received: by 2002:a17:902:c402:b0:207:1845:bc48 with SMTP id d9443c01a7336-20b366bbcf9mr26100565ad.30.1727412993365; Thu, 26 Sep 2024 21:56:33 -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 d9443c01a7336-20b37da2380sm6054235ad.92.2024.09.26.21.56.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Sep 2024 21:56:32 -0700 (PDT) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [PATCH 0/1][SRU][Unstable][Oracular] Support Qualcomm WCN7851 Dual Bluetooth Adapter 0489:E0F3 Date: Fri, 27 Sep 2024 12:56:00 +0800 Message-ID: <20240927045601.1816638-1-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.214.180; envelope-from=vicamo@gmail.com; helo=mail-pl1-f180.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/2081796 [Impact] A new Qualcomm WCN7851 variant is not currently supported. [Fix] Proposed fix: https://lore.kernel.org/linux-bluetooth/20240920-btusb_add_id-v1-1-8c488ccf83ae@quicinc.com/T/#u [Test Case] dmesg output at boot: ``` Bluetooth: hci0: using rampatch file: qca/rampatch_usb_00190200.bin Bluetooth: hci0: QCA: patch rome 0x190200 build 0x5656, firmware rome 0x190200 build 0x43fb Bluetooth: hci0: using NVM file: qca/nvm_usb_00190200.bin Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported. ``` ``` $ btmgmt info Index list with 1 item hci0: Primary controller addr AA:BB:CC:DD:EE:FF version 12 manufacturer 29 class 0x6c0104 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: powered ssp br/edr le secure-conn cis-central cis-peripheral name localhost short name hci0: Configuration options supported options: public-address missing options: ``` [Where problems could occur] The dmesg has: ``` Bluetooth: hci0: Bad flag given (0x1) vs supported (0x0) Bluetooth: hci0: Bad flag given (0x1) vs supported (0x0) ``` That's HCI_CONN_FLAG_REMOTE_WAKEUP, which is set when the device supports waking up. So somehow the driver code conflicts with the flags returned from the device firmware, meaning there might be still something wrong even we have the right driver being loaded. It's unrelated to this patch and is still being sorting out separately. [Other Info] Nominate for linux/oracular, linux-oem-6.11/noble, linux-unstable only. Zijun Hu (1): UBUNTU: SAUCE: Bluetooth: btusb: Add one more ID 0x0489:0xe0f3 for Qualcomm WCN785x drivers/bluetooth/btusb.c | 3 +++ 1 file changed, 3 insertions(+)