kern/92462: Add support for Epson CX3500/3600/3650 scanners.

Friedrich Volkmann volkmann at inode.at
Sat Jan 28 08:20:06 PST 2006


>Number:         92462
>Category:       kern
>Synopsis:       Add support for Epson CX3500/3600/3650 scanners.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 28 16:20:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Friedrich Volkmann <volkmann at inode.at>
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD 83-64-51-116.dynamic.adsl-line.inode.at 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Jan 28 10:00:04 CET 2006 root at 83-65-21-34.dynamic.adsl-line.inode.at:/usr/obj/usr/src/sys/CU03 i386

>Description:
	Make the Epson CX3500, CX3600 and CX3650 MFPs work with sane (ports/graphics/sane-backends). I have tested it with my CX3650.

	There is still one problem: The uscanner module seems to conflict with the ulpt module. If the ulpt module is loaded first, the /dev/ulpt0 and /dev/unlpt0 device nodes are created, but not /dev/uscanner0; and vice versa.
>How-To-Repeat:
	A) Install the sane-backends port, load the uscanner kernel module, and turn on the printer. A ugen0 device appears, but no uscanner0, and sane-find-scanner doesn't find the scanner. With the patches applied, a uscanner0 device appears instead of ugen0, sane-find-scanner recognizes the scanner, and scanimage works.
	B) Load the ulpt module and then the uscanner module. Then turn the printer on. Even with the patches applied, there will be no /dev/uscanner0.
>Fix:
I am not sure about the USC_KEEP_OPEN flag, but the CX3500/3600/3650 series is supposed to be similar to the CX3200.

diff -u /usr/src/sys/dev/usb/usbdevs.orig /usr/src/sys/dev/usb/usbdevs
--- /usr/src/sys/dev/usb/usbdevs.orig	Fri Jan 20 23:55:45 2006
+++ /usr/src/sys/dev/usb/usbdevs	Sat Jan 28 09:08:20 2006
@@ -858,6 +858,7 @@
 product EPSON 1260		0x011d	Perfection 1260 scanner
 product EPSON 1660		0x011e	Perfection 1660 scanner
 product EPSON 1670		0x011f	Perfection 1670 scanner
+product EPSON 3500		0x080e	CX-3500/3600/3650 MFP
 
 /* e-TEK Labs products */
 product ETEK 1COM		0x8007	Serial
diff -u /usr/src/sys/dev/usb/uscanner.c.orig /usr/src/sys/dev/usb/uscanner.c
--- /usr/src/sys/dev/usb/uscanner.c.orig	Wed Jan 11 01:27:28 2006
+++ /usr/src/sys/dev/usb/uscanner.c	Sat Jan 28 09:08:20 2006
@@ -206,6 +206,7 @@
  {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_3200 }, USC_KEEP_OPEN },
  {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_GT9700F }, USC_KEEP_OPEN },
  {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_GT9300UF }, 0 },
+ {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_3500 }, USC_KEEP_OPEN },
 
   /* UMAX */
  {{ USB_VENDOR_UMAX, USB_PRODUCT_UMAX_ASTRA1220U }, 0 },
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list