[sane-devel] Agfa Snapscan 1212U, with SANE, on El Capitan

Ralph Little skelband at gmail.com
Wed Sep 15 04:01:27 BST 2021


Hi,

On 2021-09-09 5:45 p.m., Niels Hutchison wrote:
> Thanks for replying, Ralph.
> Here's the Terminal outcome:
>
> miMac:~ Niels$ SANE_DEBUG_SNAPSCAN=128 scanimage -L
> [sanei_debug] Setting debug level of snapscan to 128.
> [snapscan] sane_snapscan_init
> [snapscan] sane_snapscan_init: Snapscan backend version 1.4.53
> [snapscan] add_usb_device(/dev/usb/scanner0 bus=usb)
> [snapscan] add_usb_device: Detected (kind of) an USB device
> [snapscan] snapscani_usb_open(/dev/usb/scanner0)
> [snapscan] add_usb_device: error opening device /dev/usb/scanner0:
> Invalid argument
> [snapscan] add_usb_device(libusb:003:005-06bd-2061-ff-ff)
> [snapscan] add_usb_device: Detected (kind of) an USB device
> [snapscan] snapscani_usb_open(libusb:003:005-06bd-2061-ff-ff)
> [snapscan] add_usb_device: Checking if 0x06bd is a supported USB vendor ID
> [snapscan] snapscani_check_device()
> [snapscan] mini_inquiry
> [snapscan] snapscan_cmd
> [snapscan] snapscani_usb_cmd(1,0x7fff58e99932,6,0x7fff58e99960,0x7fff58e99938
> (36))
> [snapscan] atomic_usb_cmd(1,0x7fff58e99932,6,0x7fff58e99960,0x7fff58e99938 (36))
> [snapscan] usb_cmd(1,0x7fff58e99932,6,0x7fff58e99960,0x7fff58e99938 (36))
> [snapscan] usb_cmd: cmdlen=6, datalen=0
> [snapscan] usb_write: writing: 0x12 0x00 0x00 0x00 0x24 0x00
> [snapscan] Written 6 bytes
> [snapscan] usb_read: reading: 0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00
> [snapscan] Read 8 bytes
> [snapscan] usb_read: reading: 0x06 0x00 0x02 0x02 0x49 0x00 0x00 0x00
> 0x41 0x47 ...
> [snapscan] Read 36 bytes
> [snapscan] usb_read: reading: 0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
> [snapscan] Read 8 bytes
> [snapscan] snapscani_check_device: Is vendor "AGFA" model "SNAPSCAN" a
> supported scanner?
> [snapscan] snapscani_get_model_id(SNAPSCAN, 1, 2)
> [snapscan] snapscani_get_model_id: looking up scanner for ID 0x06bd,0x2061.
> [snapscan] snapscani_check_device: Autodetected driver: SnapScan
> [snapscan] snapscani_usb_close(1)
> [snapscan] 1st read 3 write 1
> [snapscan] snapscani_init_device_structure()
> [snapscan] sane_snapscan_get_devices (0x7fff58e9a000, 0)
> device `snapscan:libusb:003:005-06bd-2061-ff-ff' is a AGFA SNAPSCAN
> flatbed scanner
> [snapscan] sane_snapscan_exit
>
Well that all looks good.
Can you do the same for an actual scan?
The output might be a bit big depending on how far it gets but please 
chop off what seems irrelevant if it is a lot of text.

Cheers,
Ralph



More information about the sane-devel mailing list