sane configuration in Freebsd 7
Warren Block
wblock at wonkity.com
Tue Sep 9 16:48:16 UTC 2008
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
More information about the freebsd-doc
mailing list