Sorry, I forgot to post more information on my system:
I'm running debian on a 2.4.20 kernel, sane is version1.0.13
sane-find-scanner gives me a:
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a SCSI driver for your SCSI adapter.
found USB scanner (vendor=0x06bd [AGFA ], product=0x2061 [SNAPSCAN]) at libusb:002:002
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
# Scanners connected to the parallel port or other proprietary ports can't be
# detected by this program.
... looks o.k.
cat /proc/bus/usb/devices shows the following:
T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB OHCI Root Hub
S: SerialNumber=d488e000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB OHCI Root Hub
S: SerialNumber=d488c000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=cc00
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS= 8 #Cfgs= 1
P: Vendor=06bd ProdID=2061 Rev= 1.00
S: Manufacturer=AGFA
S: Product=SNAPSCAN
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 8 Ivl=0ms
E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=16ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 93/900 us (10%), #Int= 1, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=d000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=1.5 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=046d ProdID=c00e Rev=11.10
S: Manufacturer=Logitech
S: Product=USB-PS/2 Optical Mouse
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 98mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=usb_mouse
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=10ms
seems to be o.k., too.
But now the trouble begins:
running scanimage -T
with SANE_DEBUG_SNAPSCAN=255
shows the following output:
[snapscan] sane_snapscan_init
[snapscan] sane_snapscan_init: Snapscan backend version 1.4.35
[snapscan] add_usb_device(libusb:002:002)
[snapscan] add_usb_device: Detected (kind of) an USB device
[snapscan] snapscani_usb_open(libusb:002:002)
[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(0,0xbfffd900,6,0xbfffd8d0,0xbfffd8cc (36))
[snapscan] atomic_usb_cmd(0,0xbfffd900,6,0xbfffd8d0,0xbfffd8cc (36))
[snapscan] usb_cmd(0,0xbfffd900,6,0xbfffd8d0,0xbfffd8cc (36))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing: 0x12 0x00 0x00 0x00 0x24 0x00
[snapscan] usb_read: reading: 0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] usb_read: reading: 0x06 0x00 0x02 0x02 0x49 0x00 0x00 0x00 0x41 0x47 ...
[snapscan] usb_read: reading: 0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] snapscani_check_device: Is vendor "AGFA" model "SNAPSCAN" a supported scanner?
[snapscan] snapscani_get_model_id(SNAPSCAN, 0, 2)
[snapscan] snapscani_get_model_id: looking up scanner for ID 0x06bd,0x2061.
[snapscan] snapscani_check_device: Autodetected driver: SnapScan
[snapscan] snapscani_usb_close(0)
[snapscan] snapscani_init_device_structure()
[snapscan] sane_snapscan_get_devices (0xbfffeaf8, 0)
[snapscan] sane_snapscan_open (libusb:002:002, 0xbfffeaf4)
[snapscan] find_device
[snapscan] sane_snapscan_open: Allocating 64512 bytes as scanner buffer.
[snapscan] sane_snapscan_open: allocated scanner structure at 0x808b7f0
[snapscan] open_scanner
[snapscan] snapscani_usb_open(libusb:002:002)
[snapscan] sane_snapscan_open: waiting for scanner to warm up.
[snapscan] wait_scanner_ready
[snapscan] test_unit_ready
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0xbfffea00,6,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0xbfffea00,6,0x0,0x0 (0))
[snapscan] usb_cmd(0,0xbfffea00,6,0x0,0x0 (0))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing: 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] usb_read: reading: 0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] sane_snapscan_open: performing scanner self test.
[snapscan] send_diagnostic
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0xbfffea40,6,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0xbfffea40,6,0x0,0x0 (0))
[snapscan] usb_cmd(0,0xbfffea40,6,0x0,0x0 (0))
[snapscan] sane_snapscan_open: self test passed.
[snapscan] inquiry
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0x808b820,6,0x808bf60,0x808b930 (120))
[snapscan] atomic_usb_cmd(0,0x808b820,6,0x808bf60,0x808b930 (120))
[snapscan] usb_cmd(0,0x808b820,6,0x808bf60,0x808b930 (120))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing: 0x12 0x00 0x00 0x00 0x78 0x00
[snapscan] usb_read: reading: 0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] usb_read: reading: 0x06 0x00 0x02 0x02 0x49 0x00 0x00 0x00 0x41 0x47 ...
[snapscan] usb_read: reading: 0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] inquiry: exposure time: 0.0 ms
[snapscan] inquiry: ms per line: 0.000000
[snapscan] inquiry: hardware config = 0x00
[snapscan] inquiry: bits per pixel = 8
[snapscan] inquiry: pixels per scan line = 0
[snapscan] inquiry: bytes per scan line = 0
[snapscan] inquiry: number of scan lines = 0
[snapscan] inquiry: effective buffer size = 0 bytes, 0 lines
[snapscan] inquiry: expected total scan data: 0 bytes
[snapscan] Looking up 97
[snapscan] Downloading /usr/share/sane/SnapScan1212U_2.bin
[snapscan] Size of firmware: 30906
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0x809bcd8,30916,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0x809bcd8,30916,0x0,0x0 (0))
[snapscan] usb_cmd(0,0x809bcd8,30916,0x0,0x0 (0))
[snapscan] usb_cmd: cmdlen=10, datalen=30906
[snapscan] usb_write: writing: 0x2a 0x00 0x87 0x00 0x00 0x00 0x00 0x78 0xba 0x00
[snapscan] usb_read: reading: 0xf8 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] usb_write: writing: 0x02 0xf6 0x00 0x32 0xff 0xff 0xff 0xff 0xff 0xff ...
[snapscan] usb_read: reading: 0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] wait_scanner_ready
[snapscan] test_unit_ready
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0xbfffea00,6,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0xbfffea00,6,0x0,0x0 (0))
[snapscan] usb_cmd(0,0xbfffea00,6,0x0,0x0 (0))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing: 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] usb_read: reading: 0xfb 0x02 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] usb_request_sense
[snapscan] usb_cmd(0,0xbfffe760,6,0xbfffe740,0xbfffe73c (20))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing: 0x03 0x00 0x00 0x00 0x14 0x00
[snapscan] usb_read: reading: 0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] usb_read: reading: 0xf0 0x00 0x02 0x00 0x00 0x00 0x00 0x0b 0x00 0x00 ...
[snapscan] usb_read: reading: 0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] sense_handler(0, 0xbfffe740, 0x808b7f0)
[snapscan] sense_handler: sense key: 0x02, asc: 0x04, ascq: 0x01, i1: 0x0f, i2: 0x00
[snapscan] sense_handler: Not ready.
[snapscan] sense_handler: Logical unit is in process of becoming ready. (15 seconds)
[snapscan] sense_handler: Not ready.
[snapscan] test_unit_ready: snapscan_cmd command failed: Device busy
[snapscan] Scanner warming up - waiting 16 seconds.
[snapscan] test_unit_ready
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0xbfffea00,6,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0xbfffea00,6,0x0,0x0 (0))
[snapscan] usb_cmd(0,0xbfffea00,6,0x0,0x0 (0))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing: 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] usb_read: reading: 0xfb 0x02 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] usb_request_sense
[snapscan] usb_cmd(0,0xbfffe760,6,0xbfffe740,0xbfffe73c (20))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing: 0x03 0x00 0x00 0x00 0x14 0x00
[snapscan] usb_read: reading: 0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] usb_read: reading: 0xf0 0x00 0x04 0x00 0x00 0x00 0x00 0x0b 0x00 0x00 ...
[snapscan] usb_read: reading: 0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] sense_handler(0, 0xbfffe740, 0x808b7f0)
[snapscan] sense_handler: sense key: 0x04, asc: 0x00, ascq: 0x00, i1: 0x10, i2: 0x00
[snapscan] sense_handler: Hardware error. (0x10, 0x00)
[snapscan] test_unit_ready: snapscan_cmd command failed: Error during device I/O
[snapscan] wait_scanner_ready: hardware error detected.
[snapscan] sane_snapscan_open: wait_scanner_ready after firmware upload command failed: Error during device I/O
scanimage: open of device snapscan:libusb:002:002 failed: Error during device I/O
[snapscan] sane_snapscan_exit
... while the scanner lights up, moves into position - and then stops with a
scratching noise (so i turned it off...)
Any help would be appreciated...
uwejs