1 /* USB Scanner IOCTLS */ 2 3 /* read vendor and product IDs from the scanner */ 4 #define SCANNER_IOCTL_VENDOR _IOR('U', 0x20, int) 5 #define SCANNER_IOCTL_PRODUCT _IOR('U', 0x21, int) 6 /* send/recv a control message to the scanner */ 7 #define SCANNER_IOCTL_CTRLMSG _IOWR('U', 0x22, struct usb_ctrlrequest ) 8 9 10