Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Dec 2008 16:44:19 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        Oliver Fromme <olli@lurza.secnetix.de>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: usb2 + scanner HP ScanJet 4300C
Message-ID:  <200812211644.20263.hselasky@c2i.net>
In-Reply-To: <200812202113.mBKLDY4s072052@lurza.secnetix.de>
References:  <200812202113.mBKLDY4s072052@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 20 December 2008, Oliver Fromme wrote:
> Hans Petter Selasky wrote:
>  > On Friday 19 December 2008, Oliver Fromme wrote:
>  > > Unfortunately, the scanner attaches to ugen, not uscanner.
>  > > So there is no /dev/uscanner*, so SANE doesn't find it.  :-(
>  > > The scanner is listed in uscanner2.c, product ID and
>  > > vendor ID match.  Looks like more debugging is needed.
>  >
>  > Try to run:
>  >
>  > usbconfig -u xxx -a yyy reset
>
> OK, thanks.  That seems to get me yet another small step
> forward.  After the reset, dmesg reports:
>
>   uscanner0: <Hewlett Packard Scanjet 4300C, class 0/0, rev 1.00/0.00, addr
> 2> on usbus0 Symlink: uscanner0 -> usb0.2.0.18
>
> However, "usbconfig list" still lists it as ugen:
>
>   ugen0.2: <Scanjet 4300C Hewlett Packard> at usbus0, cfg=0 md=HOST
> spd=FULL (12Mbps) pwr=ON
>
> Now trying "sane-find-scanner /dev/usb0.2.0.18":
>
>   searching for USB scanners:
>   checking /dev/usb0.2.0.18... failed to open (Invalid argument)
>   ignoring libusb devices

You need to copy libusb20 (installed by default) over libusb0.1xxx. The libusb 
from sourceforge does not know how to talk with the new UGEN.

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812211644.20263.hselasky>