Subject: pkg/23655: re-enable USB support in sane
To: None <gnats-bugs@gnats.netbsd.org>
From: None <Thilo.Manske@HEH.Uni-Oldenburg.DE>
List: netbsd-bugs
Date: 12/04/2003 17:00:57
>Number: 23655
>Category: pkg
>Synopsis: re-enable USB support in sane
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Dec 04 16:02:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Thilo Manske
>Release: NetBSD 1.6ZF
>Organization:
>Environment:
System: 1.6.2RCsomething (no access to it ATM).
Architecture: i386
Machine: i386
Epson 1260 USB scanner
>Description:
sane-backends currently don't work with NetBSD's uscanner(4) interface since
they simply don't look for that device.
Not part of this PR:
Scanning via the ugen(4) interface and the usblib library seems to be broken
as well, but I don't know who to blame here: sane, devel/usblib or ugen(4).
Sorry, no hard data at hand since I played with my mother's computer and she's
on holliday now...
>How-To-Repeat:
>Fix:
(This is for sane 1.0.13 but applies to 1.0.12 as well.)
--- sanei/sanei_usb.c.orig 2003-09-09 17:04:45.000000000 +0200
+++ sanei/sanei_usb.c 2003-12-03 19:52:19.000000000 +0100
@@ -206,7 +206,7 @@
#if defined(__linux__)
"/dev/", "usbscanner",
"/dev/usb/", "scanner",
-#elif defined(__FreeBSD__)
+#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined (__OpenBSD__)
"/dev/", "uscanner",
#endif
0, 0
>Release-Note:
>Audit-Trail:
>Unformatted: