From owner-freebsd-usb@FreeBSD.ORG Thu May 10 12:04:19 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4B18F16A403 for ; Thu, 10 May 2007 12:04:19 +0000 (UTC) (envelope-from andrew@dobrohot.org) Received: from smtp-18.masterhost.ru (smtp-18.masterhost.ru [83.222.24.118]) by mx1.freebsd.org (Postfix) with SMTP id 9950A13C469 for ; Thu, 10 May 2007 12:04:18 +0000 (UTC) (envelope-from andrew@dobrohot.org) Received: (qmail 16611 invoked from network); 10 May 2007 12:04:01 -0000 Received: from ns.km10433.keymachine.de (HELO inspirra.localdomain) (izdat%dobrohot.org@62.141.50.149) by smtp1.masterhost.ru with SMTP; 10 May 2007 12:04:01 -0000 Received: from inspirra.localdomain (inspirra.localdomain [192.168.2.1]) by inspirra.localdomain (8.13.8/8.13.8) with ESMTP id l4AC3JBC091032 for ; Thu, 10 May 2007 16:03:19 +0400 (MSD) (envelope-from andrew@dobrohot.org) Message-ID: <46430A07.6000505@dobrohot.org> Date: Thu, 10 May 2007 16:03:19 +0400 From: Andrew Muhametshin Organization: =?windows-1251?Q?=C0=CD=CE_=22=C4=EE=E1=F0=EE=F5=EE=F2=22?= User-Agent: Thunderbird 2.0.0.0 (X11/20070423) MIME-Version: 1.0 CC: freebsd-usb@freebsd.org References: <4640EB7F.9090308@dobrohot.org> <200705091852.54827.hselasky@c2i.net> In-Reply-To: <200705091852.54827.hselasky@c2i.net> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: No scanners were identified, with new USB driver 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: Thu, 10 May 2007 12:04:19 -0000 Hans Petter Selasky wrote: > On Tuesday 08 May 2007 23:28, Andrew Muhametshin wrote: > >> Hello >> >> I have tried to take advantage of new usb-driver >> (http://www.turbocat.net/~hselasky/usb4bsd/index.html). >> But there were problems -- program (sane) cannot find out the device... >> >> > > Did you try "kldload uscanner" ? > > Then re-plug your scanner and see if it doesn't show up. > > --HPS > Yes, thanks, with the module "uscanner", scanner is defined and works. But too, not without problems. Each sixth-seventh scanning terminates in failure. Sometimes, scanning interrupts during process. And sometimes, lags after moving a scanning CCD-element to initial position. ==================_START ttyv1_==================== # tail -n 0 -f /var/log/messages.log | tee ./hw.usb.debug-04.txt ==================_THE END_====================== *The log-file can be loaded from here: http://www.dobrohot.org/hw.usb.debug-04.txt.bz2 (28Kb) or here: http://www.dobrohot.org/hw.usb.debug-04.txt (7.5Mb) ==================_START ttyv2_==================== $ for (( X=1 ; X <= 10 ; X++ )) ; do \ > echo $X ; \ > sleep 3 && scanimage -v -p --quick-format CD --resolution 800 --mode Color > /dev/null ; \ > done 1 scanimage: scanning image of size 3776x3780 pixels at 24 bits/pixel scanimage: acquiring RGB frame scanimage: min/max graylevel value = 55/255 scanimage: read 42819840 bytes in total 2 scanimage: scanning image of size 3776x3780 pixels at 24 bits/pixel ...skipping... 7 scanimage: scanning image of size 3776x3780 pixels at 24 bits/pixel scanimage: acquiring RGB frame scanimage: min/max graylevel value = 54/255 scanimage: read 42819840 bytes in total 8 scanimage: scanning image of size 3776x3780 pixels at 24 bits/pixel scanimage: acquiring RGB frame scanimage: min/max graylevel value = 55/255 scanimage: sane_read: Invalid argument ==================_THE END_====================== And as, some programs do not work with the module uscanner (only with ugen) for example, "/usr/ports/sysutils/scanbuttond". With the best regards, Andrew M.