i'm trying to get a snapscan 310 scanner to work with sane.
i have fairly complicated setup,
abit pb6 dual celeron motherboard
a ncr scsi card(connecting to a lot of stuff)
and a aha1520 scsi card which connects to my scanner(only)
kernel 2.2.9smp
sane 1.0.1
snapscan backend 0.7
i run tools/find-scanners and it returns:
find-scanner: found scanner "AGFA SnapScan 1.40" at device /dev/scanner
find-scanner: found scanner "AGFA SnapScan 1.40" at device /dev/sg4
find-scanner: found scanner "AGFA SnapScan 1.40" at device /dev/sge
scsi_info /dev/sge returns:
SCSI_ID="0,3,0"
MODEL="AGFA SnapScan"
FW_REV="1.40"
scanimage -d snapscan:/dev/sge
gives the following(with DEBUG_SANE_SNAPSCAN set)
at the end it complains about io error,
and goes into some kind of loop.
Any suggestions would be very apreciated!!!!
[snapscan] sane_snapscan_init
[snapscan] add_device(/dev/sge)
[snapscan] mini_inquiry
[snapscan] add_device: Is vendor "AGFA" model "SnapScan" a supported
scanner?
[snapscan] sane_snapscan_open (/dev/sge, 0xbffffc28)
[snapscan] find_device
[snapscan] sane_snapscan_open: allocated scanner structure at 0x8055f40
[snapscan] open_scanner
[snapscan] sane_snapscan_open: performing scanner self test.
[snapscan] send_diagnostic
[snapscan] sane_snapscan_open: self test passed.
[snapscan] inquiry
[snapscan] inquiry: pixels per scan line = 2539
[snapscan] inquiry: bytes per scan line = 2539
[snapscan] inquiry: number of scan lines = 3425
[snapscan] inquiry: effective buffer size = 30468 bytes, 8 lines
[snapscan] inquiry: expected total scan data: 8696075 bytes
[snapscan] close_scanner
[snapscan] sane_snapscan_control_option (0x8055f40, 0, 0, 0xbffffc8c,
(nil))
[snapscan] open_scanner
[snapscan] close_scanner
[snapscan] sane_snapscan_control_option (0x8055f40, 0, 0, 0xbffffc44,
(nil))
[snapscan] open_scanner
[snapscan] close_scanner
[snapscan] sane_snapscan_get_option_descriptor (0x8055f40, 0)
[snapscan] sane_snapscan_get_option_descriptor (0x8055f40, 1)
[snapscan] sane_snapscan_get_option_descriptor (0x8055f40, 2)
[snapscan] sane_snapscan_get_option_descriptor (0x8055f40, 3)
[snapscan] sane_snapscan_get_option_descriptor (0x8055f40, 4)
[snapscan] sane_snapscan_get_option_descriptor (0x8055f40, 5)
[snapscan] sane_snapscan_get_option_descriptor (0x8055f40, 6)
[snapscan] sane_snapscan_get_option_descriptor (0x8055f40, 7)
[snapscan] sane_snapscan_control_option (0x8055f40, 7, 0, 0x804d118,
(nil))
[snapscan] open_scanner
[snapscan] close_scanner
[snapscan] sane_snapscan_get_option_descriptor (0x8055f40, 8)
[snapscan] sane_snapscan_control_option (0x8055f40, 8, 0, 0x804d11c,
(nil))
[snapscan] open_scanner
[snapscan] close_scanner
[snapscan] sane_snapscan_get_option_descriptor (0x8055f40, 9)
[snapscan] sane_snapscan_get_option_descriptor (0x8055f40, 10)
[snapscan] sane_snapscan_get_option_descriptor (0x8055f40, 11)
[snapscan] sane_snapscan_get_option_descriptor (0x8055f40, 12)
[snapscan] sane_snapscan_get_option_descriptor (0x8055f40, 13)
[snapscan] sane_snapscan_get_option_descriptor (0x8055f40, 14)
[snapscan] sane_snapscan_get_option_descriptor (0x8055f40, 15)
[snapscan] sane_snapscan_get_option_descriptor (0x8055f40, 16)
[snapscan] sane_snapscan_get_option_descriptor (0x8055f40, 17)
[snapscan] sane_snapscan_get_option_descriptor (0x8055f40, 18)
[snapscan] sane_snapscan_get_option_descriptor (0x8055f40, 19)
[snapscan] sane_snapscan_get_option_descriptor (0x8055f40, 20)
[snapscan] sane_snapscan_get_option_descriptor (0x8055f40, 21)
[snapscan] sane_snapscan_get_option_descriptor (0x8055f40, 22)
[snapscan] sane_snapscan_get_option_descriptor (0x8055f40, 23)
[snapscan] sane_snapscan_get_option_descriptor (0x8055f40, 24)
[snapscan] sane_snapscan_control_option (0x8055f40, 5, 0, 0xbffffc40,
(nil))
[snapscan] open_scanner
[snapscan] close_scanner
[snapscan] sane_snapscan_control_option (0x8055f40, 6, 0, 0xbffffc40,
(nil))
[snapscan] open_scanner
[snapscan] close_scanner
[snapscan] sane_snapscan_control_option (0x8055f40, 5, 0, 0xbffffc88,
(nil))
[snapscan] open_scanner
[snapscan] close_scanner
[snapscan] sane_snapscan_get_option_descriptor (0x8055f40, 7)
[snapscan] sane_snapscan_control_option (0x8055f40, 7, 1, 0xbffffc84,
0xbffffc3c)
[snapscan] open_scanner
[snapscan] sane_snapscan_control_option: option br-x set to value
[snapscan] other than an integer or boolean.
[snapscan] set_window
[snapscan] set_window: bits-per-pixel set to 24
[snapscan] set_window
[snapscan] close_scanner
[snapscan] sane_snapscan_control_option (0x8055f40, 6, 0, 0xbffffc88,
(nil))
[snapscan] open_scanner
[snapscan] close_scanner
[snapscan] sane_snapscan_get_option_descriptor (0x8055f40, 8)
[snapscan] sane_snapscan_control_option (0x8055f40, 8, 1, 0xbffffc84,
0xbffffc3c)
[snapscan] open_scanner
[snapscan] sane_snapscan_control_option: option br-y set to value
[snapscan] other than an integer or boolean.
[snapscan] set_window
[snapscan] set_window: bits-per-pixel set to 24
[snapscan] set_window
[snapscan] close_scanner
[snapscan] sane_snapscan_start (0x8055f40)
[snapscan] open_scan[snapscan] wait_scanner_ready
[snapscan] test_unit_ready
[snapscan] request_sense
[snapscan] sense_handler(7, 0xbfff7b3c, 0x8055f40)
[snapscan] send
[snapscan] send
[snapscan] send
[snapscan] set_window
[snapscan] set_window: bits-per-pixel set to 24
[snapscan] set_window
[snapscan] inquiry
[snapscan] inquiry: pixels per scan line = 2539
[snapscan] inquiry: bytes per scan line = 7617
[snapscan] inquiry: number of scan lines = 3425
[snapscan] inquiry: effective buffer size = 30468 bytes, 8 lines
[snapscan] inquiry: expected total scan data: 26088225 bytes
[snapscan] sane_snapscan_start: have ring buffer
[snapscan] scsi_read
[snapscan] transfer_data_8
[snapscan] transfer_data_8: transferred 4 lines (30468 bytes)
[snapscan] scsi_read
[snapscan] sane_snapscan_start: successfully calibrated transfer rate.
[snapscan] inquiry
[snapscan] inquiry: pixels per scan line = 2539
[snapscan] inquiry: bytes per scan line = 7617
[snapscan] inquiry: number of scan lines = 3425
[snapscan] inquiry: effective buffer size = 30468 bytes, 8 lines
[snapscan] inquiry: expected total scan data: 26088225 bytes
[snapscan] sane_snapscan_start: after measuring speed:
7617 bytes per scan line
19.799999 milliseconds per scan line.
==>384.696985 bytes per millisecond
[snapscan] reserve_unit
[snapscan] scan
[snapscan] scan
[snapscan] sane_snapscan_start: starting the reader process.
[snapscan] start_reader
[snapscan] sane_snapscan_get_parameters (0x8055f40, 0xbfff7c34)
[snapscan] Child reader process
[snapscan] open_scanner
[snapscan] inquiry
[snapscan] scsi_read
[snapscan] scsi_read: sanei_scsi_cmd command failed: Error during device
I/O
[snapscan] Child reader process: Error during device I/O on read.
[snapscan] inquiry: pixels per scan line = 2539
[snapscan] inquiry: bytes per scan line = 7617
[snapscan] inquiry: number of scan lines = 3425
[snapscan] inquiry: effective buffer size = 30468 bytes, 8 lines
[snapscan] inquiry: expected total scan data: 26088225 bytes
[snapscan] close_scanner
[snapscan] sane_snapscan_get_parameters: depth = 8
[snapscan] sane_snapscan_get_parameters: lines = 3425
[snapscan] sane_snapscan_get_parameters: pixels per line = 2539
[snapscan] sane_snapscan_get_parameters: bytes per line = 7617
[snapscan] sane_snapscan_read (0x8055f40, 0xbfff7c4c, 32768, 0xbfff7c18)
[snapscan] sane_snapscan_read (0x8055f40, 0xbfff7c4c, 32768, 0xbfff7c18)
[snapscan] sane_snapscan_read (0x8055f40, 0xbfff7c4c, 32768, 0xbfff7c18)
[snapscan] sane_snapscan_read (0x8055f40, 0xbfff7c4c, 32768, 0xbfff7c18)
[snapscan] sane_snapscan_read (0x8055f40, 0xbfff7c4c, 32768, 0xbfff7c18)
[snapscan] sane_snapscan_read (0x8055f40, 0xbfff7c4c, 32768, 0xbfff7c18)
[snapscan] sane_snapscan_read (0x8055f40, 0xbfff7c4c, 32768, 0xbfff7c18)
[snapscan] sane_snapscan_read (0x8055f40, 0xbfff7c4c, 32768, 0xbfff7c18)
[snapscan] sane_snapscan_read (0x8055f40, 0xbfff7c4c, 32768, 0xbfff7c18)
[snapscan] sane_snapscan_read (0x8055f40, 0xbfff7c4c, 32768, 0xbfff7c18)
[snapscan] sane_snapscan_read (0x8055f40, 0xbfff7c4c, 32768, 0xbfff7c18)
[snapscan] sane_snapscan_read (0x8055f40, 0xbfff7c4c, 32768, 0xbfff7c18)
[snapscan] sane_snapscan_read (0x8055f40, 0xbfff7c4c, 32768, 0xbfff7c18)
[snapscan] sane_snapscan_read (0x8055f40, 0xbfff7c4c, 32768, 0xbfff7c18)
[snapscan] sane_snapscan_read (0x8055f40, 0xbfff7c4c, 32768, 0xbfff7c18)
[snapscan] sane_snapscan_read (0x8055f40, 0xbfff7c4c, 32768, 0xbfff7c18)
[snapscan] sane_snapscan_read (0x8055f40, 0xbfff7c4c, 32768, 0xbfff7c18)
[snapscan] sane_snapscan_read (0x8055f40, 0xbfff7c4c, 32768, 0xbfff7c18)
[snapscan] sane_snapscan_read (0x8055f40, 0xbfff7c4c, 32768, 0xbfff7c18)
-- Joakim Verona joakim@verona.se http://www.verona.se/~joakimv
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com