diff --git a/sys/dev/usb/uhid.c b/sys/dev/usb/uhid.c index 68ee1d395580..4095ee9b893e 100644 --- a/sys/dev/usb/uhid.c +++ b/sys/dev/usb/uhid.c @@ -691,6 +691,10 @@ uhid_do_ioctl(struct uhid_softc *sc, u_long cmd, caddr_t addr, int flag, return (EIO); break; + case USB_GET_REPORT_ID: + *(int *)addr = 0; /* XXX: we only support reportid 0? */ + break; + default: return (EINVAL); }