From owner-freebsd-usb@FreeBSD.ORG Sun Jan 10 18:26:20 2010 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 28FDA1065692 for ; Sun, 10 Jan 2010 18:26:20 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.swip.net [212.247.154.225]) by mx1.freebsd.org (Postfix) with ESMTP id 826DC8FC1C for ; Sun, 10 Jan 2010 18:26:19 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=foq1TbGgUBdTclol1LAA:9 a=LrHWr9ruQwy6cbQxNfEA:7 a=9BlpHR_z_Cun7G7tuTsTGr4lojgA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe08.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1327151487; Sun, 10 Jan 2010 19:26:17 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 10 Jan 2010 19:24:56 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <200909282240.53802.doconnor@gsoft.com.au> <200910291347.10390.hselasky@c2i.net> <20100110184252.a2efd4cd.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20100110184252.a2efd4cd.torfinn.ingolfsen@broadpark.no> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201001101924.56115.hselasky@c2i.net> Cc: Subject: Re: SANE vs USB scanner on 8.0 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: Sun, 10 Jan 2010 18:26:20 -0000 Hi, Try to find the source code that is printing those errors. --HPS On Sunday 10 January 2010 18:42:52 Torfinn Ingolfsen wrote: > Hi, > > Did anything more come out of this discussion? > I recently upgraded my main workstation to FreeBSD 8.0-stable: > tingo@kg-v2$ uname -a > FreeBSD kg-v2.kg4.no 8.0-STABLE FreeBSD 8.0-STABLE #1: Wed Jan 6 21:21:40 > CET 2010 root@kg-v2.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 > > Attached to the machine is a Agfa SnapScan 1212U scanner: > root@kg-v2# usbconfig -u 2 > ugen2.1: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) > pwr=ON ugen2.2: at usbus2, cfg=0 md=HOST spd=FULL > (12Mbps) pwr=ON > > root@kg-v2# sane-find-scanner -q > found USB scanner (vendor=0x03f0 [HP], product=0xc202 [Photosmart 8200 > series]) at libusb:/dev/usb:/dev/ugen1.2 found USB scanner (vendor=0x06bd > [AGFA], product=0x2061 [ Snapscan1212u_2]) at libusb:/dev/usb:/dev/ugen2.2 > > (I don't know why sane-find-scanner thiunks that my HP printer have a > scanner, but that doesn't matter) > > root@kg-v2# SANE_DEBUG_SNAPSCAN=255 scanimage -v -v -L > [sanei_debug] Setting debug level of snapscan to 255. > [snapscan] sane_snapscan_init > [snapscan] sane_snapscan_init: Snapscan backend version 1.4.53 > [snapscan] add_usb_device(libusb:/dev/usb:/dev/ugen2.2) > [snapscan] add_usb_device: Detected (kind of) an USB device > [snapscan] snapscani_usb_open(libusb:/dev/usb:/dev/ugen2.2) > [snapscan] snapscani_mutex_open: could not parse device string: No such > file or directory [snapscan] snapscani_usb_open: Can't get semaphore > [snapscan] add_usb_device: error opening device > libusb:/dev/usb:/dev/ugen2.2: Invalid argument [snapscan] > sane_snapscan_get_devices (0x7fffffffe220, 0) > > No scanners were identified. If you were expecting something different, > check that the scanner is plugged in, turned on and detected by the > sane-find-scanner tool (if appropriate). Please read the documentation > which came with this software (README, FAQ, manpages). > Calling sane_exit > [snapscan] sane_snapscan_exit > scanimage: finished > > root@kg-v2# portversion -v | grep ^sane > sane-backends-1.0.20_4 = up-to-date with port > sane-frontends-1.0.14_5 = up-to-date with port > > I did Google a bit, but that didn't turn up anything useful. >