From owner-freebsd-usb@FreeBSD.ORG Mon Dec 22 14:49:17 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 84E4D1065673 for ; Mon, 22 Dec 2008 14:49:17 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (unknown [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id ED3B28FC1A for ; Mon, 22 Dec 2008 14:49:16 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id mBMEnEIi063573; Mon, 22 Dec 2008 15:49:14 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id mBMEnDO7063572; Mon, 22 Dec 2008 15:49:13 +0100 (CET) (envelope-from olli) Date: Mon, 22 Dec 2008 15:49:13 +0100 (CET) Message-Id: <200812221449.mBMEnDO7063572@lurza.secnetix.de> From: Oliver Fromme To: freebsd-usb@FreeBSD.ORG, hselasky@c2i.net In-Reply-To: <200812211644.20263.hselasky@c2i.net> X-Newsgroups: list.freebsd-usb User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Mon, 22 Dec 2008 15:49:14 +0100 (CET) Cc: 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: Mon, 22 Dec 2008 14:49:17 -0000 Hans Petter Selasky wrote: > > 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. YES! That did it. Thank you very much! # sane-find-scanner [...] found USB scanner (vendor=0x03f0, product=0x0305) at libusb:/dev/usb:/dev/ugen0.2 # scanimage -L device `niash:libusb:/dev/usb:/dev/ugen0.2' is a Hewlett-Packard ScanJet 4300C flatbed scanner # scanimage -v > foo.pnm scanimage: scanning image of size 1240x1712 pixels at 24 bits/pixel scanimage: acquiring RGB frame scanimage: min/max graylevel value = 51/255 scanimage: read 6368640 bytes in total # pnmfile foo.pnm foo.pnm: PPM raw, 1240 by 1712 maxval 255 However, it takes a _long_ time until the scanning starts (about one minute). Then the actual scnaning takes only a few seconds. The delay is independent from resolution, scanning mode and size. I'll need to investigate what's causing this. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things." -- Doug Gwyn