kern/120980: The Epson CX5400 scanner should be referenced in
uscanner.c
Christophe Etcheverry
cetcheve at gmail.com
Fri Feb 22 23:30:04 UTC 2008
>Number: 120980
>Category: kern
>Synopsis: The Epson CX5400 scanner should be referenced in uscanner.c
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Feb 22 23:30:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Christophe Etcheverry
>Release: FreeBSD 7.0-PRERELEASE amd64
>Organization:
>Environment:
FreeBSD farscape 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #3: Fri Feb 22 23:45:12 CET 2008 cetcheve at farscape:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
The Epson CX5400 scanner works well under FreeBSD with sane and thus should be referenced in sys/dev/usb/usbdevs and sys/dev/usb/uscanner.c to make the kernel recognize it as a USB scanner.
>How-To-Repeat:
Simply use a generic kernel with a CX5400 Epson scanner.
>Fix:
Just have to add the hardware id in sys/dev/usb/usbdevs and a reference to it in sys/dev/usb/uscanner.c
I attached a patch solving the problem.
Patch attached with submission follows:
*** usbdevs.orig 2008-02-23 00:05:53.000000000 +0100
--- usbdevs 2008-02-22 23:38:57.000000000 +0100
***************
*** 1199,1208 ****
--- 1199,1209 ----
product EPSON 3500 0x080e CX-3500/3600/3650 MFP
product EPSON RX425 0x080f Stylus Photo RX425 scanner
product EPSON 4200 0x0820 CX4200 MP scanner
product EPSON 5000 0x082b DX-50x0 MFP scanner
product EPSON 6000 0x082e DX-60x0 MFP scanner
+ product EPSON CX5400 0x0808 CX5400 scanner
/* e-TEK Labs products */
product ETEK 1COM 0x8007 Serial
/* Extended Systems products */
*** uscanner.c.orig 2008-02-23 00:06:31.000000000 +0100
--- uscanner.c 2008-02-22 23:40:07.000000000 +0100
***************
*** 210,219 ****
--- 210,220 ----
{{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_3590 }, 0 },
{{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_4200 }, 0 },
{{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_4990 }, 0 },
{{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_5000 }, 0 },
{{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_6000 }, 0 },
+ {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_CX5400 }, 0 },
/* UMAX */
{{ USB_VENDOR_UMAX, USB_PRODUCT_UMAX_ASTRA1220U }, 0 },
{{ USB_VENDOR_UMAX, USB_PRODUCT_UMAX_ASTRA1236U }, 0 },
{{ USB_VENDOR_UMAX, USB_PRODUCT_UMAX_ASTRA2000U }, 0 },
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list