From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 13 21:00:31 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 831F416A41F for ; Tue, 13 Sep 2005 21:00:31 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E046643D49 for ; Tue, 13 Sep 2005 21:00:30 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j8DL0UKY090716 for ; Tue, 13 Sep 2005 21:00:30 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j8DL0U6f090715; Tue, 13 Sep 2005 21:00:30 GMT (envelope-from gnats) Resent-Date: Tue, 13 Sep 2005 21:00:30 GMT Resent-Message-Id: <200509132100.j8DL0U6f090715@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Erik Norgaard Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFD6E16A41F for ; Tue, 13 Sep 2005 20:51:58 +0000 (GMT) (envelope-from norgaard@daemonsecurity.com) Received: from strange.daemonsecurity.com (62-15-72-65.inversas.jazztel.es [62.15.72.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E2EC43D4C for ; Tue, 13 Sep 2005 20:51:58 +0000 (GMT) (envelope-from norgaard@daemonsecurity.com) Received: by strange.daemonsecurity.com (Postfix, from userid 1024) id 48CEC2E024; Tue, 13 Sep 2005 22:51:56 +0200 (CEST) Message-Id: <20050913205156.48CEC2E024@strange.daemonsecurity.com> Date: Tue, 13 Sep 2005 22:51:56 +0200 (CEST) From: Erik Norgaard To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: norgaard@locolomo.org Subject: kern/86094: [patch] Support for Epson 2480 scanner X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Erik Norgaard List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2005 21:00:31 -0000 >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: