Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2002 16:06:35 +0100 (CET)
From:      cliff@raggedclown.net
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        cls@raggedclown.net
Subject:   kern/34170: [PATCH] No support for USB Epson Scanner 640
Message-ID:  <20020122150635.2DFE722507@angel.raggedclown.net>

next in thread | raw e-mail | index | archive | help

>Number:         34170
>Category:       kern
>Synopsis:       [PATCH] No support for USB Epson Scanner 640
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 22 07:10:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Angel Root User
>Release:        FreeBSD 4.5-RC i386
>Organization:
>Environment:
System: FreeBSD angel.raggedclown.intra 4.5-RC FreeBSD 4.5-RC #4: Tue Jan 22 15:05:35 CET 2002 toor@angel.raggedclown.intra:/usr/obj/usr/src/sys/ANGEL i386

	All 386+ systems supporting USB
	Release 4.5-RC

>Description:
	Currently there is no support in the uscanner module for
        Epson 640 Scanners, they are only recognised as generic
        usb devices.
>How-To-Repeat:
	Try using scanimage on one 
>Fix:
	Patch usbdevs
	-------------

--- ./src/sys/dev/usb/usbdevs.orig	Fri Jan  4 01:29:37 2002
+++ ./src/sys/dev/usb/usbdevs	Tue Jan 22 14:55:55 2002
@@ -533,6 +533,7 @@
 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

	Patch uscanner.c
	----------------

--- ./src/sys/dev/usb/uscanner.c.orig	Tue Nov 27 03:00:14 2001
+++ ./src/sys/dev/usb/uscanner.c	Tue Jan 22 14:59:56 2002
@@ -147,6 +147,7 @@
 	{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1240 },
 	{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1600 },
 	{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1640 },
+	{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_640 },
 
 	/* UMAX */
 	{ USB_VENDOR_UMAX, USB_PRODUCT_UMAX_ASTRA1220U },

After applying the patch for usbdevs then running:
 
 make -f Makefile.usbdevs

in the usb directory will recreate the necessary include files.

>Release-Note:
>Audit-Trail:
>Unformatted:

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




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