Date: Sat, 19 May 2001 22:55:48 +0200 (CEST) From: jaco@teaser.fr To: FreeBSD-gnats-submit@freebsd.org Subject: kern/27460: incorrect entries for EPSON 1240 Scanner in /sys/dev/usb Message-ID: <20010519205548.D8131335E@titine.fr.eu.org>
next in thread | raw e-mail | index | archive | help
>Number: 27460
>Category: kern
>Synopsis: Bad entries for EPSON 1240U scanner
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat May 19 14:00:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Eric Jacoboni
>Release: FreeBSD 4.3-STABLE i386
>Organization:
None
>Environment:
System: FreeBSD titine.fr.eu.org 4.3-STABLE \
FreeBSD 4.3-STABLE #0: Sat May 19 21:19:45 CEST 2001
>Description:
Recent MFC to /sys/dev/usb is incorrect, at least concerning the 1240U
EPSON scanner. Due to a little bug, the scanner is recognized as ugen0
instead of uscanner0
>How-To-Repeat:
Build a kernel with the pristine usbdevs and uscanner.c files.
Connect a 1240U scanner, see the dmesg informations. Try to use
the scanner with Sane: it does not work.
>Fix:
Here are two patches for usbdevs and uscanner.c that solve the problem.
--- usbdevs.orig Sat May 19 22:38:28 2001
+++ usbdevs Sat May 19 22:39:12 2001
@@ -499,7 +499,6 @@
product EPSON 636 0x0101 Perfection 636U / 636Photo scanner
product EPSON 610 0x0103 Perfection 610 scanner
product EPSON 1200 0x0104 Perfection 1200U / 1200Photo scanner
-product EPSON 1240 0x010b Perfection 1240U / 1240Photo scanner
product EPSON 1600 0x0107 Expression 1600 scanner
product EPSON 1640 0x010a Perfection 1640SU scanner / GT-8700(F)
product EPSON 1240 0x010b Perfection 1240U / 1240Photo scanner / G
T 7700
--- uscanner.c.orig Sat May 19 22:39:58 2001
+++ uscanner.c Sat May 19 22:40:19 2001
@@ -144,6 +144,7 @@
{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1200 },
{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1600 },
{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1640 },
+ { USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1240 },
/* UMAX */
{ USB_VENDOR_UMAX, USB_PRODUCT_UMAX_ASTRA1220U },
>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?20010519205548.D8131335E>
