Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jan 2010 19:24:56 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-usb@freebsd.org
Subject:   Re: SANE vs USB scanner on 8.0
Message-ID:  <201001101924.56115.hselasky@c2i.net>
In-Reply-To: <20100110184252.a2efd4cd.torfinn.ingolfsen@broadpark.no>
References:  <200909282240.53802.doconnor@gsoft.com.au> <200910291347.10390.hselasky@c2i.net> <20100110184252.a2efd4cd.torfinn.ingolfsen@broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <OHCI root HUB nVidia> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps)
>  pwr=ON ugen2.2: <Snapscan1212u_2 AGFA> 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.
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001101924.56115.hselasky>