Updated diff included below. I've set the product name to LD220.
This diff lacks the updates to usbdevs{,_data}.h, whoever commits
should update those too.
Any takers to commit this? Tested by an owner of the actual device,
so that's good. Jan-Piet, maybe you can share a dmesg of the machine
with the device attached as uplcom(4)?
Thanks!
Paul
Index: uplcom.c
===================================================================
RCS file: /home/OpenBSD/cvs/src/sys/dev/usb/uplcom.c,v
retrieving revision 1.71
diff -u -p -r1.71 uplcom.c
--- uplcom.c 27 Apr 2018 09:40:59 -0000 1.71
+++ uplcom.c 18 Jun 2018 17:25:51 -0000
@@ -140,6 +140,7 @@ static const struct usb_devno uplcom_dev
{ USB_VENDOR_ELECOM, USB_PRODUCT_ELECOM_UCSGT },
{ USB_VENDOR_ELECOM, USB_PRODUCT_ELECOM_UCSGT0 },
{ USB_VENDOR_HAL, USB_PRODUCT_HAL_IMR001 },
+ { USB_VENDOR_HP, USB_PRODUCT_HP_LD220 },
{ USB_VENDOR_IODATA, USB_PRODUCT_IODATA_USBRSAQ },
{ USB_VENDOR_IODATA, USB_PRODUCT_IODATA_USBRSAQ5 },
{ USB_VENDOR_LEADTEK, USB_PRODUCT_LEADTEK_9531 },
Index: usbdevs
===================================================================
RCS file: /home/OpenBSD/cvs/src/sys/dev/usb/usbdevs,v
retrieving revision 1.684
diff -u -p -r1.684 usbdevs
--- usbdevs 11 Apr 2018 04:15:26 -0000 1.684
+++ usbdevs 18 Jun 2018 17:25:36 -0000
@@ -2190,6 +2190,7 @@ product HP R1500G2 0x1fe0 R1500 G2 UPS
product HP T750G2 0x1fe1 T750 G2 UPS
product HP 640C 0x2004 DeskJet 640c
product HP 1020 0x2b17 LaserJet 1020
+product HP LD220 0x3524 LD220
product HP P1100 0x3102 Photosmart P1100
product HP 1018 0x4117 LaserJet 1018
product HP HN210E 0x811c HN210E Ethernet
--
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
http://www.weirdnet.nl/