Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp14328101rwb; Sun, 27 Nov 2022 22:32:11 -0800 (PST) X-Google-Smtp-Source: AA0mqf4RqUBnrJkz67VX5XvT5nLoQjKtiEYBOOvkOAghAT9wPC309wfnu8hdT2dIDhiH78gx61oF X-Received: by 2002:a05:6402:1f03:b0:468:7be6:55e7 with SMTP id b3-20020a0564021f0300b004687be655e7mr45955612edb.345.1669617131059; Sun, 27 Nov 2022 22:32:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669617131; cv=none; d=google.com; s=arc-20160816; b=fy3yKaBmWPKkBZxej/fXLF/7UCgnrKgmnDHU8ngBvCBg4qA0Yfviz5YaREWeSZFRgT S5p5Bvo3FqUUyZTGJRi8TE/NRMs1rWnR97KxhsRYewKnZAMgbLJToOe6ziN06e0LqLbU fVYxxG2vtjP3i/0HSMQ5maRb7I/6MYy2qrOz2upw2d0eO6I0Y6XM/Gb11xD6Paj0TSb4 +1bUcbffMXsXRHs+HYX1mDURFh6x12Nvb9/uoEIbfEg6iTCt13FCg9vxJl+KdW5Z7WVu 5goZ8aSy63EjqUnpO+s3ceaXbOxRRSVJbqGduh0jkyx+mGFKooY1pHZ8CDRVksTM67Fz kvQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from:dkim-signature; bh=/ClLsVVEbrE/aLSFgAMV/K9WJEg7sLVIXdIJR6biA+o=; b=boiLK54yXwsOVUasOXD4ibIDW7GlAZiJ+kbfCzYBeX+AjE9deEZDebcHPQ5NV6Ascd BS4D2CclSa0h8393h81wCYCAlMrUK1ekYETeO/uqBzON/MZ7hPb/Nky8SnzvpmtNa07u f315XGH3K7G2h2JTc/p7LzmF1uoLswiUbzi3Q1UDPKnqq5a5qBCxkOMgHSZXp+Clg2eU /aXw2yGeAmXm0tTznbrIhM3cYU6ZfSSTgRxPuVjW9rR8cfTkcH+fBoGvniYpouHNZnSk 3l3hWYJJ2PoUeeavGFAoPQHSdwNX4TcifMbbiMGhgxrFyO1L9rgkKfLW31aYCQXWwVJy j7YQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@canonical.com header.s=20210705 header.b="RTEfPKL/"; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n28-20020a50935c000000b0045961c7dde9si9556823eda.63.2022.11.27.22.31.33; Sun, 27 Nov 2022 22:32:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@canonical.com header.s=20210705 header.b="RTEfPKL/"; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229669AbiK1GbA (ORCPT + 99 others); Mon, 28 Nov 2022 01:31:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229621AbiK1Ga7 (ORCPT ); Mon, 28 Nov 2022 01:30:59 -0500 Received: from smtp-relay-canonical-0.canonical.com (smtp-relay-canonical-0.canonical.com [185.125.188.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A42A413DD7; Sun, 27 Nov 2022 22:30:58 -0800 (PST) Received: from localhost.localdomain (unknown [10.101.197.31]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPSA id 213BD3F1E1; Mon, 28 Nov 2022 06:30:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1669617057; bh=/ClLsVVEbrE/aLSFgAMV/K9WJEg7sLVIXdIJR6biA+o=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=RTEfPKL/l9TDWGJAUkyPgwsE/vDH95Hfyx1fAHPiG8V4P47id5TBTCe7wQUb90EkS FUzkS4QydJZ/US+pGdfU/610gXF57LLnEmv9I03iYjyQQP9mgItPvZoKIjnrar5pKP tAuVlf1RbX4VPndzHpVlaFx03I3bFRrvFiw5Nzgid57x8W6SMWS4WveS+v2lkSiFt6 pPRPUWjRuxxUnH6hAcq/xCZcn2Z1SSTXSEtX0UYgMwxxHAL9BR9fFtKpOU7kAHM0r6 TsxvMVArtGxzl/vNRLhNq45950AJckbekPeDr6xxOdzRAEcLU2R5oQfbHdjCj4xdU5 SpvoIUyvxWCjA== From: Andy Chi Cc: andy.chi@canonical.com, Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] Bluteooth: btusb: Add a new VID/PID 0489/e0f2 for MT7922 Date: Mon, 28 Nov 2022 14:30:00 +0800 Message-Id: <20221128063000.41036-1-andy.chi@canonical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Add VID/PID 0489/e0f2 for MediaTek MT7922 Bluetooth chip. Found and tested with HP ProBook. From /sys/kernel/debug/usb/devices: T: Bus=03 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 2 Spd=480 MxCh= 0 D: Ver= 2.10 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=0489 ProdID=e0f2 Rev= 1.00 S: Manufacturer=MediaTek Inc. S: Product=Wireless_Device S: SerialNumber=000000000 C:* #Ifs= 3 Cfg#= 1 Atr=e0 MxPwr=100mA A: FirstIf#= 0 IfCount= 3 Cls=e0(wlcon) Sub=01 Prot=01 I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=125us E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms I: If#= 1 Alt= 6 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=83(I) Atr=01(Isoc) MxPS= 63 Ivl=1ms E: Ad=03(O) Atr=01(Isoc) MxPS= 63 Ivl=1ms I:* If#= 2 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=(none) E: Ad=8a(I) Atr=03(Int.) MxPS= 64 Ivl=125us E: Ad=0a(O) Atr=03(Int.) MxPS= 64 Ivl=125us I: If#= 2 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=(none) E: Ad=8a(I) Atr=03(Int.) MxPS= 512 Ivl=125us E: Ad=0a(O) Atr=03(Int.) MxPS= 512 Ivl=125us Signed-off-by: Andy Chi --- drivers/bluetooth/btusb.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index e7914783d29e..0ce209948621 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -596,6 +596,9 @@ static const struct usb_device_id blacklist_table[] = { { USB_DEVICE(0x0489, 0xe0e2), .driver_info = BTUSB_MEDIATEK | BTUSB_WIDEBAND_SPEECH | BTUSB_VALID_LE_STATES }, + { USB_DEVICE(0x0489, 0xe0f2), .driver_info = BTUSB_MEDIATEK | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, /* Additional Realtek 8723AE Bluetooth devices */ { USB_DEVICE(0x0930, 0x021d), .driver_info = BTUSB_REALTEK }, -- 2.34.1