Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Feb 2002 15:49:34 +0000 (GMT)
From:      Andrew Gordon <arg-bsd@arg1.demon.co.uk>
To:        Michel TALON <talon@lpthe.jussieu.fr>
Cc:        <freebsd-stable@freebsd.org>
Subject:   RE: USB Epson scanners (was: printers)?
Message-ID:  <20020213154221.G53179-100000@server.arg.sj.co.uk>
In-Reply-To: <20020213152753.A18350@lpthe.jussieu.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 13 Feb 2002, Michel TALON wrote:
>
> I have tried recently to use an USB epson scanner with no great success.
> First remember to kldoad uscanner and run usbd if you want to see something.
> Even with this my scanner was not recognized, but usbdevs -v allowed
> to identify it and get the model identification. I then went into /sys/dev/usb
> and noticed that this model was not listed in usbdevs. I added it and runned
> the makefile, edited uscanner.c to add the model and recompiled uscanner.ko.

I'm using the patch below with an Epson 640.

> After that plugging the usb connector showed insertion and removal events
> with the appropriate device. Unfortunately, with the version of xsane
> in the ports i don't see the scanner. However sane-find-scanner sees it.

The default configuration in /usr/local/etc/sane.d/epson.conf assumes a
SCSI scanner.  You need to edit this to specify USB (I think the USB
entry is commented in the file installed by default).

> Since the scanner went to a Windows 2000 machine i have not investigated
> further. Except that i have tried it also on a Linux machine with the latest
> 2.4.17 kernel and the epson provided driver with no more success. Maybe
> something of the same vein may be helpful for a printer.


Index: usbdevs
===================================================================
RCS file: /usr/cvsbase/repository/src/sys/dev/usb/usbdevs,v
retrieving revision 1.11.2.16
diff -c -r1.11.2.16 usbdevs
*** usbdevs	4 Jan 2002 00:29:37 -0000	1.11.2.16
--- usbdevs	13 Feb 2002 15:41:13 -0000
***************
*** 533,538 ****
--- 533,539 ----
  product EPSON 1600		0x0107	Expression 1600 scanner
  product EPSON 1640		0x010a	Perfection 1640SU scanner
  product EPSON 1240		0x010b	Perfection 1240U / 1240Photo scanner
+ product EPSON 640		0x010c	Perfection 640 scanner

  /* e-TEK Labs products */
  product ETEK 1COM		0x8007	Serial port
Index: usbdevs.h
===================================================================
RCS file: /usr/cvsbase/repository/src/sys/dev/usb/usbdevs.h,v
retrieving revision 1.32.2.16
diff -c -r1.32.2.16 usbdevs.h
*** usbdevs.h	4 Jan 2002 00:31:10 -0000	1.32.2.16
--- usbdevs.h	13 Feb 2002 15:41:13 -0000
***************
*** 540,545 ****
--- 540,546 ----
  #define	USB_PRODUCT_EPSON_1600	0x0107		/* Expression 1600 scanner */
  #define	USB_PRODUCT_EPSON_1640	0x010a		/* Perfection 1640SU scanner */
  #define	USB_PRODUCT_EPSON_1240	0x010b		/* Perfection 1240U / 1240Photo scanner */
+ #define	USB_PRODUCT_EPSON_640	0x010c		/* Perfection 640 scanner */

  /* e-TEK Labs products */
  #define	USB_PRODUCT_ETEK_1COM	0x8007		/* Serial port */
Index: usbdevs_data.h
===================================================================
RCS file: /usr/cvsbase/repository/src/sys/dev/usb/usbdevs_data.h,v
retrieving revision 1.32.2.16
diff -c -r1.32.2.16 usbdevs_data.h
*** usbdevs_data.h	4 Jan 2002 00:31:10 -0000	1.32.2.16
--- usbdevs_data.h	13 Feb 2002 15:41:13 -0000
***************
*** 694,699 ****
--- 694,705 ----
  	    "Perfection 1240U / 1240Photo scanner",
  	},
  	{
+ 	    USB_VENDOR_EPSON, USB_PRODUCT_EPSON_640,
+ 	    0,
+ 	    "Seiko Epson Corp.",
+ 	    "Perfection 640 scanner",
+ 	},
+ 	{
  	    USB_VENDOR_ETEK, USB_PRODUCT_ETEK_1COM,
  	    0,
  	    "e-TEK Labs",
Index: uscanner.c
===================================================================
RCS file: /usr/cvsbase/repository/src/sys/dev/usb/uscanner.c,v
retrieving revision 1.2.2.5
diff -c -r1.2.2.5 uscanner.c
*** uscanner.c	27 Nov 2001 02:00:14 -0000	1.2.2.5
--- uscanner.c	13 Feb 2002 15:41:13 -0000
***************
*** 143,148 ****
--- 143,149 ----
  	/* Epson */
  	{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_636 },
  	{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_610 },
+ 	{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_640 },
  	{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1200 },
  	{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1240 },
  	{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1600 },


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020213154221.G53179-100000>