[sane-devel] Has anyone managed to get Snapscan backend working with FreeBSD 8.0 (which uses libusb)?

Torfinn Ingolfsen tingox at gmail.com
Sun Jan 24 19:08:43 UTC 2010


Hello,

I have an old Agfa Snapscan 1212U scanner which have served me well for
years, using SANE under FreeBSD.

To make a long story short; FreeBSD 8.0-release came with a new usb stack,
and is using libusb.
And my scanner no longer works. Has anyone managed to get the snapscan
backend working under FreeBSD 8.0?

Relevant information:
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
tingo 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
xsane-0.996_1               =  up-to-date with port

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

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] 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 (0x7fffffffe210, 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 at kg-v2# ls -l /dev/ugen2.2 /dev/usb/2.2.0
lrw-rw----  1 root  cups         9 Jan  6 22:46 /dev/ugen2.2 -> usb/2.2.0
crw-rw----  1 root  cups    0, 124 Jan  6 22:46 /dev/usb/2.2.0

What else can I try?
-- 
Regards,
Torfinn Ingolfsen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20100124/c4332c76/attachment.htm>


More information about the sane-devel mailing list