ChangeSet 1.879.9.21, 2003/01/07 15:10:17-08:00, henning@meier-geinitz.de [PATCH] scanner.c, scanner.h: Added vendor/product ids This patch adds vendor/product ids for two Visioneer scanners. The patch is on top of the ioctl patch. diff -Nru a/drivers/usb/image/scanner.c b/drivers/usb/image/scanner.c --- a/drivers/usb/image/scanner.c Wed Jan 8 11:57:27 2003 +++ b/drivers/usb/image/scanner.c Wed Jan 8 11:57:27 2003 @@ -1,7 +1,7 @@ /* -*- linux-c -*- */ /* - * Driver for USB Scanners (linux-2.5.52) + * Driver for USB Scanners (linux-2.5.54) * * Copyright (C) 1999, 2000, 2001, 2002 David E. Nelson * @@ -330,6 +330,9 @@ * - Fix compilation error when debugging is enabled. * - Add locking to ioctl_scanner(). Thanks to Oliver Neukum * . + * + * 0.4.10 01/07/2003 + * - Added vendor/product ids for Visioneer scanners. * * TODO * - Remove the 2/3 endpoint limitation diff -Nru a/drivers/usb/image/scanner.h b/drivers/usb/image/scanner.h --- a/drivers/usb/image/scanner.h Wed Jan 8 11:57:27 2003 +++ b/drivers/usb/image/scanner.h Wed Jan 8 11:57:27 2003 @@ -122,6 +122,7 @@ { USB_DEVICE(0x0458, 0x2016) }, /* ColorPage-HR6X */ /* Hewlett Packard */ { USB_DEVICE(0x03f0, 0x0505) }, /* ScanJet 2100C */ + { USB_DEVICE(0x03f0, 0x0605) }, /* 2200C */ { USB_DEVICE(0x03f0, 0x0901) }, /* 2300C */ { USB_DEVICE(0x03f0, 0x0205) }, /* 3300C */ { USB_DEVICE(0x03f0, 0x0405) }, /* 3400C */ @@ -134,7 +135,6 @@ // { USB_DEVICE(0x03f0, 0x0701) }, /* 5300C - NOT SUPPORTED - see http://www.neatech.nl/oss/HP5300C/ */ { USB_DEVICE(0x03f0, 0x0201) }, /* 6200C */ { USB_DEVICE(0x03f0, 0x0601) }, /* 6300C */ - { USB_DEVICE(0x03f0, 0x605) }, /* 2200C */ /* iVina */ { USB_DEVICE(0x0638, 0x0268) }, /* 1200U */ /* Lexmark */ @@ -242,6 +242,8 @@ { USB_DEVICE(0x04a7, 0x0311) }, /* 6200 EPP/USB */ { USB_DEVICE(0x04a7, 0x0321) }, /* OneTouch 8100 EPP/USB */ { USB_DEVICE(0x04a7, 0x0331) }, /* OneTouch 8600 EPP/USB */ + { USB_DEVICE(0x0461, 0x0345) }, /* 6200 (actually Primax?) */ + { USB_DEVICE(0x0461, 0x0371) }, /* Onetouch 8920 USB (actually Primax?) */ { } /* Terminating entry */ };