On Sat, Sep 09, 2023 at 03:16:08PM +0800, Kevin Lo wrote:
>
> On Sep 7 Douglas Silva reported this bug:
>
> https://marc.info/?l=openbsd-bugs&m=169407574511323&w=2
>
> The product id of the tp-link ub500 is 0x0604 which uses the RTL8761BUV chip.
> The diff below corrects TP-LINK bluetooth ID.
> ok?
Forgot to remove it in ure(4). Here's the revised diff, ok?
Index: sys/dev/usb/if_ure.c
===================================================================
RCS file: /cvs/src/sys/dev/usb/if_ure.c,v
retrieving revision 1.32
diff -u -p -u -p -r1.32 if_ure.c
--- sys/dev/usb/if_ure.c 6 May 2023 08:07:10 -0000 1.32
+++ sys/dev/usb/if_ure.c 9 Sep 2023 07:34:54 -0000
@@ -126,7 +126,6 @@ const struct usb_devno ure_devs[] = {
{ USB_VENDOR_TPLINK, USB_PRODUCT_TPLINK_EU300 },
{ USB_VENDOR_TPLINK, USB_PRODUCT_TPLINK_RTL8152B_1 },
{ USB_VENDOR_TPLINK, USB_PRODUCT_TPLINK_RTL8152B_2 },
- { USB_VENDOR_TPLINK, USB_PRODUCT_TPLINK_RTL8153 },
{ USB_VENDOR_TRENDNET, USB_PRODUCT_TRENDNET_RTL8156 },
{ USB_VENDOR_TTL, USB_PRODUCT_TTL_RTL8153 },
{ USB_VENDOR_TWINHEAD, USB_PRODUCT_TWINHEAD_RTL8153B },
Index: sys/dev/usb/usbdevs
===================================================================
RCS file: /cvs/src/sys/dev/usb/usbdevs,v
retrieving revision 1.758
diff -u -p -u -p -r1.758 usbdevs
--- sys/dev/usb/usbdevs 12 Aug 2023 20:43:49 -0000 1.758
+++ sys/dev/usb/usbdevs 9 Sep 2023 07:34:54 -0000
@@ -4478,7 +4478,7 @@ product TPLINK RTL8188EUS 0x010c RTL8188
product TPLINK EU300 0x0601 EU300
product TPLINK RTL8152B_1 0x0602 RTL8152B
product TPLINK RTL8152B_2 0x0603 RTL8152B
-product TPLINK RTL8153 0x0604 RTL8153
+product TPLINK UB500 0x0604 UB500
/* Trek Technology products */
product TREK THUMBDRIVE 0x1111 ThumbDrive