From owner-freebsd-bugs Sat May 19 14: 0:19 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 191EC37B616 for ; Sat, 19 May 2001 14:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4JL02v40192; Sat, 19 May 2001 14:00:02 -0700 (PDT) (envelope-from gnats) Received: from musique.teaser.fr (musique.teaser.net [213.91.2.11]) by hub.freebsd.org (Postfix) with ESMTP id DFBA537B424 for ; Sat, 19 May 2001 13:59:18 -0700 (PDT) (envelope-from jaco@titine.fr.eu.org) Received: from titine.fr.eu.org (d47-31.ppp.teaser.fr [213.91.47.31]) by musique.teaser.fr (Postfix) with ESMTP id D23DE7251C for ; Sat, 19 May 2001 22:59:16 +0200 (CEST) Received: by titine.fr.eu.org (Postfix, from userid 1001) id D8131335E; Sat, 19 May 2001 22:55:48 +0200 (CEST) Message-Id: <20010519205548.D8131335E@titine.fr.eu.org> Date: Sat, 19 May 2001 22:55:48 +0200 (CEST) From: jaco@teaser.fr Reply-To: jaco@teaser.fr To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: kern/27460: incorrect entries for EPSON 1240 Scanner in /sys/dev/usb Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 27460 >Category: kern >Synopsis: Bad entries for EPSON 1240U scanner >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat May 19 14:00:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Eric Jacoboni >Release: FreeBSD 4.3-STABLE i386 >Organization: None >Environment: System: FreeBSD titine.fr.eu.org 4.3-STABLE \ FreeBSD 4.3-STABLE #0: Sat May 19 21:19:45 CEST 2001 >Description: Recent MFC to /sys/dev/usb is incorrect, at least concerning the 1240U EPSON scanner. Due to a little bug, the scanner is recognized as ugen0 instead of uscanner0 >How-To-Repeat: Build a kernel with the pristine usbdevs and uscanner.c files. Connect a 1240U scanner, see the dmesg informations. Try to use the scanner with Sane: it does not work. >Fix: Here are two patches for usbdevs and uscanner.c that solve the problem. --- usbdevs.orig Sat May 19 22:38:28 2001 +++ usbdevs Sat May 19 22:39:12 2001 @@ -499,7 +499,6 @@ product EPSON 636 0x0101 Perfection 636U / 636Photo scanner product EPSON 610 0x0103 Perfection 610 scanner product EPSON 1200 0x0104 Perfection 1200U / 1200Photo scanner -product EPSON 1240 0x010b Perfection 1240U / 1240Photo scanner product EPSON 1600 0x0107 Expression 1600 scanner product EPSON 1640 0x010a Perfection 1640SU scanner / GT-8700(F) product EPSON 1240 0x010b Perfection 1240U / 1240Photo scanner / G T 7700 --- uscanner.c.orig Sat May 19 22:39:58 2001 +++ uscanner.c Sat May 19 22:40:19 2001 @@ -144,6 +144,7 @@ { USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1200 }, { USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1600 }, { USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1640 }, + { USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1240 }, /* UMAX */ { USB_VENDOR_UMAX, USB_PRODUCT_UMAX_ASTRA1220U }, >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message