Subject: kern/19767: /dev/uscanner0 device not assigned to Epson Perfection 1660 Photo scanner
To: None <gnats-bugs@gnats.netbsd.org>
From: None <neshort@yahoo.com>
List: netbsd-bugs
Date: 01/09/2003 20:40:34
>Number: 19767
>Category: kern
>Synopsis: /dev/uscanner0 device not assigned to Epson Perfection 1660 Photo scanner
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Jan 09 20:41:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Neil Short
>Release: FreeBSD 4.7-Stable; but FreeBSD copies your code on this matter.
>Organization:
personal fan
>Environment:
FreeBSD daddy.short.house 4.7-STABLE FreeBSD 4.7-STABLE #1: Wed Dec 25 16:23:51 MST 2002 root@daddy.short.house:/usr/obj/usr/src/sys/MYKERNEL i386
>Description:
The Epson Perfection 1660 Photo scanner is not assigned to the /dev/uscanner0 device. It is therefore not usable with the sane-backends port.
>How-To-Repeat:
Boot up any PC loaded with any branch of the NetBSD or FreeBSD Tree and having an Epson Perfection 1660 Photo scanner attached to the USB.
The scanner will not be recognised by model number by the system and will therefor be unusable to the system.
>Fix:
This is not elegant; but it works. You guys will do a much better job.
Make the following edits and recompile the kernel.
/usr/src/sys/dev/usb/usbdevs.h
Add the line:
#define USB_PRODUCT_EPSON_1660 0x011e /* Perfection 1660 scanner */
/usr/src/sys/dev/usb/uscanner.c
{{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1660 }, 0 },
Each line goes in an obvious place.
The FreeBSD team obviously copies this code from you; so if you implement it, it will be implemented pretty much BSD-wide. Thanks, guys.
>Release-Note:
>Audit-Trail:
>Unformatted: