From patchwork Thu Aug 25 22:42:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Szabolcs Sipos X-Patchwork-Id: 600076 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 DB2E9ECAAA2 for ; Thu, 25 Aug 2022 22:43:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232482AbiHYWni (ORCPT ); Thu, 25 Aug 2022 18:43:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243981AbiHYWng (ORCPT ); Thu, 25 Aug 2022 18:43:36 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A2A0C6B60 for ; Thu, 25 Aug 2022 15:43:33 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id w19so42264657ejc.7 for ; Thu, 25 Aug 2022 15:43:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=balfug.com; s=gm; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=BjT8hRfQ7izuh4D1WYligk8wTQyrhZzfhom7KTiNQuo=; b=mDh43DmZqaka1sbgKzyUAIflP049W3mt4vxnWIz4WvJo0Rf0KoZJ/br+va+lCTj1wO Ho2w0BiO8UGXzM/X8zuiayvu5RY9AqFojQiSBXkY3V9+gG7rS7ctnLHKJPSA22r8Qwvw Pj7Cw1/AtS4zQ/AN11r7m6HerImNpimhd0MP2zVd/TDKsDG86XJqidU4pnmEjokUCLTJ xRZyIr1ns3oLEiU7B78S7t2wDknYexhZDdpK6mcu00TU6MfZYWXTV7naSPiKgMN/LAMz V/IpHzd02AGMOisvJtRTbi2cNBECc3zv5SIw3k8dfpDruMeVGm2V7uppqvHOeAnDxUBB DIgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=BjT8hRfQ7izuh4D1WYligk8wTQyrhZzfhom7KTiNQuo=; b=4axPyWv5FP+ieDXLN6X9ylJL4gnKQ8wlVozbC2SMyTKKvjTxipOJ91LBrryeaxjAj5 fojZDe+3lZ7RwZQp9D2YjeBxSpFaPx4HJJwRpGBKlWSJNiQ1tDpJgy4o7nCGskWneeoT dWE9rGAAZ04W+piRnCkUBX9PPMudxr7AipSFD2rFF8Q9MU1pnYLiXFQY2vxd2ydeUq1k m880m3WHfNXPyC0g/IpJXNQ1w5SN3OQcMCYHYh4PSMvYM8GbxadJLCRvuDT3P4cVj7+9 OfHm1HzxbWpsdSWqC+wyEcLGp5lPk7eFS828XXj915gcH90b5G+kJVfVPmdu4jGoQ6vr yOXg== X-Gm-Message-State: ACgBeo0PLFfh+4f+z84f9ComS+EWc09pxDbCkoHx5IYo3ASrrakzJAd2 WDQ0e5pXcskFOtI584ya5lqfUsihh0FllKpl6D5BXg== X-Google-Smtp-Source: AA6agR4/7s7jq/v0Qr12IvcUGeWGwtrlzjkdJsfSfGnq2bZtiRaYoP7YA0jeyPIhLDTNvQONHIumtg== X-Received: by 2002:a17:907:6e89:b0:73d:a846:c29e with SMTP id sh9-20020a1709076e8900b0073da846c29emr3641758ejc.577.1661467411612; Thu, 25 Aug 2022 15:43:31 -0700 (PDT) Received: from localhost.localdomain (20014C4E198D65010944FE0C94C0B856.dsl.pool.telekom.hu. [2001:4c4e:198d:6501:944:fe0c:94c0:b856]) by smtp.gmail.com with ESMTPSA id i2-20020aa7c702000000b0043cb1a83c9fsm357529edq.71.2022.08.25.15.43.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Aug 2022 15:43:31 -0700 (PDT) From: Szabolcs Sipos To: linux-bluetooth@vger.kernel.org Cc: Szabolcs Sipos , Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , linux-kernel@vger.kernel.org Subject: [PATCH 1/2] Bluetooth: btusb: RTL8761BUV consistent naming Date: Fri, 26 Aug 2022 00:42:07 +0200 Message-Id: <20220825224208.343700-1-labuwx@balfug.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Based on photos available from the FCC, all currently supported RTL8761B series USB dongles have the same chip: RTL8761BUV. rtl8761bu is often used to refer to this chip. rtl8761b sometimes refers to this chip, and other times to its UART variant (RTL8761BTV). +----------------+---------+---------+---------------+ | Dongle | USB VID | USB PID | FCC ID | +----------------+---------+---------+---------------+ | ASUS USB-BT500 | 0x0b05 | 0x190e | MSQ-USBBTJB00 | | TP-Link UB500 | 0x2357 | 0x0604 | 2AXJ4UB500 | | EDUP EP-B3519 | | | 2AHRD-EPB3519 | | EDUP EP-B3536 | | | 2AHRDEP-B3536 | | UGREEN CM390 | | | 2AQI5-CM390 | +----------------+---------+---------+---------------+ Signed-off-by: Szabolcs Sipos --- drivers/bluetooth/btusb.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index 30dd443f395f..ecedaee1d965 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -519,17 +519,13 @@ static const struct usb_device_id blacklist_table[] = { { USB_DEVICE(0x0bda, 0xb009), .driver_info = BTUSB_REALTEK }, { USB_DEVICE(0x2ff8, 0xb011), .driver_info = BTUSB_REALTEK }, - /* Additional Realtek 8761B Bluetooth devices */ + /* Additional Realtek 8761BUV Bluetooth devices */ { USB_DEVICE(0x2357, 0x0604), .driver_info = BTUSB_REALTEK | BTUSB_WIDEBAND_SPEECH }, - - /* Additional Realtek 8761BU Bluetooth devices */ { USB_DEVICE(0x0b05, 0x190e), .driver_info = BTUSB_REALTEK | BTUSB_WIDEBAND_SPEECH }, { 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 }, From patchwork Thu Aug 25 22:42:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Szabolcs Sipos X-Patchwork-Id: 600416 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 4C74DECAAA2 for ; Thu, 25 Aug 2022 22:43:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243975AbiHYWnq (ORCPT ); Thu, 25 Aug 2022 18:43:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243489AbiHYWnn (ORCPT ); Thu, 25 Aug 2022 18:43:43 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB53CC6B53 for ; Thu, 25 Aug 2022 15:43:40 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id z8so141694edb.0 for ; Thu, 25 Aug 2022 15:43:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=balfug.com; s=gm; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=qHBRNjLQO+fTuSN5fkgAMVOPdbNt+emprPz8tTnQjyY=; b=O4UTbQ8SFax9TaiplcN7GgB5UzuOvNTwOTsK7SBU68+NkCZQcCQBnkLFfwckNexR4t k/yjST8y0+midTKeabpDc/oHmyb1HM0DUOmaTc94msibXEL/difjzNhtjAWwz/1yV1yI BzOCtG2+KnI3a7IM/WgZpAQw5ujqxZSG6aV9PrnussqXuj8kdU5ZaYI8nsJR3GBnKKrA ump+D+e/DrLZfF3nIYZzdWd6SM4dbjHJ++sDCQnY0YWEzHVYWw0wW08phtq3a5X8IoYx mon96Cs6e55YtsyIOS5qDIWPOxLukwfyl92Gvq3qwANMpjJNe/u0P1Q5OISPzEtRYtPu 4xQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=qHBRNjLQO+fTuSN5fkgAMVOPdbNt+emprPz8tTnQjyY=; b=QyYTEtPUoxbe2SBnDgme0bSRddK9ICKz0oPif/aReZbmzvtIDaxIO58vjP0eL0XmDb a6xDTW/5zzU/IURVbrewbhKRZYb5nUZbJ8Vne9K0YbXKBbawDlSi0SXGf2hnlbN3Ppws UJhSvbNJkM0VKOTB2F89T9VBBMuk1ezACbNxSR79phlTzEIGVM+1VWmINwPrVeoWSKSB RII1u+Ie90ikAmcpqAxy4B4jwxAbKKTlTSlz8IkS7dB9KmMCdoGRSOkAmB0UOtci7VUh +KNswfQ6XsQpHvVjq/3iefj6W6LUsFezxCOK0jUUEW3f+jRqqTMBq7w33mE+6ZIDJgxs pTNA== X-Gm-Message-State: ACgBeo2PNwD+KNEo9GwSCsxx7RtjPI+SEsTHHI9bYROi5jboH5uPfyaC MrzTbX56/BNj2cP0MwSRvn7Kko6GmlbBMnx71Cpeug== X-Google-Smtp-Source: AA6agR6I828Vg1tmwrNDsZMZ182b3qTLPeA21GD7WMdDXjTIchau04EevrIBfuBnluvqLTScsjR60g== X-Received: by 2002:a05:6402:2499:b0:440:942a:40c2 with SMTP id q25-20020a056402249900b00440942a40c2mr4952533eda.37.1661467418799; Thu, 25 Aug 2022 15:43:38 -0700 (PDT) Received: from localhost.localdomain (20014C4E198D65010944FE0C94C0B856.dsl.pool.telekom.hu. [2001:4c4e:198d:6501:944:fe0c:94c0:b856]) by smtp.gmail.com with ESMTPSA id i2-20020aa7c702000000b0043cb1a83c9fsm357529edq.71.2022.08.25.15.43.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Aug 2022 15:43:38 -0700 (PDT) From: Szabolcs Sipos To: linux-bluetooth@vger.kernel.org Cc: Szabolcs Sipos , Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , linux-kernel@vger.kernel.org Subject: [PATCH 2/2] Bluetooth: btusb: Add RTL8761BUV device (Edimax BT-8500) Date: Fri, 26 Aug 2022 00:42:08 +0200 Message-Id: <20220825224208.343700-2-labuwx@balfug.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220825224208.343700-1-labuwx@balfug.com> References: <20220825224208.343700-1-labuwx@balfug.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=7392 ProdID=c611 Rev= 2.00 S: Manufacturer=Realtek S: Product=Edimax Bluetooth Adapter S: SerialNumber=XXXXXXXXXXXX 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: Szabolcs Sipos --- drivers/bluetooth/btusb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index ecedaee1d965..87d377212214 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -528,6 +528,8 @@ static const struct usb_device_id blacklist_table[] = { BTUSB_WIDEBAND_SPEECH }, { USB_DEVICE(0x0bda, 0x8771), .driver_info = BTUSB_REALTEK | BTUSB_WIDEBAND_SPEECH }, + { USB_DEVICE(0x7392, 0xc611), .driver_info = BTUSB_REALTEK | + BTUSB_WIDEBAND_SPEECH }, /* Additional Realtek 8821AE Bluetooth devices */ { USB_DEVICE(0x0b05, 0x17dc), .driver_info = BTUSB_REALTEK },