SANE vs USB scanner on 8.0
torfinn.ingolfsen at broadpark.no
Sun Jan 10 17:42:59 UTC 2010
Did anything more come out of this discussion?
I recently upgraded my main workstation to FreeBSD 8.0-stable:
tingo at 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 at kg-v2.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64
Attached to the machine is a Agfa SnapScan 1212U scanner:
root at 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 at 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 at kg-v2# SANE_DEBUG_SNAPSCAN=255 scanimage -v -v -L
[sanei_debug] Setting debug level of snapscan to 255.
[snapscan] sane_snapscan_init: Snapscan backend version 1.4.53
[snapscan] add_usb_device: Detected (kind of) an USB device
[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).
root at 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.
More information about the freebsd-usb