Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4556682ioa; Wed, 27 Apr 2022 06:26:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzl2am3hAkHHB1f9mWt0ZKbLQYzuGnCQjHaSYtiQzEJeKtbTctPGeXMF26C2ikfnCL0BqRJ X-Received: by 2002:a17:902:c411:b0:15c:e82a:e854 with SMTP id k17-20020a170902c41100b0015ce82ae854mr21714391plk.18.1651065998029; Wed, 27 Apr 2022 06:26:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651065998; cv=none; d=google.com; s=arc-20160816; b=CvqFTIOv2km9334v44YMSU9NaCF7bDMxBIJ5VgzJxTo7S1Y0DvJ8zOeSM1Ti2VQycy NzjORAtQWlPPHJLJLh+0pKHg+qGUoiNRCY0CTEz6443RuNO/Z5N+WYEJH68ofmrkVg0h r8zm13iCU2kmCBPwkpsx8yUI53Qkbb9xLG8AduL4abHwbfF/abmRup92/Zog47tgk7A0 1hYl/yFOj7AD//UJexjXZ7+/xNB6n8H4ZWMm9Rxeu+GeCCA6GBW9A0tXKaLVLLNHbVFs iWZ78sYa5R3bPGKXIw1pfqjTnedvMXTvB79+Cu0Q9EMv4+XeRdkiDsv9Ycdrj9VxZZ82 Eakg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=8036+84/yRUSg6KWInt3YXKnM9kOGcyDH5dhSvf5BFk=; b=jFNfJ8PjjB0k6qKnLvai6Cx0mqBM1PIjz67hzyvLKTMKOYLqZJyVWc7AZWwOV1xjzu meS0c+ayPAKfByyhdyLuDEFRJgz2XETj9iZVBQ8QDlm7Y+Sptp4JQKBRCCFjSkWvBvsh NunTTc3qqD5KX9YYR9qaqbN4mXcbvf+dWjP0wMPYSP1hZzDjmiUuzUloYHuIK8mLyqGD sA5XPlzQqteL5oxrwy69zxqsiH71BtC3yX5a4cR9yg9pGuRu1bQPCRtc2tDk+drYAAg0 xpNM5odzXssSrx8RzlGyR9heQi1ipYIGRbdiz7sTkYe/bJHQBY3h9CJQQdREhZWa+Ds3 VhJA== 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:18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=iodev.co.uk Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id u71-20020a63854a000000b003aaff5b662dsi1470850pgd.131.2022.04.27.06.26.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 06:26:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=iodev.co.uk Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 98C924BFEF; Wed, 27 Apr 2022 05:57:59 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235055AbiD0NBF (ORCPT + 99 others); Wed, 27 Apr 2022 09:01:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234956AbiD0NBF (ORCPT ); Wed, 27 Apr 2022 09:01:05 -0400 Received: from iodev.co.uk (iodev.co.uk [46.30.189.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CD3D74C793; Wed, 27 Apr 2022 05:57:53 -0700 (PDT) Received: from localhost (103.red-83-50-140.dynamicip.rima-tde.net [83.50.140.103]) by iodev.co.uk (Postfix) with ESMTPSA id 18BABA3F44; Wed, 27 Apr 2022 14:57:51 +0200 (CEST) From: Ismael Luceno To: linux-bluetooth@vger.kernel.org Cc: Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , linux-kernel@vger.kernel.org, Ismael Luceno Subject: [PATCH v2] Bluetooth: btusb: Add 0x0bda:0x8771 Realtek 8761BUV devices Date: Wed, 27 Apr 2022 14:59:48 +0200 Message-Id: <20220427125947.10429-1-ismael@iodev.co.uk> X-Mailer: git-send-email 2.36.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE autolearn=no 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 Identifies as just "Realtek Semiconductor Corp. Bluetooth Radio"; it's used in many adapters, e.g.: - UGREEN CM390 - C-TECH BTD-01 - Orico BTA-508 - KS-is KS-457 Device description at /sys/kernel/debug/usb/devices: T: Bus=03 Lev=01 Prnt=01 Port=05 Cnt=02 Dev#= 3 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=0bda ProdID=8771 Rev= 2.00 S: Manufacturer=Realtek S: Product=Bluetooth Radio S: SerialNumber=00E04C239987 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: Ismael Luceno --- Notes: Changes since v1: - Added /sys/kernel/debug/usb/devices entry to 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 42234d5f602d..da917096cba8 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -490,6 +490,10 @@ MODULE_DEVICE_TABLE(usb, btusb_table); { USB_DEVICE(0x2550, 0x8761), .driver_info = BTUSB_REALTEK | BTUSB_WIDEBAND_SPEECH }, + /* Additional Realtek 8761BUV Bluetooth devices */ + { USB_DEVICE(0x0bda, 0x8771), .driver_info = BTUSB_REALTEK | + BTUSB_WIDEBAND_SPEECH }, + /* Additional Realtek 8821AE Bluetooth devices */ { USB_DEVICE(0x0b05, 0x17dc), .driver_info = BTUSB_REALTEK }, { USB_DEVICE(0x13d3, 0x3414), .driver_info = BTUSB_REALTEK }, -- 2.36.0