Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp14413328rwb; Mon, 28 Nov 2022 00:06:31 -0800 (PST) X-Google-Smtp-Source: AA0mqf5Ki4DBtne3AZ/5JyTc0a1JaqwXUt1zr/b0n//Svf7WwOYYWqVhS2pDkmCcz1IgbyCyEDwZ X-Received: by 2002:a17:907:c20d:b0:7b8:882d:43fc with SMTP id ti13-20020a170907c20d00b007b8882d43fcmr25058304ejc.0.1669622790852; Mon, 28 Nov 2022 00:06:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669622790; cv=none; d=google.com; s=arc-20160816; b=cvQpjaqg9Kx/DC6rZEZPGrwJZdgKsF/CZrjaoJotCIZpUGSJ5RFdjdaF6SP7BydMBl /n3YFCTESEcIxyQjbvyr3fC/1jgQyuSgs9hgrPDVeeejzxC6x/GozQSdI9IoqJaKwqET MmlXf4NAIVpXvwilFQ4L3iKsWkbtZE7IptxtITG2PyK/Yqf0ksf9fmun8WmIcsRAaznM ZD1Ua4XCA1mzCUXv5Gpjz2dn3PU7p1r9YKluMo39wlfkosIKZbZPxcYlpq4CTyothI0+ lvDnjlF2h49o0qu3nR9LpMLCM3x9vbqLOkLUTRtCZ9Qa0PuxIruWYcwtlREcyG7f5Zlb kkRQ== 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 :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=TlJGd07YuRU9dcGN2JINT0OC0RtE1ROWr5AyItkonQA=; b=nv8WAiCGN3xMncEiVgvi0mGx/PZQ+W0Rm8WN+BQkug2jAu+icllc3539WYuySeLplP hoAd7W7qIfUL5iJ2F2/ev1Ve/xXZiihDnlx9KqalICEXwSJOZgaAN6BTPBc5SSkaz03V YyGBw/ig0TZ8yQzV456m8zOR3+SsCuUXxXRCnOfvxVgAB8aQl5wtfg9SmIGTRfre6nfu q/SmrZhX5ve4dhTOdUQ9uRUdosSB2bcJt9/Hey+PyztivldntSdTasaeiy/JvsoB3cOY 95wGeZgbZMUCXGANIwEhaGHdPOeZsimLPQwZra41ozMY/0M02YZIdGNtmnv3/oxEEonE D2qA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@canonical.com header.s=20210705 header.b=blmKYIqa; 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 a1-20020a50e701000000b0045bfaaab6d1si7566426edn.48.2022.11.28.00.05.55; Mon, 28 Nov 2022 00:06:30 -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=blmKYIqa; 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 S229548AbiK1Hux (ORCPT + 99 others); Mon, 28 Nov 2022 02:50:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229723AbiK1Huu (ORCPT ); Mon, 28 Nov 2022 02:50:50 -0500 Received: from smtp-relay-canonical-1.canonical.com (smtp-relay-canonical-1.canonical.com [185.125.188.121]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC93E15819; Sun, 27 Nov 2022 23:50:48 -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-1.canonical.com (Postfix) with ESMTPSA id E528041D13; Mon, 28 Nov 2022 07:50:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1669621847; bh=TlJGd07YuRU9dcGN2JINT0OC0RtE1ROWr5AyItkonQA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=blmKYIqatbd9ypklk/s2wL90byYbINqrXN3tOGvWUIU069lKnImNkSZ1s1xOmjm+a tCItppa028vjw7jRP+DPCFKJTQy1gm5IBzQ0XXjDrSbEmYXNmySl6aNVphH/X1QnH1 ojUMpuI3s433HJvPwey3I/wahqaGbnJSbYMRZyqvSy3m2kT8FGkxlryC6x+ImC9b73 dRV7hY1ODT/2WjiKDYb71E/BWKqolTecakrq/VM8JUk9z09I6Z+kUJODnI3GF6l4c8 4fE3Ma7vr1oAWbBu52OBY7GsxQ7W5GOw6zGFzoWKuZWCXql7vo4+zvVl4RBjq2HV2s 33VUwGjz+CAJg== 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 v2] Bluetooth: btusb: Add a new VID/PID 0489/e0f2 for MT7922 Date: Mon, 28 Nov 2022 15:49:57 +0800 Message-Id: <20221128074957.52551-1-andy.chi@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221128063000.41036-1-andy.chi@canonical.com> References: <20221128063000.41036-1-andy.chi@canonical.com> 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 --- Changes in v2: - Fix typo in the commit message title. --- 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