Date: Tue, 9 Sep 2008 10:48:14 -0600 (MDT) From: Warren Block <wblock@wonkity.com> To: Geoffrey <geoffrey@reptiles.org> Cc: doc@freebsd.org Subject: Re: sane configuration in Freebsd 7 Message-ID: <alpine.BSF.2.00.0809091003150.2898@wonkity.com> In-Reply-To: <20080909103426.N64474@gecko.reptiles.org> References: <20080908172940.K64474@gecko.reptiles.org> <20080909055234.GA98761@abigail.blackend.org> <20080909064619.Y64474@gecko.reptiles.org> <alpine.BSF.2.00.0809090733480.2388@wonkity.com> <20080909103426.N64474@gecko.reptiles.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <vendor 0x05d8 product 0x4002, class 255/255, rev 1.10/1.00, addr 2> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0809091003150.2898>