From owner-freebsd-usb@FreeBSD.ORG Tue Dec 16 13:32:02 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 080501065670 for ; Tue, 16 Dec 2008 13:32:02 +0000 (UTC) (envelope-from nick@anywi.com) Received: from hpsmtp-eml15.kpnxchange.com (hpsmtp-eml15.KPNXCHANGE.COM [213.75.38.115]) by mx1.freebsd.org (Postfix) with ESMTP id 942768FC16 for ; Tue, 16 Dec 2008 13:32:01 +0000 (UTC) (envelope-from nick@anywi.com) Received: from cpsmtp-eml109.kpnxchange.com ([213.75.84.109]) by hpsmtp-eml15.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 16 Dec 2008 14:31:59 +0100 Received: from uitsmijter.van-laarhoven.org ([81.207.207.222]) by cpsmtp-eml109.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 16 Dec 2008 14:31:59 +0100 Received: (qmail 84446 invoked by uid 98); 16 Dec 2008 13:31:58 -0000 Received: from 10.251.2.191 (nick@10.251.2.191) by uitsmijter.van-laarhoven.org (envelope-from , uid 82) with qmail-scanner-2.01 (clamdscan: 0.92/5270. f-prot: 4.6.7/3.16.15. spamassassin: 3.2.3. Clear:RC:0(10.251.2.191):SA:0(-1.4/5.0):. Processed in 6.906178 secs); 16 Dec 2008 13:31:58 -0000 X-Spam-Status: No, score=-1.4 required=5.0 X-Spam-Level: Received: from unknown (HELO van-laarhoven.org) (nick@10.251.2.191) by uitsmijter.van-laarhoven.org with SMTP; 16 Dec 2008 13:31:51 -0000 Received: (nullmailer pid 33517 invoked by uid 1001); Tue, 16 Dec 2008 13:31:50 -0000 From: Nick Hibma Organization: AnyWi To: freebsd-usb@freebsd.org Date: Tue, 16 Dec 2008 14:31:49 +0100 User-Agent: KMail/1.9.10 References: <200812122328.mBCNS8Zl018580@lurza.secnetix.de> In-Reply-To: <200812122328.mBCNS8Zl018580@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812161431.50151.nick@anywi.com> X-OriginalArrivalTime: 16 Dec 2008 13:31:59.0974 (UTC) FILETIME=[AC695060:01C95F82] 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 13:32:02 -0000 > > 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. 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. 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 -- AnyWi Technologies