NetBSD Problem Report #19767

Received: (qmail 28423 invoked from network); 10 Jan 2003 04:40:34 -0000
Message-Id: <20030110044034.5405F11122@narn.netbsd.org>
Date: Thu,  9 Jan 2003 20:40:34 -0800 (PST)
From: neshort@yahoo.com
Sender: gnats-bugs-owner@netbsd.org
Reply-To: neshort@yahoo.com
To: gnats-bugs@gnats.netbsd.org
Subject: /dev/uscanner0 device not assigned to Epson Perfection 1660 Photo scanner
X-Send-Pr-Version: www-1.0

>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:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 10 04:41:01 +0000 2003
>Closed-Date:    Fri Jan 10 11:18:03 +0000 2003
>Last-Modified:  Fri Jan 10 21:25:38 +0000 2003
>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:
State-Changed-From-To: open->closed 
State-Changed-By: augustss 
State-Changed-When: Fri Jan 10 03:17:43 PST 2003 
State-Changed-Why:  
Patch applied. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.