2000-12-22 11:35:05

by f5ibh

[permalink] [raw]
Subject: usb id for scanner epson 1640SU Photo


Hi!

Here are the patches for scanner.h (kernels 2.2) and scanner.c (kernels 2.4) to
add the IDs (Vendor, Model) for an usb scanner Epson Perfection 1640SU Photo (or
vanilla 1640SU as the "Photo" is an extension).
This was done with the advice of Karl Heinz Kremer <[email protected]>
I think they can be applied withut adverse problems

--- kernel-sources-2.2.19-pre3/drivers/usb/scanner.h Fri Dec 22 09:03:23 2000
+++ f5ibh-kernel-2.2.19pre/drivers/usb/scanner.h Fri Dec 22 09:02:56 2000
@@ -151,6 +151,7 @@
{ 0x04b8, 0x0101 }, /* Perfection 636U and 636Photo */
{ 0x04b8, 0x0103 }, /* Perfection 610 */
{ 0x04b8, 0x0104 }, /* Perfection 1200U and 1200Photo */
+ { 0x04b8, 0x010a }, /* Perfection 1640SU Photo */
/* Umax */
{ 0x1606, 0x0010 }, /* Astra 1220U */
{ 0x1606, 0x0002 }, /* Astra 1236U */


--- kernel-sources-2.4.0-test13-pre4/drivers/usb/scanner.c Fri Dec 22 08:58:32 2000
+++ f5ibh-kernel-2.4.0/drivers/usb/scanner.c Fri Dec 22 08:56:58 2000
@@ -303,6 +303,7 @@
{ idVendor: 0x04b8, idProduct: 0x0104 },/* Perfection 1200U and 1200Photo*/
{ idVendor: 0x04b8, idProduct: 0x0106 },/* Stylus Scan 2500 */
{ idVendor: 0x04b8, idProduct: 0x0107 },/* Expression 1600 */
+ { idVendor: 0x04b8, idProduct: 0x010a },/* Perfection 1640SU Photo */
/* Umax */
{ idVendor: 0x1606, idProduct: 0x0010 }, /* Astra 1220U */
{ idVendor: 0x1606, idProduct: 0x0030 }, /* Astra 2000U */

-------------
Regards

Jean-Luc