From patchwork Mon Aug 26 20:29:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Burch X-Patchwork-Id: 13778388 Received: from BYAPR05CU005.outbound.protection.outlook.com (mail-westusazon11020113.outbound.protection.outlook.com [52.101.85.113]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CB363194AEF for ; Mon, 26 Aug 2024 20:29:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.85.113 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724704171; cv=fail; b=s13Hh4qUF269r8kUQJE3VFwqf76Jv3HouDSakl0UYVeHXfl0rf2+RZJRqUhDhdx61lWFEVr1/aNo6dXQRyQHJgKC35pl2pa/gXQ3A0stKcu3cpldU8eiTmWk3kqezwJmfFusWV0oLazqYPnRRiyKwWXBPiJoHZN6xyt9skpBhAE= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724704171; c=relaxed/simple; bh=86llNOXw/0jjkZ/5e26z9A6PW1jZuUsb5pU73hDXlYM=; h=From:To:CC:Subject:Date:Message-ID:Content-Type:MIME-Version; b=VoJTdALr4iASiZoAmGtzYNtHopdoS/wbw6yYWUFAneI6OcLoTb51kSyUaZQBi2pMQm8xJaefSuec5q8+BfoDDI/gUgqn7A2Kpp5f+nbWN6yAWOlXrg+asqUQrlC0x05WcfXspQeDHI0sKID8f+q52aQ7UmBp+mfAA/S7fUIfRDM= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=michaelburch.net; spf=pass smtp.mailfrom=michaelburch.net; dkim=pass (2048-bit key) header.d=michaelburch.net header.i=@michaelburch.net header.b=whlH1ljX; arc=fail smtp.client-ip=52.101.85.113 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=michaelburch.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=michaelburch.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=michaelburch.net header.i=@michaelburch.net header.b="whlH1ljX" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=lM4XruLKdskN4ZTG9PdUKlXlSDU+HP75P0uRjHBG1X4m0jTa9eyGYno1JLciegs270LVkwmbY2ceuq3DHMj5PXUVIdFSt0sFx910BfAVGzV5pi+5A+7ff4S2v3l+TI4OWDQMTiGqAqFBlzKFDfwRuY6w0808BjM9L+wIL9G7vAJxYLmB4ZtNP6llVcNVC9muDMyhaXVVh+Xq0XJzs28yQdQX7vWGwJp2GNWRB9nUxRHjpucVxVlpEkjSwFhQVxO7FEF94PNSCpauiHYeL+wRHSEGhkO5Ap57IY96QaavWSZIjpDUBjIL2PtBzHGcWAtbWRX/xwy4xcCC9s+Zbkdvqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=86llNOXw/0jjkZ/5e26z9A6PW1jZuUsb5pU73hDXlYM=; b=emfWw0UAVaKYRI04BSv+pli4mX2VBLBN4f3cgyO3Gj9GWcAyx+H4GuKVhBzLL5XXj4iJavm3dFYInsMAktwanluPHohApsyaW/y1xxzAOLs+r8oPXeLDeFcHVdRY3yi2H0fBCjCcxq9SupErkcCc3Uj48pOviywGCknQhlkCzwemLsjORA43Z6of0aMBqoTnB5zWcXkUjzh5mkalAfRLsJQG+yMDrtpun4zu8oBPYY9b4jav5sVxIORg0lPOTSTrDbDrxQk4vVZVgEbq6OWuSRmDAPLnHk4uA7eOov25ps+vWwB/HvEBY3dCLyJoKRjcDwT/aqcaZgD4JvBRkZvZLA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=michaelburch.net; dmarc=pass action=none header.from=michaelburch.net; dkim=pass header.d=michaelburch.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=michaelburch.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=86llNOXw/0jjkZ/5e26z9A6PW1jZuUsb5pU73hDXlYM=; b=whlH1ljXnSZ1LhV6acjo+oQXE/wJRCfc95Oubuj1CNr3F59+vJxft0t3KNYR+UPOhxXfvocGRRn4pz5L/pSm4KgeOElby9aDNK+yxvQb8xp1NtbBhWUBsOFF1iSYYridpSGLEeILTtDKGJ7DsO2t5UDRKxVZH52eMUqrrpbcOEvtVGXVRf0wVtLyJGbErLmKw3KHDT2R5bATQJgEHgcWtXczFxgnZ9+OFZti8Ywz/7kdLRXkaTo38W8mS0NGhddHAsF2dsXiGhR7eUsovjwK5L7Y4lFeMgRRyiLGObeNBdmHXPrm8YFTetepgHCfqQpjR0fDFtr+qGpXCthSgk1hgQ== Received: from SN6PR01MB5070.prod.exchangelabs.com (2603:10b6:805:b7::28) by CO1PR01MB6600.prod.exchangelabs.com (2603:10b6:303:da::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.24; Mon, 26 Aug 2024 20:29:26 +0000 Received: from SN6PR01MB5070.prod.exchangelabs.com ([fe80::8e42:e034:6306:aaf9]) by SN6PR01MB5070.prod.exchangelabs.com ([fe80::8e42:e034:6306:aaf9%5]) with mapi id 15.20.7875.019; Mon, 26 Aug 2024 20:29:25 +0000 From: Michael Burch To: "linux-bluetooth@vger.kernel.org" CC: Jiande Lu Subject: [PATCH v2] Bluetooth: btusb: Add USB HW IDs for MT7925 Thread-Topic: [PATCH v2] Bluetooth: btusb: Add USB HW IDs for MT7925 Thread-Index: AQHa9+lrBs4Ia4PG6U6baP7NeM49Ng== Date: Mon, 26 Aug 2024 20:29:25 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=michaelburch.net; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SN6PR01MB5070:EE_|CO1PR01MB6600:EE_ x-ms-office365-filtering-correlation-id: 4f63af9f-1022-495e-9339-08dcc60dc714 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|366016|1800799024|376014|38070700018; x-microsoft-antispam-message-info: =?iso-8859-1?q?ZLDRlkDHHBmDj2srMnxXcJdOZM?= =?iso-8859-1?q?/r9HodMgbroC+hyqckEdIVoVxUtsG/GGtKp0IafJNrL5Y0hk36oK379Whj/y?= =?iso-8859-1?q?uQiYghJu7VYR/CzhNpVRoiI8/IQz0tRwTgECukvjDWip42k8dG+VHduvnLcQ?= =?iso-8859-1?q?FBVQ/tkDkc/JRDJyAWJ7jU5DL/0sNnctuZjP61XlP+mafHQupdu51WdI9UWI?= =?iso-8859-1?q?eWTY8H/Ma9f5mHZteFRZr9vevEgKq5KjL+eV6js0rtRd79P3VWXMGNUKE98U?= =?iso-8859-1?q?VKK+BEwAX0yPcpyxr3py5bbHKh2hvC2lPviLSW+J3xYeWvTf0Ds/CBk0WRLa?= =?iso-8859-1?q?NgAVCQDCD5oAMHmZAww2w21bfMbyf9tHtP2Ki9GNUwTHeRUZOvkFMuaYUkKr?= =?iso-8859-1?q?HA2Kz+boEqtbOjeEdWvf41cvoTqjIQsYHoRYys3TXqKTkEyCkh9kQCB4hplB?= =?iso-8859-1?q?gegGekrbmhfuA74Hz5pcNJyQzlhRoShibasovUhtkNxYB+KKG3tLDFkznB/C?= =?iso-8859-1?q?stUzmc8Pf32o3j98AyzLT8Ig6NcaViFhE7ID8wUAtOoBO2U9RCpssLA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xkHoJLFPQxvpOilA=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SN6PR01MB5070.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(376014)(38070700018);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?q?BXfmaO1nUnngD2emBDHjwXt?= =?iso-8859-1?q?684cYn5s1OXpgDVLuDxVZhXzMgFUAkT+feTX+XsH2ABLvGQQ8dJ7YUPeRDwx?= =?iso-8859-1?q?HnvP6SLHPfS6QIfUSzATtaK70qnMUykVY2WZw3lrJDie+qMXOHwFhKoLCNxo?= =?iso-8859-1?q?5yt/1t0ZFgb4TgUN2u3yhVQzsKduyQhofav2M5GckWb3nHmL8wqpPR1+fpbw?= =?iso-8859-1?q?Dh4ga2Re/D2evJzoRuaQez0JBsSOp7rrCKOh/bdk4iK9Ev+gxfrlZceZR0+H?= =?iso-8859-1?q?cxBVN4vfB/9/9JBrGOOwloKGdNqW3/84XBTXfGBweAyaZaCANU7QlhD7u3dH?= =?iso-8859-1?q?7t04P2S/vojhG6C3VjxiWd1ICHJV4csdShjeo0cK53KbsXQ/XXWTTLsnjnQC?= =?iso-8859-1?q?hNgqiaWJM3xNfEMnudufO8wl2XIa3Osdsy8cdZ9Y+0q+tMg9FHPHdHRKTO4u?= =?iso-8859-1?q?q+jReZZ3tClUyduT23M4/nwJydbfngTLvahH0X3gQXcp8ypDI1JUhXvI+/SI?= =?iso-8859-1?q?5ZhqFHB1oZGkcs1FF3rUXhNmIwcFsyU5WG8vp/gBffHfuO+XBX39XFnE5PEB?= =?iso-8859-1?q?DAnVvpaSYUUv/B42cXo7WNul3NzeM86aSi8LaPXip/BY/hU3kYJdQ25/xfNT?= =?iso-8859-1?q?8nScZQpDADSWVj9Prnbbd1bvgAwXT/TDBPbYUMRfVsuJwZP7djOu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CBM1FvTYRE1BwhnGta0VBQgO8ey3YBR2Hg259tXAaP3oBZU8bAXEg6Zs=3D?= Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-OriginatorOrg: michaelburch.net X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN6PR01MB5070.prod.exchangelabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4f63af9f-1022-495e-9339-08dcc60dc714 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Aug 2024 20:29:25.6088 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8256b244-08e6-4df2-b146-877069d9ce10 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: fXoGaNTixFayjb1DPorhDLQ/sJiuK2/7lAFm9aPeeACairWBeUmY+P0ofk92nwehQkL6LcqR9/jLtZNVBcAQZA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR01MB6600 Add 2 USB HW IDs for MT7925 (0xe118/e) to ensure proper recognition. These HW IDs are extracted from Windows driver inf file https://dlcdnets.asus.com/pub/ASUS/nb/Image/Driver/Bluetooth/39389/Bluetooth_DCH_MediaTek_B_V1.1037.0.433Sub2_39389.exe?model=H7606WV Signed-off-by: Michael Burch --- drivers/bluetooth/btusb.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index 51d9d4532dda..d712f5acc338 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -690,6 +690,12 @@ static const struct usb_device_id quirks_table[] = {    { USB_DEVICE(0x0489, 0xe113), .driver_info = BTUSB_MEDIATEK |                             BTUSB_WIDEBAND_SPEECH |                             BTUSB_VALID_LE_STATES }, +   { USB_DEVICE(0x0489, 0xe118), .driver_info = BTUSB_MEDIATEK | +                            BTUSB_WIDEBAND_SPEECH | +                            BTUSB_VALID_LE_STATES }, +   { USB_DEVICE(0x0489, 0xe11e), .driver_info = BTUSB_MEDIATEK | +                            BTUSB_WIDEBAND_SPEECH | +                            BTUSB_VALID_LE_STATES },    { USB_DEVICE(0x13d3, 0x3602), .driver_info = BTUSB_MEDIATEK |                             BTUSB_WIDEBAND_SPEECH |                             BTUSB_VALID_LE_STATES },