From owner-freebsd-bugs Mon Mar 5 17: 0:10 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D393D37B719 for ; Mon, 5 Mar 2001 17:00:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f26101m19757; Mon, 5 Mar 2001 17:00:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id EE9CD37B718 for ; 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 X-Send-Pr-Version: www-1.0 Subject: kern/25565: missing support for Epson Perfection 1240U scanner Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 25565 >Category: kern >Synopsis: missing support for Epson Perfection 1240U scanner >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Mar 05 17:00:01 PST 2001 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message