lkml.org 
[lkml]   [2000]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patches in this message
/
Date
From
Subjectusb 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 <khk@khk.net>
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.040 / U:6.008 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site