ChangeSet 1.1504.2.11, 2003/12/08 17:25:34-08:00, [EMAIL PROTECTED]

[PATCH] USB scanner driver: new device ids

Added vendor/product ids for Epson, Genius, Microtek, Plustek,
Reflecta, and Visioneer scanners. Removed ids for HP PSC devices as
these are supported by the hpoj userspace driver.


 drivers/usb/image/scanner.c |    4 ++++
 drivers/usb/image/scanner.h |   17 ++++++++++++++---
 2 files changed, 18 insertions(+), 3 deletions(-)


diff -Nru a/drivers/usb/image/scanner.c b/drivers/usb/image/scanner.c
--- a/drivers/usb/image/scanner.c       Mon Dec 29 14:25:48 2003
+++ b/drivers/usb/image/scanner.c       Mon Dec 29 14:25:48 2003
@@ -380,6 +380,10 @@
  *      Visioneer scanners.
  *    - Added test for USB_CLASS_CDC_DATA which is used by some fingerprint scanners.
  *
+ * 0.4.16  2003-11-04
+ *    - Added vendor/product ids for Epson, Genius, Microtek, Plustek, Reflecta, and
+ *      Visioneer scanners. Removed ids for HP PSC devices as these are supported by
+ *      the hpoj userspace driver.
  *
  * TODO
  *    - Performance
diff -Nru a/drivers/usb/image/scanner.h b/drivers/usb/image/scanner.h
--- a/drivers/usb/image/scanner.h       Mon Dec 29 14:25:48 2003
+++ b/drivers/usb/image/scanner.h       Mon Dec 29 14:25:48 2003
@@ -43,7 +43,7 @@
 
 // #define DEBUG
 
-#define DRIVER_VERSION "0.4.15"
+#define DRIVER_VERSION "0.4.16"
 #define DRIVER_DESC "USB Scanner Driver"
 
 #include <linux/usb.h>
@@ -146,7 +146,12 @@
        { USB_DEVICE(0x0458, 0x2015) }, /* ColorPage HR7LE */
        { USB_DEVICE(0x0458, 0x2016) }, /* ColorPage HR6X */
        { USB_DEVICE(0x0458, 0x2018) }, /* ColorPage HR7X */
+       { USB_DEVICE(0x0458, 0x201b) }, /* Colorpage Vivid 4x */
        /* Hewlett Packard */
+       /* IMPORTANT: Hewlett-Packard multi-function peripherals (OfficeJet, 
+          Printer/Scanner/Copier (PSC), LaserJet, or PhotoSmart printer)
+          should not be added to this table because they are accessed by a
+          userspace driver (hpoj) */
        { USB_DEVICE(0x03f0, 0x0101) }, /* ScanJet 4100C */
        { USB_DEVICE(0x03f0, 0x0102) }, /* PhotoSmart S20 */
        { USB_DEVICE(0x03f0, 0x0105) }, /* ScanJet 4200C */
@@ -168,10 +173,10 @@
        { USB_DEVICE(0x03F0, 0x1105) }, /* ScanJet 5470C */
        { USB_DEVICE(0x03f0, 0x1205) }, /* ScanJet 5550C */
        { USB_DEVICE(0x03f0, 0x1305) }, /* Scanjet 4570c */
-       { USB_DEVICE(0x03f0, 0x1411) }, /* PSC 750 */
+       //      { USB_DEVICE(0x03f0, 0x1411) }, /* PSC 750 - NOT SUPPORTED - use hpoj 
userspace driver */
        { USB_DEVICE(0x03f0, 0x2005) }, /* ScanJet 3570c */
        { USB_DEVICE(0x03f0, 0x2205) }, /* ScanJet 3500c */
-       { USB_DEVICE(0x03f0, 0x2f11) }, /* PSC 1210 */
+       //      { USB_DEVICE(0x03f0, 0x2f11) }, /* PSC 1210 - NOT SUPPORTED - use hpoj 
userspace driver */
        /* Lexmark */
        { USB_DEVICE(0x043d, 0x002d) }, /* X70/X73 */
        { USB_DEVICE(0x043d, 0x003d) }, /* X83 */
@@ -187,6 +192,7 @@
        { USB_DEVICE(0x05da, 0x30ce) }, /* ScanMaker 3800 */
        { USB_DEVICE(0x05da, 0x30cf) }, /* ScanMaker 4800 */
        { USB_DEVICE(0x05da, 0x30d4) }, /* ScanMaker 3830 + 3840 */
+       { USB_DEVICE(0x05da, 0x30d8) }, /* ScanMaker 5900 */
        { USB_DEVICE(0x04a7, 0x0224) }, /* Scanport 3000 (actually Visioneer?)*/
        /* The following SCSI-over-USB Microtek devices are supported by the
           microtek driver: Enable SCSI and USB Microtek in kernel config */
@@ -245,6 +251,7 @@
        { USB_DEVICE(0x07b3, 0x0400) }, /* OpticPro 1248U */
        { USB_DEVICE(0x07b3, 0x0401) }, /* OpticPro 1248U (another one) */
        { USB_DEVICE(0x07b3, 0x0403) }, /* U16B */
+       { USB_DEVICE(0x07b3, 0x0413) }, /* OpticSlim 1200 */
        /* Primax/Colorado */
        { USB_DEVICE(0x0461, 0x0300) }, /* G2-300 #1 */
        { USB_DEVICE(0x0461, 0x0301) }, /* G2E-300 #1 */
@@ -261,6 +268,8 @@
        { USB_DEVICE(0x0461, 0x0383) }, /* G2E-600 */
        /* Prolink */
        { USB_DEVICE(0x06dc, 0x0014) }, /* Winscan Pro 2448U */
+       /* Reflecta  */
+       { USB_DEVICE(0x05e3, 0x0120) }, /* iScan 1800 */
        /* Relisis */
        // { USB_DEVICE(0x0475, 0x0103) },      /* Episode - undetected endpoint */
        { USB_DEVICE(0x0475, 0x0210) }, /* Scorpio Ultra 3 */
@@ -285,6 +294,7 @@
        { USB_DEVICE(0x04b8, 0x011c) }, /* Perfection 3200 */
        { USB_DEVICE(0x04b8, 0x011d) }, /* Perfection 1260 */
        { USB_DEVICE(0x04b8, 0x011e) }, /* Perfection 1660 Photo */
+       { USB_DEVICE(0x04b8, 0x011f) }, /* Perfection 1670 */
        { USB_DEVICE(0x04b8, 0x0801) }, /* Stylus CX5200 */
        { USB_DEVICE(0x04b8, 0x0802) }, /* Stylus CX3200 */
        /* Siemens */
@@ -309,6 +319,7 @@
        { USB_DEVICE(0x04a7, 0x0221) }, /* OneTouch 5300 USB */
        { USB_DEVICE(0x04a7, 0x0224) }, /* OneTouch 4800 USB */
        { USB_DEVICE(0x04a7, 0x0226) }, /* OneTouch 5800 USB */
+       { USB_DEVICE(0x04a7, 0x0229) }, /* OneTouch 7100 USB */
        { USB_DEVICE(0x04a7, 0x022c) }, /* OneTouch 9020 USB */
        { USB_DEVICE(0x04a7, 0x0231) }, /* 6100 USB */
        { USB_DEVICE(0x04a7, 0x0311) }, /* 6200 EPP/USB */



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to