patch-2.4.21 linux-2.4.21/include/linux/usb_scanner_ioctl.h
Next file: linux-2.4.21/include/linux/videodev.h
Previous file: linux-2.4.21/include/linux/usb.h
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
2003-06-13 07:51:39.000000000 -0700
- Orig file:
linux-2.4.20/include/linux/usb_scanner_ioctl.h
- Orig date:
1969-12-31 16:00:00.000000000 -0800
diff -urN linux-2.4.20/include/linux/usb_scanner_ioctl.h linux-2.4.21/include/linux/usb_scanner_ioctl.h
@@ -0,0 +1,9 @@
+/* USB Scanner IOCTLS */
+
+/* read vendor and product IDs from the scanner */
+#define SCANNER_IOCTL_VENDOR _IOR('U', 0x20, int)
+#define SCANNER_IOCTL_PRODUCT _IOR('U', 0x21, int)
+/* send/recv a control message to the scanner */
+#define SCANNER_IOCTL_CTRLMSG _IOWR('U', 0x22, struct usb_ctrlrequest )
+
+
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)