From patchwork Wed Nov 30 09:16:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gongwei Li X-Patchwork-Id: 629677 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 305B2C433FE for ; Wed, 30 Nov 2022 09:17:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232281AbiK3JRG (ORCPT ); Wed, 30 Nov 2022 04:17:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230311AbiK3JRF (ORCPT ); Wed, 30 Nov 2022 04:17:05 -0500 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01olkn2046.outbound.protection.outlook.com [40.92.107.46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A75202EF6E; Wed, 30 Nov 2022 01:17:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UUEKgvTNLoyWnzeYtHVqaOqZIGpRjOshdSjB1SHh1IJ9bDT6avPzN4ARigtCdEfKgMUsz80/wGvgnGk9+tXANxa1X2iJx6TeAPaBQZzP8tndhlmivJX4ywAoas9KACAu8/4WTeHcNY3w9vwo2vXhH8eCAiWaXUbTsbmbuEJl+in69kPWqYinMcrxlF7ZqgNdhguS2sUdSxzv8HTT8U0OULUX3o6zuf+TRUZ0zz2MMFLw1sqfNlx6OcBylQYfLrLANIA/ju/mC7fBP0kUct8XTWnSFz9dIj15++DZvkgs6f8aNfbBXEg8h1tKMyipND2k//C3KnqgqY6rjQefLQklUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=rWcd9Ua059X2Oerpl0e1v3/+gRFkW2jAP/4vsO35dO0=; b=QX1XWZ0zvFUfH2wJDmMhFhZbDZ3d1LvS7ctA0YPghF7T5H4hzsHuGNXI6bY9xlPY2YrGpkaX2ACGzM4Q6dgPC/wVIs969BigWpTpG94iNrAHEqkqmaabfFFgx7s9tmTi81afb1+hS1FNKRFcRFQ4QT5Eqg2/gJjnpxSQUVjfXpMAsPGt7/umEFd+5NLEkkpBXqGQ2JfHisgtxfOnLy6BsMIQUBJYV1K4r1A0rtsKmG3LZWIf+oBEzJLTkaGsjGA655l1+4l5aqnLlVlTeuWLQmkAVQq/Se5ue52bRkopgJqcvEUOV1zA2IiQ20GjZoiXOurJt8JMfUG095L1osVG+A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rWcd9Ua059X2Oerpl0e1v3/+gRFkW2jAP/4vsO35dO0=; b=J2aBFsRqu7BJRggWgpkmLpnJ//0/ef2Suo6dK0nOMKBC4odTHaZlC9ShGhO5yXRI4Z7i4ybYerPuK8cdCkSJt+N3XTPgqa7d1p9qwJ/jhXnJei4mSKxh1BK9i//1SH6yyCLsoY/CjK6MH5wx8dtRa4RCODQ0LIF3ipaLOm1nDtmIxE7KxtoZFtrPNYsNybkjrNvYorXWzGD2gXWIFN9xDdF+KqdKk9KI8clrKhnttq3YcwSxQpoPWVcyrZAIEcVMoSAV8cAJS1hh+WY0v2d6fzW7V0LSJvgKVSOxbD9XhXdTfV+VTM0YwHeyyopOkktR+hE6mKujmYxPFswEYREgTg== Received: from SI2PR02MB4603.apcprd02.prod.outlook.com (2603:1096:4:10c::14) by PSAPR02MB4902.apcprd02.prod.outlook.com (2603:1096:301:66::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.19; Wed, 30 Nov 2022 09:16:59 +0000 Received: from SI2PR02MB4603.apcprd02.prod.outlook.com ([fe80::11fb:db8f:df36:c049]) by SI2PR02MB4603.apcprd02.prod.outlook.com ([fe80::11fb:db8f:df36:c049%7]) with mapi id 15.20.5857.023; Wed, 30 Nov 2022 09:16:59 +0000 From: jinchuan li To: marcel@holtmann.org, johan.hedberg@gmail.com, luiz.dentz@gmail.com Cc: linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, 972624427@qq.com, ligongwei Subject: [PATCH v2] Bluetooth: btusb: Add a new PID/VID 13d3/3549 for RTL8822CU Date: Wed, 30 Nov 2022 17:16:44 +0800 Message-ID: X-Mailer: git-send-email 2.25.1 X-TMN: [Wx2oghGhzBrW8XQsHPS7SQjzzhDD8tMB9HYmOVXQrK0=] X-ClientProxiedBy: TYCP286CA0136.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:31b::20) To SI2PR02MB4603.apcprd02.prod.outlook.com (2603:1096:4:10c::14) X-Microsoft-Original-Message-ID: <20221130091644.6162-1-lifangpi@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SI2PR02MB4603:EE_|PSAPR02MB4902:EE_ X-MS-Office365-Filtering-Correlation-Id: 3c9dfd08-f16c-42e9-165b-08dad2b3a2ab X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eYs+0Qv9vMQv+N5ytVjyiXkPiFwiCru/bNXLaRIISujs1kJFxLU0MfBraq5HFvIBJXfvFyCaRTY8IG+TLUPYSnFJo/p4B2X64Vk49AV5uz/Dj5y3GmK0itgKS/YVZcR6Rkiz8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kUb3hVOzxMTs2OO9ZCMB0JyJmyWYAlpz0zr22XGhBW+sZMMQhcwHB1hgt1w2MqfVKh8auquV7Z9WNPhfmd5+No2jtAorZ5VLAcIDuCFmjjDBfoAIHkD621CWKL1ICEKvKj/y5DmoA9QhrWCPufSVsDgJ98gei3gwQ+Hg2sbBNhsf9lqByAzV2FEv2fRDSp/6mtn6WzNca6j+OezH5MBvaTF8VQgbxRpmGPylNVTkG9ptzL0o7VwQcEtnu+vOAWtwPTM/NNPeYRx20kT16amryQb63y89ssTppD1hJB+m5mOWp+qkUuCTslQsmSWnYlOAIInzVPdE2ag5MYFQtUlsGH6PLoooo1EBnChvI7LdJ4WHBtOzerq0crbiRMEIYQT4IpruUdf/6oLW87uLbLdWAFw2Hmkh6RxqDG+FKXgytIJhlEnqGTgASl4dsVp1ex+OKzGfSPQ7iLWFIhmwS9vsJnVpwNWI2Euh/SZcDLAcVtiRT1QSppHvkMDTMCc6+Ltqcxu2Q1GJlQ7NR4uJP5+U/WYlsTMCW3e4dLV+ZGYrKyYRiFnk6g7ABCWYUTZIWDU56w1bGmcAgf8Qahi39rmvyjKi2yq1fSEt7Wbt1PECXxFLf/pCq3RlKEd6aDXxNYl5VCGlEoUeLE8nW4i1y288k4glMvEwoI+o0BcHGgSNt7pXCppzUYKYaFDgJ2VTGFeTkwy5GaLzZ9MOyzkCOT7MkmuTqOpJlW9HDLMI+5TZoOdnBEHIZ3bPNsShAS3stwdA== X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-20e34.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 3c9dfd08-f16c-42e9-165b-08dad2b3a2ab X-MS-Exchange-CrossTenant-AuthSource: SI2PR02MB4603.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2022 09:16:59.8803 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PSAPR02MB4902 Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org From: ligongwei * /sys/kernel/debug/usb/devices T: Bus=03 Lev=02 Prnt=02 Port=02 Cnt=03 Dev#= 5 Spd=12 MxCh= 0 D: Ver= 1.00 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=0bda ProdID=b85b Rev= 0.00 S: Manufacturer=Realtek S: Product=Bluetooth Radio S: SerialNumber=00e04c000001 C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=500mA 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=1ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms E: Ad=83(I) 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=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms E: Ad=83(I) 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=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms E: Ad=83(I) 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=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms E: Ad=83(I) 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=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms E: Ad=83(I) 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=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms Signed-off-by: Gongwei Li --- v2: - Modified commit message drivers/bluetooth/btusb.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index 64a3febb9dec..437d0b53efe7 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -498,6 +498,10 @@ static const struct usb_device_id blacklist_table[] = { { USB_DEVICE(0x0bda, 0xc822), .driver_info = BTUSB_REALTEK | BTUSB_WIDEBAND_SPEECH }, + /* Realtek 8822CU Bluetooth devices */ + { USB_DEVICE(0x13d3, 0x3549), .driver_info = BTUSB_REALTEK | + BTUSB_WIDEBAND_SPEECH }, + /* Realtek 8852AE Bluetooth devices */ { USB_DEVICE(0x0bda, 0x2852), .driver_info = BTUSB_REALTEK | BTUSB_WIDEBAND_SPEECH },