Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp235912rdg; Thu, 12 Oct 2023 04:24:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGSJGqImU/3N1OrcPNrHFsuJlxUJXSX21bacucR/apsTMQIYy5hJrrzACMkwcfKwR3yX72I X-Received: by 2002:a05:6358:590a:b0:14c:92ea:b4ff with SMTP id g10-20020a056358590a00b0014c92eab4ffmr26986229rwf.6.1697109850405; Thu, 12 Oct 2023 04:24:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697109850; cv=none; d=google.com; s=arc-20160816; b=Tqu22bMF75+3wkPhWSstI4WLEPyPPABSO+B1rJDqK4Lz9IwNYcUC7t4almFRs131ty f6e+69+NE+b0Hkt0m1ljUSaxnoolk8jFaUwiuMecJSirXDYLh9UY6ZHy0mLawmu8CBPu +zZT+4j0GIwMWZQ6uT+lIMPURg5UxzB/Obnjc6ySKZ5wP3V+4y4g6IMVOaYP/z8c49JO DzFicTXQTEJPYFcJOzPT9y9rV65A+peJVXvIruIsdbB3Duj+qqLEZh74wxBTyWC0CIoP 2o2kck120BqP3OS7PtIMVntlkZf3C8j0439ax/BSPRGqCkcMmkXXDBZnTJrTqiM8/eLP WyAg== 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=pBOGh9E+sICg1oanNQYW/NIRZMQDLsiCLllbJpAvO1M=; fh=d8yoUvqbisOlH+aNkgODZQAe6yXBKRlLXLZTv3XZrdg=; b=KBgF23su2DHJXpPG42ZjDci/LpOjb6wSV5APEBNePqPBXZv2iVfCme9/azlE6wa+Kq Bov9L5kEw0brJicVhxeDHLKqv1uGART+ajeg7/LpQ82k4PP8DRSYiyAiPP/CGDhbq267 Y1PJwnJTOajASOHxAM6kSSrkRF/MqILV9msN96r10SODa0RA8g/OkHRgSkPQzukVkaLe O1iRTVpmUuHynUo7zxElp67cjfOUR5Fd68NMy1RUqQOGF297Y4Q4J5Yyw6J1TXDEFPEy 7yYl9Qyi8lNnhmXW6h6RaZIemZ3BcEHymi0HxvLEtGZD8jGoV3Lf96hRjKTgrDadxCOD 1gsw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id h14-20020a056a001a4e00b0068fefb0c039si14931099pfv.99.2023.10.12.04.24.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 04:24:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 2288D821AD9D; Thu, 12 Oct 2023 04:24:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343840AbjJLLYG (ORCPT + 99 others); Thu, 12 Oct 2023 07:24:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343649AbjJLLYF (ORCPT ); Thu, 12 Oct 2023 07:24:05 -0400 Received: from smtpbgbr1.qq.com (smtpbgbr1.qq.com [54.207.19.206]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4336D90; Thu, 12 Oct 2023 04:24:00 -0700 (PDT) X-QQ-mid: bizesmtp85t1697109739t1lnnidg Received: from localhost.localdomain ( [113.57.152.160]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 12 Oct 2023 19:22:18 +0800 (CST) X-QQ-SSF: 01400000000000F0F000000A0000000 X-QQ-FEAT: CR3LFp2JE4ltdTud+4AYKJcdUD+uXs6VvqjLXfu+SzUIUtAKlVb/Hy1fQTboe yEa6+SWXN8euKCoBBuoM0FGQ6NBCTFzkq8ZMMR73I9t+gfwhvrNth6EVU/jSIjdcv4I5p3S Dli5iTHPbmirkl+6cMaofPb/mNxeQc5K6b2tD/uBgux3umFb1Z8LJaMH6PfZYW56/6dBob9 I04ni6lNKaSeDlE/6Dojo9ZIzoqMM56NjMCJmRbsRXNNWxeVLO+Z64UrSZtbUQbk/QOnw3R U/i5e4wIx/u269qu8G7iOQpiF6biZdIyVo3e+Meo7Vs1CdFhWpcn+18DTOU/27roKQtgyZn AN2MwLgrixegFsbeCnBYrQxUZdlXtTCXSj5bqAxw4SsMJWP/Fl+lt2jqlo5/57S2sbNP3km X-QQ-GoodBg: 1 X-BIZMAIL-ID: 14250982440802780419 From: Guan Wentao To: marcel@holtmann.org, johan.hedberg@gmail.com, luiz.dentz@gmail.com Cc: linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, guanwentao@uniontech.com, stable@vger.kernel.org Subject: [PATCH] Bluetooth: btusb: Add 0bda:b85b for Fn-Link RTL8852BE Date: Thu, 12 Oct 2023 19:21:17 +0800 Message-Id: <20231012112118.11431-1-guanwentao@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:qybglogicsvrgz:qybglogicsvrgz5a-2 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,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 Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 12 Oct 2023 04:24:09 -0700 (PDT) Add PID/VID 0bda:b85b for Realtek RTL8852BE USB bluetooth part. The PID/VID was reported by the patch last year. [1] Some SBCs like rockpi 5B A8 module contains the device. And it`s founded in website. [2] [3] Here is the device tables in /sys/kernel/debug/usb/devices . T: Bus=07 Lev=01 Prnt=01 Port=01 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 Link: https://lore.kernel.org/all/20220420052402.19049-1-tangmeng@uniontech.com/ [1] Link: https://forum.radxa.com/t/bluetooth-on-ubuntu/13051/4 [2] Link: https://ubuntuforums.org/showthread.php?t=2489527 [3] Cc: stable@vger.kernel.org Signed-off-by: Meng Tang Signed-off-by: Guan Wentao --- drivers/bluetooth/btusb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index 3fdad35e5..894938d2b 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -544,6 +544,8 @@ static const struct usb_device_id quirks_table[] = { BTUSB_WIDEBAND_SPEECH }, { USB_DEVICE(0x0bda, 0x887b), .driver_info = BTUSB_REALTEK | BTUSB_WIDEBAND_SPEECH }, + { USB_DEVICE(0x0bda, 0xb85b), .driver_info = BTUSB_REALTEK | + BTUSB_WIDEBAND_SPEECH }, { USB_DEVICE(0x13d3, 0x3570), .driver_info = BTUSB_REALTEK | BTUSB_WIDEBAND_SPEECH }, { USB_DEVICE(0x13d3, 0x3571), .driver_info = BTUSB_REALTEK | -- 2.20.1