>Synopsis: The USB 2.0 display adapter Plugable UGA-165 works with udl(4).
>Category: kernel
>Environment:
System : OpenBSD 6.8
Details : OpenBSD 6.8-stable (GENERIC.MP) #31: Sat Dec 19 09:24:41
CET 2020
[email protected]:/usr/src/sys/arch/arm64/compile/GENERIC.MP
Architecture: OpenBSD.arm64
Machine : arm64
>Description:
The USB 2.0 display adapter Plugable UGA-165 works well with the udl(4)
driver by just adding the product id.
>How-To-Repeat:
n\a
>Fix:
This is the patch against the stable branch to get it working:
Index: sys/dev/usb/udl.c
===================================================================
RCS file: /cvs/src/sys/dev/usb/udl.c,v
retrieving revision 1.94
diff -u -p -u -p -r1.94 udl.c
--- sys/dev/usb/udl.c 31 Jul 2020 10:49:33 -0000 1.94
+++ sys/dev/usb/udl.c 9 Jan 2021 18:10:56 -0000
@@ -231,6 +231,7 @@ struct udl_type {
};
static const struct udl_type udl_devs[] = {
+ { { USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_UGA165 },
DL165 },
{ { USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_LCD4300U },
DL120 },
{ { USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_LCD8000U },
DL120 },
{ { USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_GUC2020 },
DL160 },
Index: sys/dev/usb/usbdevs
===================================================================
RCS file: /cvs/src/sys/dev/usb/usbdevs,v
retrieving revision 1.720
diff -u -p -u -p -r1.720 usbdevs
--- sys/dev/usb/usbdevs 3 Aug 2020 14:25:44 -0000 1.720
+++ sys/dev/usb/usbdevs 9 Jan 2021 18:10:56 -0000
@@ -1546,6 +1546,7 @@ product DISPLAYLINK M01061 0x01e2 Lenovo
product DISPLAYLINK NBDOCK 0x0215 VideoHome NBdock1920
product DISPLAYLINK SWDVI 0x024c SUNWEIT DVI
product DISPLAYLINK LUM70 0x02a9 Lilliput UM-70
+product DISPLAYLINK UGA165 0x037a Plugable UGA-165
product DISPLAYLINK LT1421 0x03e0 Lenovo ThinkVision LT1421
product DISPLAYLINK UM7X0 0x401a nanovision MiMo