dd6476d1d2acc76b88f3f3c7ae68fadfc577eeb2
[openwrt/openwrt.git] / target / linux / generic / backport-5.10 / 887-v5.18-Bluetooth-btusb-Add-another-Realtek-8761BU.patch
1 From 6dfbe29f45fb0bde29213dbd754a79e8bfc6ecef Mon Sep 17 00:00:00 2001
2 From: Helmut Grohne <helmut@subdivi.de>
3 Date: Sat, 26 Feb 2022 16:22:56 +0100
4 Subject: [PATCH] Bluetooth: btusb: Add another Realtek 8761BU
5
6 This device is sometimes wrapped with a label "EDUP".
7
8 T: Bus=01 Lev=02 Prnt=02 Port=02 Cnt=03 Dev#=107 Spd=12 MxCh= 0
9 D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
10 P: Vendor=2550 ProdID=8761 Rev= 2.00
11 S: Manufacturer=Realtek
12 S: Product=Bluetooth Radio
13 S: SerialNumber=00E04C239987
14 C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=500mA
15 I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
16 E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
17 E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
18 E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
19 I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
20 E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms
21 E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
22 I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
23 E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms
24 E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms
25 I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
26 E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms
27 E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms
28 I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
29 E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms
30 E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms
31 I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
32 E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms
33 E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms
34 I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
35 E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms
36 E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms
37
38 Signed-off-by: Helmut Grohne <helmut@subdivi.de>
39 Link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1955351
40 Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
41 ---
42 drivers/bluetooth/btusb.c | 2 ++
43 1 file changed, 2 insertions(+)
44
45 --- a/drivers/bluetooth/btusb.c
46 +++ b/drivers/bluetooth/btusb.c
47 @@ -462,6 +462,8 @@ static const struct usb_device_id blackl
48 /* Additional Realtek 8761BU Bluetooth devices */
49 { USB_DEVICE(0x0b05, 0x190e), .driver_info = BTUSB_REALTEK |
50 BTUSB_WIDEBAND_SPEECH },
51 + { USB_DEVICE(0x2550, 0x8761), .driver_info = BTUSB_REALTEK |
52 + BTUSB_WIDEBAND_SPEECH },
53
54 /* Additional Realtek 8821AE Bluetooth devices */
55 { USB_DEVICE(0x0b05, 0x17dc), .driver_info = BTUSB_REALTEK },