From nobody@FreeBSD.org  Mon Mar  5 16:53:20 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id EE9CD37B718
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  5 Mar 2001 16:53:18 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f260rIS19068;
	Mon, 5 Mar 2001 16:53:18 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200103060053.f260rIS19068@freefall.freebsd.org>
Date: Mon, 5 Mar 2001 16:53:18 -0800 (PST)
From: m@m3a.cz
To: freebsd-gnats-submit@FreeBSD.org
Subject: missing support for Epson Perfection 1240U scanner
X-Send-Pr-Version: www-1.0

>Number:         25565
>Category:       kern
>Synopsis:       missing support for Epson Perfection 1240U scanner
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 05 17:00:01 PST 2001
>Closed-Date:    Wed Mar 28 09:58:39 PST 2001
>Last-Modified:  Wed Mar 28 09:59:07 PST 2001
>Originator:     Martin Machacek
>Release:        4.2-STABLE as of February 20, 20001
>Organization:
>Environment:
FreeBSD bubak.m3a.cz 4.2-STABLE FreeBSD 4.2-STABLE #9: Tue Feb 20 04:26:53 CET 2001     martin@bubak.m3a.cz:/usr/src/sys/compile/BUBAK  i386

>Description:
Small patch is required to the USB susbsystem to include support for
Epson Perfection 1240U scanner.
>How-To-Repeat:
Connect Epson 1240U scanner and try to access it. Without the attached
patches it is not detected as scanner and thereafter the /dev/uscanner
device is not configured
>Fix:
Aply patches bellow in the /usr/src/sys/dev/usb directory.
After applying the patches and recompiling the kernel the scanner works
flawlessly with sane and xsane.

(file usbdevs.h)

*** usbdevs.h.orig	Tue Mar  6 01:33:44 2001
--- usbdevs.h	Tue Mar  6 01:36:40 2001
***************
*** 464,469 ****
--- 464,470 ----
  #define	USB_PRODUCT_EPSON_636	0x0101		/* Perfection 636U / 636Photo scanner */
  #define	USB_PRODUCT_EPSON_610	0x0103		/* Perfection 610 scanner */
  #define	USB_PRODUCT_EPSON_1200	0x0104		/* Perfection 1200U / 1200Photo scanner */
+ #define	USB_PRODUCT_EPSON_1240	0x010b		/* Perfection 1240U / 1240Photo scanner */
  #define	USB_PRODUCT_EPSON_1600	0x0107		/* Expression 1600 scanner */
  #define	USB_PRODUCT_EPSON_1640	0x010a		/* Perfection 1640SU scanner */
 
(file usbdevs_data.h)
*** usbdevs_data.h.orig	Tue Mar  6 01:31:13 2001
--- usbdevs_data.h	Tue Mar  6 01:32:25 2001
***************
*** 586,591 ****
--- 586,597 ----
  	    "Perfection 1200U / 1200Photo scanner",
  	},
  	{
+ 	    USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1240,
+ 	    0,
+ 	    "Seiko Epson Corp.",
+ 	    "Perfection 1240U / 1240Photo scanner",
+ 	},
+ 	{
  	    USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1600,
  	    0,
  	    "Seiko Epson Corp.",

(file uscanner.c)
*** uscanner.c.orig	Tue Mar  6 01:32:54 2001
--- uscanner.c	Tue Mar  6 01:33:21 2001
***************
*** 142,147 ****
--- 142,148 ----
  	{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_636 },
  	{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_610 },
  	{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1200 },
+ 	{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1240 },
  	{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1600 },
  	{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1640 },

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Wed Mar 28 09:58:39 PST 2001 
State-Changed-Why:  
committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25565 
>Unformatted:
