# /home/anton/tmp/robsd/src-sys-uhidev-sispm.diff Force Gembird EG-PMS2 to attach as ugen(4). Index: uhidev.c =================================================================== RCS file: /cvs/src/sys/dev/usb/uhidev.c,v retrieving revision 1.108 diff -u -p -r1.108 uhidev.c --- uhidev.c 20 May 2022 05:03:45 -0000 1.108 +++ uhidev.c 4 Jun 2022 10:41:20 -0000 @@ -115,6 +115,10 @@ uhidev_match(struct device *parent, void struct usb_attach_arg *uaa = aux; usb_interface_descriptor_t *id; + /* Force Gembird EG-PMS2 to attach as ugen(4). */ + if (uaa->vendor == 0x04b4 && uaa->product == 0xfd15) + return (UMATCH_NONE); + if (uaa->iface == NULL) return (UMATCH_NONE); id = usbd_get_interface_descriptor(uaa->iface);