Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Sep 2005 22:51:56 +0200 (CEST)
From:      Erik Norgaard <norgaard@locolomo.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        norgaard@locolomo.org
Subject:   kern/86094: [patch] Support for Epson 2480 scanner
Message-ID:  <20050913205156.48CEC2E024@strange.daemonsecurity.com>
Resent-Message-ID: <200509132100.j8DL0U6f090715@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         86094
>Category:       kern
>Synopsis:       [patch] Support for Epson 2480 scanner
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 13 21:00:30 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Erik Norgaard
>Release:        FreeBSD 6.0-BETA4 i386
>Organization:
>Environment:
System: FreeBSD charm 6.0-BETA4 FreeBSD 6.0-BETA4 #1: Tue Sep 13 21:58:51 CEST 2005 norgaard@charm:/usr/obj/usr/src/sys/GENERIC i386

>Description:

The Espon Perfection 2480 Photo is not recognized by the driver so no 
uscanner device is created, the scanner still works using the ugen device
instead.

>How-To-Repeat:

Connect the scanner to the usb port, no uscanner device is created.

>Fix:

usbdevs and uscanner.c needs to be patched.

The included patches are required for the driver to recognize the scanner
with these patches a uscanner device is created, however, I am not 100%
certain if other files needs to be patched as well - I'm not that much
into the source code :-)

The respective files in my source has the following ids:

$FreeBSD: src/sys/dev/usb/uscanner.c,v 1.63 2005/01/06 01:43:29 imp Exp $
$FreeBSD: src/sys/dev/usb/usbdevs,v 1.232 2005/07/08 16:28:24 sam Exp $

PS: Last time I tried to include patches they were not sent, so I have copy
and pasted them in here also (sorry):

--- uscanner.c.orig     Sun Sep 11 16:14:52 2005
+++ uscanner.c  Tue Sep 13 21:42:08 2005
@@ -205,6 +205,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_2480 }, 0 },
 
   /* UMAX */
  {{ USB_VENDOR_UMAX, USB_PRODUCT_UMAX_ASTRA1220U }, 0 },


--- usbdevs.RELENG_6    Sat Jul 30 23:24:57 2005
+++ usbdevs     Sat Jul 30 23:23:56 2005
@@ -853,6 +853,7 @@
 product EPSON 1260             0x011d  Perfection 1260 scanner
 product EPSON 1660             0x011e  Perfection 1660 scanner
 product EPSON 1670             0x011f  Perfection 1670 scanner
+product EPSON 2480              0x0121  Perfection 2480 scanner
 
 /* e-TEK Labs products */
 product ETEK 1COM              0x8007  Serial


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050913205156.48CEC2E024>