From owner-freebsd-doc@FreeBSD.ORG Tue Sep 9 16:48:16 2008 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16A571065674; Tue, 9 Sep 2008 16:48:16 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id ACA958FC29; Tue, 9 Sep 2008 16:48:15 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.2/8.14.2) with ESMTP id m89GmEbx003064; Tue, 9 Sep 2008 10:48:14 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.2/8.14.2/Submit) with ESMTP id m89GmEe0003061; Tue, 9 Sep 2008 10:48:14 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 9 Sep 2008 10:48:14 -0600 (MDT) From: Warren Block To: Geoffrey In-Reply-To: <20080909103426.N64474@gecko.reptiles.org> Message-ID: References: <20080908172940.K64474@gecko.reptiles.org> <20080909055234.GA98761@abigail.blackend.org> <20080909064619.Y64474@gecko.reptiles.org> <20080909103426.N64474@gecko.reptiles.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (wonkity.com [127.0.0.1]); Tue, 09 Sep 2008 10:48:15 -0600 (MDT) Cc: doc@freebsd.org Subject: Re: sane configuration in Freebsd 7 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2008 16:48:16 -0000 On Tue, 9 Sep 2008, Geoffrey wrote: > On Tue, 9 Sep 2008, Warren Block wrote: > >> Instead of modifying the generic kernel, just change the Handbook note on >> using sane-find-scanner to include /dev/uscanner0 when checking for USB >> scanners. >> > /dev/uscanner0 was not being created in my installation. This > was the source of my grief. That said the kernel somewhat saw it: > > Sep 8 13:25:41 burp kernel: device_attach: uscanner0 attach returned 6 > Sep 8 13:26:27 burp kernel: ugen0: at uhub0 port 3 (addr 3) disconnected > Sep 8 13:26:27 burp kernel: ugen0: detached > Sep 8 13:26:33 burp kernel: uscanner0: at uhub0 port 2 (addr 2) disconnected Ignoring those as they appear to be from when the scanner was detached. > Sep 8 13:26:38 burp root: Unknown USB device: vendor 0x05d8 product 0x4002 bus uhub0 >From devd? > Sep 8 13:26:38 burp kernel: uscanner0: on uhub0 Okay. > Sep 8 13:26:38 burp kernel: uscanner0: bulk-in and/or bulk-out endpoint not found That's from uscanner_attach in uscanner.c, and it quits there. But is it due to a firmware-less scanner or FreeBSD USB code? You should probably say exactly what brand and model of scanner you're using. > From the documentation there appear to be conflicts in vendor > and device ids and if you check these against usbdevs, usbdevs will see > this device and vendor as something quite different from what they are. For that vendor and product, I only see the one entry. But it's one of those scanners that needs a firmware download, gt68xx. Maybe on those you have to use ugen to load the firmware, then load uscanner? I plead ignorance due to lack of hardware to try. Use of scanners that need firmware uploads is probably an area that should be expanded in the Handbook. At present, it's mentioned but just refers to the sane driver man page, which in this case is libusb-specific. > What Freebsd are you using Warren? At the moment: 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Wed Sep 3 09:45:37 MDT 2008 -Warren Block * Rapid City, South Dakota USA