Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 2008 16:59:21 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-usb@freebsd.org
Cc:        Nick Hibma <nick@anywi.com>
Subject:   Re: usb2 + scanner HP ScanJet 4300C
Message-ID:  <200812161659.22450.hselasky@c2i.net>
In-Reply-To: <200812161431.50151.nick@anywi.com>
References:  <200812122328.mBCNS8Zl018580@lurza.secnetix.de> <200812161431.50151.nick@anywi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 16 December 2008, Nick Hibma wrote:
> >  > But other than that, i wouldn't waste much time:
> >  > for 50..80 euro you can get one of the
> >  > Epson multifunction printer scanners (i have personally
> >  > tried DX4400 to DX7050) which are well supported and
> >  > extremely reliable.
> >
> > I bought this ScanJet 4300 C specifically because it is
> > listed as supported by FreeBSD in the uscanner(4) manpage.
> > I'm not going to spend more money on anything else (which
> > wouldn't be guaranteed to work either).  Either I get this
> > beast to work somehow with FreeBSD, or I will have to use
> > a different OS to drive the scanner.
> >
> > Fortunately Hans Petter's advice seems to help, although
> > I still have to test whether SANE will work.  (But I'm
> > optimistic, now that the device attaches.)
>
> The uscanner driver for USB1 is very simple and does not do a set config
> index.
>
> HPS: set config index is not guarantueed to work on all devices. It's also
> normally not necessary, unless you want to change the configuration. There
> are of course devices that require it.

Is the number of configurations field zero in the device descriptor?

>
> An option is to ignore failure to set the configuration if the
> configuration index is the same as the current one. Or ignore the set
> configurationo if setting the same index unless a force flag is passed.
> Welcome to cheapo hardware.

Right.

>
> When you have the protocol analyzer you might want to check whether Windows
> sends set config index commands in all cases, or just when needed.
>
> Nick

Committed:

http://perforce.freebsd.org/chv.cgi?CH=154796

--HPS



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