From owner-freebsd-bugs@FreeBSD.ORG Fri Feb 22 23:30:04 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 262CE16A407 for ; Fri, 22 Feb 2008 23:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 105F413C467 for ; Fri, 22 Feb 2008 23:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1MNU3O4022402 for ; Fri, 22 Feb 2008 23:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1MNU3Kn022401; Fri, 22 Feb 2008 23:30:03 GMT (envelope-from gnats) Resent-Date: Fri, 22 Feb 2008 23:30:03 GMT Resent-Message-Id: <200802222330.m1MNU3Kn022401@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, Christophe Etcheverry Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D41A16A406 for ; Fri, 22 Feb 2008 23:24:19 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 0721813C455 for ; Fri, 22 Feb 2008 23:24:19 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m1MNLgrT037413 for ; Fri, 22 Feb 2008 23:21:42 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m1MNLfHs037412; Fri, 22 Feb 2008 23:21:41 GMT (envelope-from nobody) Message-Id: <200802222321.m1MNLfHs037412@www.freebsd.org> Date: Fri, 22 Feb 2008 23:21:41 GMT From: Christophe Etcheverry To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/120980: The Epson CX5400 scanner should be referenced in uscanner.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2008 23:30:04 -0000 >Number: 120980 >Category: kern >Synopsis: The Epson CX5400 scanner should be referenced in uscanner.c >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 22 23:30:03 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Christophe Etcheverry >Release: FreeBSD 7.0-PRERELEASE amd64 >Organization: >Environment: FreeBSD farscape 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #3: Fri Feb 22 23:45:12 CET 2008 cetcheve@farscape:/usr/obj/usr/src/sys/GENERIC amd64 >Description: The Epson CX5400 scanner works well under FreeBSD with sane and thus should be referenced in sys/dev/usb/usbdevs and sys/dev/usb/uscanner.c to make the kernel recognize it as a USB scanner. >How-To-Repeat: Simply use a generic kernel with a CX5400 Epson scanner. >Fix: Just have to add the hardware id in sys/dev/usb/usbdevs and a reference to it in sys/dev/usb/uscanner.c I attached a patch solving the problem. Patch attached with submission follows: *** usbdevs.orig 2008-02-23 00:05:53.000000000 +0100 --- usbdevs 2008-02-22 23:38:57.000000000 +0100 *************** *** 1199,1208 **** --- 1199,1209 ---- product EPSON 3500 0x080e CX-3500/3600/3650 MFP product EPSON RX425 0x080f Stylus Photo RX425 scanner product EPSON 4200 0x0820 CX4200 MP scanner product EPSON 5000 0x082b DX-50x0 MFP scanner product EPSON 6000 0x082e DX-60x0 MFP scanner + product EPSON CX5400 0x0808 CX5400 scanner /* e-TEK Labs products */ product ETEK 1COM 0x8007 Serial /* Extended Systems products */ *** uscanner.c.orig 2008-02-23 00:06:31.000000000 +0100 --- uscanner.c 2008-02-22 23:40:07.000000000 +0100 *************** *** 210,219 **** --- 210,220 ---- {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_3590 }, 0 }, {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_4200 }, 0 }, {{ 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_CX5400 }, 0 }, /* UMAX */ {{ USB_VENDOR_UMAX, USB_PRODUCT_UMAX_ASTRA1220U }, 0 }, {{ USB_VENDOR_UMAX, USB_PRODUCT_UMAX_ASTRA1236U }, 0 }, {{ USB_VENDOR_UMAX, USB_PRODUCT_UMAX_ASTRA2000U }, 0 }, >Release-Note: >Audit-Trail: >Unformatted: