From owner-freebsd-usb@FreeBSD.ORG Tue Dec 16 15:57:07 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49D761065670 for ; Tue, 16 Dec 2008 15:57:07 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe15.swipnet.se [212.247.155.193]) by mx1.freebsd.org (Postfix) with ESMTP id D01D68FC14 for ; Tue, 16 Dec 2008 15:57:06 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=P3SC899gXHkOLDnkTYxLZw==:17 a=6I5d2MoRAAAA:8 a=sJz54ZvuoCm7DCKgxG4A:9 a=hEO82xvHaaXRyAJ51ngA:7 a=PW3Xn5mzJMGkkGqbPoExLpK2LzIA:4 a=LY0hPdMaydYA:10 Received: from [62.113.133.240] (account mc467741@c2i.net [62.113.133.240] verified) by mailfe15.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 421324136; Tue, 16 Dec 2008 16:57:04 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Tue, 16 Dec 2008 16:59:21 +0100 User-Agent: KMail/1.9.7 References: <200812122328.mBCNS8Zl018580@lurza.secnetix.de> <200812161431.50151.nick@anywi.com> In-Reply-To: <200812161431.50151.nick@anywi.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812161659.22450.hselasky@c2i.net> Cc: Nick Hibma Subject: Re: usb2 + scanner HP ScanJet 4300C X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Dec 2008 15:57:07 -0000 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