2022-08-16 21:45:26

by Larry Finger

[permalink] [raw]
Subject: [PATCH 0/2] New BT devices from the Realtek rtw89 family

One new BT device for the RTW8852AE and two new devices for the RTW8852BE
have been reported through GitHub repos that I maintain to help users
with new devices get wifi and Bluetooth as soon as possible.

Signed-off-by: Larry Finger <[email protected]>


Larry Finger (2):
Bluetooth: btusb: Add BT device 0cb8:c549 from RTW8852AE to tables
Bluetooth: btusb: Add BT devices 0bda:4853 and 0bda:887b from
RTW8852BE to tables

drivers/bluetooth/btusb.c | 8 ++++++++
1 file changed, 8 insertions(+)

--
2.37.1


2022-08-16 21:45:26

by Larry Finger

[permalink] [raw]
Subject: [PATCH 2/2] Bluetooth: btusb: Add BT devices 0bda:4853 and 0bda:887b from RTW8852BE to tables

A new Realtek device, the RTW8852BE, includes a BT part, which is not
currently contained in the tables in btusb. File btrtl already contains
some information for these devices. Thus far, two such devices are known.

These two known devices have the following lsusb outputs:

Bus 003 Device 004: ID 0bda:4853 Realtek Semiconductor Corp. Bluetooth Radio
Bus 002 Device 003: ID 0bda:887b Realtek Semiconductor Corp. Bluetooth Radio

The pertinent contents of /sys/kernel/debug/usb/devices for the second is
as follows:

T: Bus=02 Lev=01 Prnt=01 Port=12 Cnt=03 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0bda ProdID=887b 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: Larry Finger <[email protected]>
---
drivers/bluetooth/btusb.c | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index 33e8ff6e0d13..e3776dbbaf18 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -441,6 +441,12 @@ static const struct usb_device_id blacklist_table[] = {
{ USB_DEVICE(0x13d3, 0x3586), .driver_info = BTUSB_REALTEK |
BTUSB_WIDEBAND_SPEECH },

+ /* Realtek 8852BE Bluetooth devices */
+ { USB_DEVICE(0x0bda, 0x4853), .driver_info = BTUSB_REALTEK |
+ BTUSB_WIDEBAND_SPEECH },
+ { USB_DEVICE(0x0bda, 0x887b), .driver_info = BTUSB_REALTEK |
+ BTUSB_WIDEBAND_SPEECH },
+
/* Realtek Bluetooth devices */
{ USB_VENDOR_AND_INTERFACE_INFO(0x0bda, 0xe0, 0x01, 0x01),
.driver_info = BTUSB_REALTEK },
--
2.37.1

2022-08-31 23:14:06

by patchwork-bot+bluetooth

[permalink] [raw]
Subject: Re: [PATCH 0/2] New BT devices from the Realtek rtw89 family

Hello:

This series was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <[email protected]>:

On Tue, 16 Aug 2022 16:35:21 -0500 you wrote:
> One new BT device for the RTW8852AE and two new devices for the RTW8852BE
> have been reported through GitHub repos that I maintain to help users
> with new devices get wifi and Bluetooth as soon as possible.
>
> Signed-off-by: Larry Finger <[email protected]>
>
>
> [...]

Here is the summary with links:
- [1/2] Bluetooth: btusb: Add BT device 0cb8:c549 from RTW8852AE to tables
https://git.kernel.org/bluetooth/bluetooth-next/c/a0476f6a2cac
- [2/2] Bluetooth: btusb: Add BT devices 0bda:4853 and 0bda:887b from RTW8852BE to tables
(no matching commit)

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html