usb/122025: [patch] uscanner does not attach to Epson RX620 printer/scanner/cardreader

Greg Mars authentec at gmail.com
Sun Mar 23 17:50:02 PDT 2008


>Number:         122025
>Category:       usb
>Synopsis:       [patch] uscanner does not attach to Epson RX620 printer/scanner/cardreader
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 24 00:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Greg Mars
>Release:        FreeBSD/amd64 7.0 RELEASE
>Organization:
>Environment:
FreeBSD optimus.home.net 7.0-RELEASE FreeBSD 7.0-RELEASE #2: Wed Mar 19 08:39:25 EDT 2008     nolram at optimus.home.net:/usr/obj/usr/src/sys/MYKERNEL  amd64
>Description:
uscanner driver does not attach to Epson RX620 multifunction so scanner is not available.
>How-To-Repeat:
Attach an EPSON RX620 and turn on.
cardreader = umass/da
printer = ulpt
but no scanner
>Fix:
Edit usbdevs and uscanner.c with the device and vendor ids of the EPSON RX620 so that uscanner will attach. Then configure sane to use the 'epson' backend with the '/dev/uscanner0' device. Scanner then works with xscanimage provided proper permissions are set.

Patch attached with submission follows:

--- /usr/src/sys/dev/usb/usbdevs	2008-01-07 18:12:45.000000000 -0500
+++ usbdevs	2008-03-23 13:52:54.000000000 -0400
@@ -1197,6 +1197,7 @@
 product EPSON STYLUS_895	0x0602	Stylus Photo 895 Card Reader
 product EPSON 3500		0x080e	CX-3500/3600/3650 MFP
 product EPSON RX425		0x080f	Stylus Photo RX425 scanner
+product EPSON RX620		0x0811	Stylus Photo RX620 scanner
 product EPSON 4200		0x0820	CX4200 MP scanner
 product EPSON 5000		0x082b  DX-50x0 MFP scanner
 product EPSON 6000		0x082e  DX-60x0 MFP scanner
--- /usr/src/sys/dev/usb/uscanner.c	2007-10-05 03:26:39.000000000 -0400
+++ uscanner.c	2008-03-23 13:53:09.000000000 -0400
@@ -212,6 +212,7 @@
  {{ 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_RX620 }, 0 },
 
   /* UMAX */
  {{ USB_VENDOR_UMAX, USB_PRODUCT_UMAX_ASTRA1220U }, 0 },


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


More information about the freebsd-usb mailing list