From owner-freebsd-usb@FreeBSD.ORG Mon Mar 24 00:50:02 2008 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EEF2106566B for ; Mon, 24 Mar 2008 00:50:02 +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 492208FC13 for ; Mon, 24 Mar 2008 00:50:02 +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 m2O0o11U012658 for ; Mon, 24 Mar 2008 00:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2O0o1jj012657; Mon, 24 Mar 2008 00:50:01 GMT (envelope-from gnats) Resent-Date: Mon, 24 Mar 2008 00:50:01 GMT Resent-Message-Id: <200803240050.m2O0o1jj012657@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Greg Mars Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0B57106564A for ; Mon, 24 Mar 2008 00:48:15 +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 874478FC14 for ; Mon, 24 Mar 2008 00:48:15 +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 m2O0m6Kh082725 for ; Mon, 24 Mar 2008 00:48:06 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m2O0m6En082724; Mon, 24 Mar 2008 00:48:06 GMT (envelope-from nobody) Message-Id: <200803240048.m2O0m6En082724@www.freebsd.org> Date: Mon, 24 Mar 2008 00:48:06 GMT From: Greg Mars To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/122025: [patch] uscanner does not attach to Epson RX620 printer/scanner/cardreader X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2008 00:50:02 -0000 >Number: 122025 >Category: usb >Synopsis: [patch] uscanner does not attach to Epson RX620 printer/scanner/cardreader >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Mar 24 00:50:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Greg Mars >Release: FreeBSD/amd64 7.0 RELEASE >Organization: >Environment: FreeBSD optimus.home.net 7.0-RELEASE FreeBSD 7.0-RELEASE #2: Wed Mar 19 08:39:25 EDT 2008 nolram@optimus.home.net:/usr/obj/usr/src/sys/MYKERNEL amd64 >Description: uscanner driver does not attach to Epson RX620 multifunction so scanner is not available. >How-To-Repeat: Attach an EPSON RX620 and turn on. cardreader = umass/da printer = ulpt but no scanner >Fix: Edit usbdevs and uscanner.c with the device and vendor ids of the EPSON RX620 so that uscanner will attach. Then configure sane to use the 'epson' backend with the '/dev/uscanner0' device. Scanner then works with xscanimage provided proper permissions are set. Patch attached with submission follows: --- /usr/src/sys/dev/usb/usbdevs 2008-01-07 18:12:45.000000000 -0500 +++ usbdevs 2008-03-23 13:52:54.000000000 -0400 @@ -1197,6 +1197,7 @@ product EPSON STYLUS_895 0x0602 Stylus Photo 895 Card Reader product EPSON 3500 0x080e CX-3500/3600/3650 MFP product EPSON RX425 0x080f Stylus Photo RX425 scanner +product EPSON RX620 0x0811 Stylus Photo RX620 scanner product EPSON 4200 0x0820 CX4200 MP scanner product EPSON 5000 0x082b DX-50x0 MFP scanner product EPSON 6000 0x082e DX-60x0 MFP scanner --- /usr/src/sys/dev/usb/uscanner.c 2007-10-05 03:26:39.000000000 -0400 +++ uscanner.c 2008-03-23 13:53:09.000000000 -0400 @@ -212,6 +212,7 @@ {{ 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_RX620 }, 0 }, /* UMAX */ {{ USB_VENDOR_UMAX, USB_PRODUCT_UMAX_ASTRA1220U }, 0 }, >Release-Note: >Audit-Trail: >Unformatted: