Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp4316639pxb; Tue, 19 Apr 2022 23:56:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwaohlwIRymjXKJxuWYFFF9Ppf+OxcCnKND50zOVnR3NWK3eXnWIz+bFjlghHcDRGscoLFx X-Received: by 2002:a05:6402:492:b0:404:c4bf:8b7e with SMTP id k18-20020a056402049200b00404c4bf8b7emr21092102edv.318.1650437806749; Tue, 19 Apr 2022 23:56:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650437806; cv=none; d=google.com; s=arc-20160816; b=fCneqCkhwxJW4QZihOFeaEolJLNy/YMm1XclKLZJ0uLDMWJJY2VzLAyYsecL3sGXQ5 Xtdxx7AmQOpq7uAF9H4wLyvd1HeZM6S2+dkBL16ZeSEj2mc/AMCENFfgMwQ2gmndVmHd /5BkuTg+yB4a94BeeAgqSy9F/E4AE6ZMYW7ZqI2/rGSQsminD4YD169KA+xtiYLvftMl jkpiqSGoVGK8B9qzGxGVrqU/mOdvBiasNUZF8TxuRTEULlX8DYRTNO2G6QGhrhuW44+c LtNonSGd51vEYxLHnLmi/Vw3aB1+Cv42uV19PMIV911Bgph7rk9fTmxnjCTC89n2yuBg qoJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=O+0aetsIiqKsCqQ7Tk6FVxaOhCtCFK1MnXa2YEcxtcg=; b=xcMPEGs58Z5MPFpwhcAXJfz9MYuoWUcwilToJ3NmndcseJoG7kAizlEax3Kj8zKEJJ ne51z7QeWBpBny/+NIWEs7I5l8fDJotJPIzkf6LPGKuWiuFPmxuvpHxwppaRhlgSLy9v 63Iahx5SbKDJZIDEeHActlwhDNjrlXh8zLFvqRc6VxkpHUKLBUQ+5fEACyNpD6QDgpjX pErr5z5xjiy9+6l4Gzirt/RGz8nWH80PJaTT4BxtFrv41j/g3/u25pEErt8PhOFqW/nS Vyiw28ONJxZ3SqFWZbe0rSNbK2AHt69qQhAV36df7opUngOfN4BFUrzOmgYB9wO8ZP/B vGcA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gv42-20020a1709072bea00b006df78d84890si1020530ejc.275.2022.04.19.23.56.01; Tue, 19 Apr 2022 23:56:46 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359406AbiDTF1u (ORCPT + 99 others); Wed, 20 Apr 2022 01:27:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359407AbiDTF1V (ORCPT ); Wed, 20 Apr 2022 01:27:21 -0400 Received: from smtpbgsg1.qq.com (smtpbgsg1.qq.com [54.254.200.92]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB3FB37010 for ; Tue, 19 Apr 2022 22:24:31 -0700 (PDT) X-QQ-mid: bizesmtp87t1650432254t6wicki9 Received: from localhost.localdomain ( [58.240.82.166]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 20 Apr 2022 13:24:04 +0800 (CST) X-QQ-SSF: 01400000002000E0L000B00A0000000 X-QQ-FEAT: F3yR32iATbhjwPuCH9v2WdRlSuRJVe6iE1qD9WghV/yeISm4wWE2BFYIcpuKV gTSeyx43xhQmqVpxsBNHmOs2VuJ6SwK93RhgxsTOAOlkajZZVjYUCm56FZ7DJ65LMvYuOVY cIGnB0Rl6VTYDtVwrkwdiBxXZrFreviM2XuP7b8p7Az2gWCEhnT6x6yBDOYBDPcOr39Acj4 BN5TReLO4X+DaY7EiC1/jo4q0+KmWXVV158A16tgcJbJM2cwzTn82OqJcWj8cGad9U4Yb+H kTg7rxAS7Kvs4otMt+5PSiUHLOAOyctxuFJ7mkU7TBddtfvU0c47AdSisaEKVB5hy476XHE RtBjHMjfkV1juCiCNGV88gHs+qT/ME4xYCCuhho X-QQ-GoodBg: 2 From: Meng Tang To: marcel@holtmann.org, johan.hedberg@gmail.com, luiz.dentz@gmail.com Cc: linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, Meng Tang Subject: [PATCH] Bluetooth: btusb: Add one Bluetooth part for the Realtek RTL8852BE Date: Wed, 20 Apr 2022 13:24:02 +0800 Message-Id: <20220420052402.19049-1-tangmeng@uniontech.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:uniontech.com:qybgforeign:qybgforeign8 X-QQ-Bgrelay: 1 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This Realtek device has both wifi and BT components. The latter reports a USB ID of 0bda:b85b, which is not in the table. BT device description in /sys/kernel/debug/usb/devices contains the following entries: T: Bus=07 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 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: Meng Tang --- drivers/bluetooth/btusb.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index 06a854a2507e..671a8691722e 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -422,6 +422,10 @@ static const struct usb_device_id blacklist_table[] = { { USB_DEVICE(0x04ca, 0x4006), .driver_info = BTUSB_REALTEK | BTUSB_WIDEBAND_SPEECH }, + /* Realtek 8852BE Bluetooth devices */ + { USB_DEVICE(0x0bda, 0xb85b), .driver_info = BTUSB_REALTEK | + BTUSB_WIDEBAND_SPEECH }, + /* Realtek Bluetooth devices */ { USB_VENDOR_AND_INTERFACE_INFO(0x0bda, 0xe0, 0x01, 0x01), .driver_info = BTUSB_REALTEK }, -- 2.20.1