Hello,
I am having an issue when trying to use a Avision AV210D2+ scanner.
I am running CentOS 7.2 using sane-backends 1.0.24.

fujitsu fi-6130z and 7160 both work fine on the same platform.

USB 3 is turned off in the bios and lsusb -t shows the scanner is using the 
ehci-pc usb module.

The scanner is seen properly by sane-find-scanner  and scanimage -L.
device `avision:libusb:002:032' is a Avision AV210D2+ sheetfed scanner

When attempting to scan a documents, scanimage -d avision >test.jpg the console 
error message
is segmentation fault. dmesg shows  segfault at 7fa93c82a9d0 ip 
00007fa94a2a1de0 sp  00007fff384ef888 error 4 in 
libpthread-2.17.so[7fa94a299000+17000]

Some things I have tried:
- passing various supported geometry and resolution options to scanimage .
- removing all backends from dll.conf except for avision
- rotated amongst all usb ports
- bios update to workstation

Its very important that I get this scanner model working on this OS.
Does anyone think it worthwhile to remove the Centos 1.0.24 rpm and install 
1.0.25 from the daily git snapshot ?
Any suggestions would be appreciated.

Lastly, below is partial  output of SANE_DEBUG_AVISION=7 scanimage >testfile

[avision] sane_open:
[avision] attach:
[avision] sane_open: using open_extended
[avision] sane_open: got 1048576 scsi_max_request_size
[avision] inquiry: length: 96
[avision] inquiry: inquiring ...
[avision] filling command to have a length of 10, was: 6
[avision] Timeouts: write: 30000, read: 1000, status: 1000
[avision] avision_usb_status: timeout 1000, 1 retries
[avision] ==> (bulk read) going down ...
[avision] <== (bulk read) got: 1, status: 0
[avision] wait_ready: sending TEST_UNIT_READY
[avision] filling command to have a length of 10, was: 6
[avision] Timeouts: write: 30000, read: 15000, status: 15000
[avision] avision_usb_status: timeout 15000, 1 retries
[avision] ==> (bulk read) going down ...
[avision] <== (bulk read) got: 1, status: 0
[avision] get_accessories_info
[avision] Timeouts: write: 30000, read: 30000, status: 10000
[avision] avision_usb_status: timeout 10000, 1 retries
[avision] ==> (bulk read) going down ...
[avision] <== (bulk read) got: 1, status: 0
[avision] get_accessories_info: raw data:
[avision]   [0] 00000011b   3o   3d  3x
[avision]   [1] 00000000b   0o   0d  0x
[avision]   [2] 00000000b   0o   0d  0x
[avision]   [3] 00000000b   0o   0d  0x
[avision]   [4] 00000000b   0o   0d  0x
[avision]   [5] 00000000b   0o   0d  0x
[avision]   [6] 00000000b   0o   0d  0x
[avision]   [7] 00000000b   0o   0d  0x
[avision] get_accessories_info: [0]  ADF: 3
[avision] get_accessories_info: [1]  Light Box: 0
[avision] get_accessories_info: [2]  ADF model: 0 (Origami)
[avision] add_color_mode: 0 Lineart
[avision] add_color_mode: 1 Dithered
[avision] add_color_mode: 2 Gray
[avision] add_color_mode: 4 16bit Gray
[avision] add_color_mode: 5 Color
[avision] add_color_mode: 7 16bit Color
[avision] init_options:
[avision] init_options: dpi_range.min set to 50
[avision] max_string_size:
[avision] match_color_mode:
[avision] match_color_mode: found at 4 mode: 5
[avision] max_string_size:
[avision] match_source_mode: "ADF Front"
[avision] match_source_mode: found at 0 mode: 2
[avision] match_source_mode_dim: 2
[avision] sane_get_option_descriptor: 0
[avision] sane_control_option: option=0, action=0
[avision] sane_control_option: option=, action=GET
[avision] sane_get_option_descriptor: 0
[avision] sane_control_option: option=0, action=0
[avision] sane_control_option: option=, action=GET
[avision] sane_get_option_descriptor: 1
[avision] sane_get_option_descriptor: 2
[avision] sane_get_option_descriptor: 3
[avision] sane_get_option_descriptor: 4
[avision] sane_get_option_descriptor: 5
[avision] sane_get_option_descriptor: 6
[avision] sane_get_option_descriptor: 7
[avision] sane_get_option_descriptor: 8
[avision] sane_get_option_descriptor: 9
[avision] sane_get_option_descriptor: 10
[avision] sane_get_option_descriptor: 11
[avision] sane_get_option_descriptor: 12
[avision] sane_get_option_descriptor: 13
[avision] sane_get_option_descriptor: 14
[avision] sane_get_option_descriptor: 15
[avision] sane_get_option_descriptor: 16
[avision] sane_get_option_descriptor: 17
[avision] sane_get_option_descriptor: 18
[avision] sane_get_option_descriptor: 19
[avision] sane_get_option_descriptor: 20
[avision] sane_get_option_descriptor: 21
[avision] sane_get_option_descriptor: 22
[avision] sane_get_option_descriptor: 23
[avision] sane_get_option_descriptor: 24
[avision] sane_get_option_descriptor: 25
[avision] sane_get_option_descriptor: 26
[avision] sane_get_option_descriptor: 27
[avision] sane_get_option_descriptor: 28
[avision] sane_get_option_descriptor: 29
[avision] sane_get_option_descriptor: 30
[avision] sane_get_option_descriptor: 31
[avision] sane_get_option_descriptor: 32
[avision] sane_get_option_descriptor: 33
[avision] sane_control_option: option=10, action=0
[avision] sane_control_option: option=br-x, action=GET
[avision] sane_control_option: option=8, action=0
[avision] sane_control_option: option=tl-x, action=GET
[avision] sane_control_option: option=11, action=0
[avision] sane_control_option: option=br-y, action=GET
[avision] sane_control_option: option=9, action=0
[avision] sane_control_option: option=tl-y, action=GET
[avision] sane_control_option: option=8, action=0
[avision] sane_control_option: option=tl-x, action=GET
[avision] sane_get_option_descriptor: 10
[avision] sane_control_option: option=10, action=1
[avision] sane_control_option: option=br-x, action=SET
[avision] constrain_value:
[avision] sane_control_option: option=9, action=0
[avision] sane_control_option: option=tl-y, action=GET
[avision] sane_get_option_descriptor: 11
[avision] sane_control_option: option=11, action=1
[avision] sane_control_option: option=br-y, action=SET
[avision] constrain_value:
[avision] sane_start:
[avision] sane_get_parameters:
[avision] sane_get_parameters: computing parameters
[avision] sane_compute_parameters:
[avision] sane_compute_parameters: boundary 4, gray_mode: 1,
[avision] sane_compute_parameters: tlx: 0.000000, tly: 0.000000, brx: 
303.000000, bry: 355.000000
[avision] sane_compute_parameters: overscan lines: 0
[avision] sane_compute_parameters: hw_xres: 150, hw_yres: 150, line_difference: 0
[avision] sane_compute_parameters: tlx: 0, tly: 0, brx: 1789, bry: 2096
[avision] sane_compute_parameters: hw_pixel_per_line: 1788, hw_lines: 2096, 
hw_bytes_per_line: 0
[avision] sane_compute_parameters: xres: 150, yres: 150
[avision] sane_compute_parameters: pixel_per_line: 1788, lines: -1
[avision] sane_compute_parameters: depth: 8, bytes_per_line: 5364
[avision] filling command to have a length of 10, was: 6
[avision] Timeouts: write: 30000, read: 30000, status: 10000
[avision] avision_usb_status: timeout 10000, 1 retries
[avision] ==> (bulk read) going down ...
[avision] <== (bulk read) got: 1, status: 0
[avision] media_check: result
[avision]   [0] 00000001b   1o   1d  1x
[avision] sane_start: media_check ok
[avision] wait_4_light: getting light status.
[avision] wait_4_light: read bytes 1
[avision] Timeouts: write: 30000, read: 30000, status: 10000
[avision] avision_usb_status: timeout 10000, 1 retries
[avision] ==> (bulk read) going down ...
[avision] <== (bulk read) got: 1, status: 0
[avision] wait_4_light: command is 0. Result is on
[avision] set_window:
[avision] set_window: base_dpi_abs: 1200, base_dpi_rel: 1200
[avision] set_window: base paralen: 7
[avision] set_window: final paralen: 20
[avision] set_window: transferlen: 70
[avision] set_window: large data-transfer support (>16bit)!
[avision] set_window: source mode 2 source mode dim 2
[avision] set_window: filling ADF bits
[avision] window_data_header:
[avision]   [0] 00000000b   0o   0d  0x
[avision]   [1] 00000000b   0o   0d  0x
[avision]   [2] 00000000b   0o   0d  0x
[avision]   [3] 00000000b   0o   0d  0x
[avision]   [4] 00000000b   0o   0d  0x
[avision]   [5] 00000000b   0o   0d  0x
[avision]   [6] 00000000b   0o   0d  0x
[avision]   [7] 00111110b  76o  62d 3ex
[avision] window_descriptor:
[avision]   [0] 00000000b   0o   0d  0x
[avision]   [1] 00000000b   0o   0d  0x
[avision]   [2] 00000000b   0o   0d  0x
[avision]   [3] 10010110b 226o 150d 96x
[avision]   [4] 00000000b   0o   0d  0x
[avision]   [5] 10010110b 226o 150d 96x
[avision]   [6] 00000000b   0o   0d  0x
[avision]   [7] 00000000b   0o   0d  0x
[avision]   [8] 00000000b   0o   0d  0x
[avision]   [9] 00000000b   0o   0d  0x
[avision]   [10] 00000000b   0o   0d  0x
[avision]   [11] 00000000b   0o   0d  0x
[avision]   [12] 00000000b   0o   0d  0x
[avision]   [13] 00000000b   0o   0d  0x
[avision]   [14] 00000000b   0o   0d  0x
[avision]   [15] 00000000b   0o   0d  0x
[avision]   [16] 00110111b  67o  55d 37x
[avision]   [17] 11100001b 341o 225d e1x
[avision]   [18] 00000000b   0o   0d  0x
[avision]   [19] 00000000b   0o   0d  0x
[avision]   [20] 01000001b 101o  65d 41x
[avision]   [21] 10000001b 201o 129d 81x
[avision]   [22] 10000000b 200o 128d 80x
[avision]   [23] 10000000b 200o 128d 80x
[avision]   [24] 10000000b 200o 128d 80x
[avision]   [25] 00000101b   5o   5d  5x
[avision]   [26] 00001000b  10o   8d  8x
[avision]   [27] 00000000b   0o   0d  0x
[avision]   [28] 00000000b   0o   0d  0x
[avision]   [29] 00000011b   3o   3d  3x
[avision]   [30] 00000000b   0o   0d  0x
[avision]   [31] 00000000b   0o   0d  0x
[avision]   [32] 00000000b   0o   0d  0x
[avision]   [33] 00000000b   0o   0d  0x
[avision]   [34] 00000000b   0o   0d  0x
[avision]   [35] 10100000b 240o 160d a0x
[avision]   [36] 00000000b   0o   0d  0x
[avision]   [37] 00000000b   0o   0d  0x
[avision]   [38] 00000000b   0o   0d  0x
[avision]   [39] 00000000b   0o   0d  0x
[avision]   [40] 11111111b 377o 255d ffx
[avision]   [41] 00010100b  24o  20d 14x
[avision]   [42] 11100000b 340o 224d e0x
[avision]   [43] 11111111b 377o 255d ffx
[avision]   [44] 00000000b   0o   0d  0x
[avision]   [45] 00010100b  24o  20d 14x
[avision]   [46] 11110100b 364o 244d f4x
[avision]   [47] 00001000b  10o   8d  8x
[avision]   [48] 00110000b  60o  48d 30x
[avision]   [49] 00010000b  20o  16d 10x
[avision]   [50] 00000000b   0o   0d  0x
[avision]   [51] 00000000b   0o   0d  0x
[avision]   [52] 00000000b   0o   0d  0x
[avision]   [53] 00000000b   0o   0d  0x
[avision]   [54] 00000000b   0o   0d  0x
[avision]   [55] 00000000b   0o   0d  0x
[avision]   [56] 00000000b   0o   0d  0x
[avision]   [57] 00000000b   0o   0d  0x
[avision]   [58] 00000000b   0o   0d  0x
[avision]   [59] 00000000b   0o   0d  0x
[avision]   [60] 00000000b   0o   0d  0x
[avision]   [61] 00000000b   0o   0d  0x
[avision]   [62] 00000000b   0o   0d  0x
[avision]   [63] 00000000b   0o   0d  0x
[avision] set_window: [0]     window_id: 0
[avision] set_window: [2-3]   x-axis res: 150
[avision] set_window: [4-5]   y-axis res: 150
[avision] set_window: [6-9]   x-axis upper left: 0
[avision] set_window: [10-13] y-axis upper left: 0
[avision] set_window: [14-17] window width: 14305
[avision] set_window: [18-21] window length: 16769
[avision] set_window: [22]    brightness: 128
[avision] set_window: [23]    threshold: 128
[avision] set_window: [24]    contrast: 128
[avision] set_window: [25]    image composition: 5
[avision] set_window: [26]    bits per channel: 8
[avision] set_window: [27-28] halftone pattern: 0
[avision] set_window: [29]    padding_and_bitset: 3
[avision] set_window: [30-31] bit ordering: 0
[avision] set_window: [32]    compression type: 0
[avision] set_window: [33]    compression argument: 0
[avision] set_window: [34-35] paper length: a0
[avision] set_window: [40]    vendor id: ff
[avision] set_window: [41]    param length: 20
[avision] set_window: [42]    bitset1: e0
[avision] set_window: [43]    highlight: 255
[avision] set_window: [44]    shadow: 0
[avision] set_window: [45-46] line-width: 5364
[avision] set_window: [47-48] line-count: 2096
[avision] set_window: [49]    bitset2: 10
[avision] set_window: [50]    ir exposure time: 0
[avision] set_window: [51-52] r exposure: 0
[avision] set_window: [53-54] g exposure: 0
[avision] set_window: [55-56] b exposure: 0
[avision] set_window: [57]    bitset3: 0
[avision] set_window: [58]    auto focus: 0
[avision] set_window: [59]    line-width (MSB): 0
[avision] set_window: [60]    line-count (MSB): 0
[avision] set_window: [61]    background lines: 0
[avision] set_window: sending command. Bytes: 70
[avision] Timeouts: write: 30000, read: 30000, status: 10000
[avision] avision_usb_status: timeout 10000, 1 retries
[avision] ==> (bulk read) going down ...
[avision] <== (bulk read) got: 1, status: 0
[avision] normal_calibration:
[avision] get_calib_format:
[avision] get_calib_format: read_data: 32 bytes
[avision] Timeouts: write: 30000, read: 30000, status: 10000
[avision] avision_usb_status: timeout 10000, 1 retries
[avision] ==> (bulk read) going down ...
[avision] <== (bulk read) got: 1, status: 0
[avision] debug_print_calib_format:
[avision]   [0] 00001010b  12o  10d  ax
[avision]   [1] 10000000b 200o 128d 80x
[avision]   [2] 00000001b   1o   1d  1x
[avision]   [3] 00111111b  77o  63d 3fx
[avision]   [4] 00000011b   3o   3d  3x
[avision]   [5] 00000001b   1o   1d  1x
[avision]   [6] 00001010b  12o  10d  ax
[avision]   [7] 00001010b  12o  10d  ax
[avision]   [8] 00001101b  15o  13d  dx
[avision]   [9] 00000000b   0o   0d  0x
[avision]   [10] 10111110b 276o 190d bex
[avision]   [11] 00000000b   0o   0d  0x
[avision]   [12] 10111110b 276o 190d bex
[avision]   [13] 00000000b   0o   0d  0x
[avision]   [14] 10111110b 276o 190d bex
[avision]   [15] 00000000b   0o   0d  0x
[avision]   [16] 00001010b  12o  10d  ax
[avision]   [17] 00000000b   0o   0d  0x
[avision]   [18] 00001010b  12o  10d  ax
[avision]   [19] 00000000b   0o   0d  0x
[avision]   [20] 00001010b  12o  10d  ax
[avision]   [21] 00000000b   0o   0d  0x
[avision]   [22] 00000000b   0o   0d  0x
[avision]   [23] 00000000b   0o   0d  0x
[avision]   [24] 00000000b   0o   0d  0x
[avision]   [25] 00000000b   0o   0d  0x
[avision]   [26] 00000000b   0o   0d  0x
[avision]   [27] 00000000b   0o   0d  0x
[avision]   [28] 00000000b   0o   0d  0x
[avision]   [29] 00000000b   0o   0d  0x
[avision]   [30] 00000000b   0o   0d  0x
[avision]   [31] 00000000b   0o   0d  0x
[avision] get_calib_format: [0-1]  pixels per line: 2688
[avision] get_calib_format: [2]    bytes per channel: 1
[avision] get_calib_format: [3]    line count: 63
[avision] get_calib_format: [4]    FLAG: NEEDS_NO_CALIBRATION
[avision] get_calib_format: [5]    Ability1: PACKED 
NEEDS_CALIB_TABLE_CHANNEL_BY_CHANNEL
[avision] get_calib_format: [6]    R gain: 10
[avision] get_calib_format: [7]    G gain: 10
[avision] get_calib_format: [8]    B gain: 13
[avision] get_calib_format: [9-10] R shading target: be
[avision] get_calib_format: [11-12] G shading target: be
[avision] get_calib_format: [13-14] B shading target: be
[avision] get_calib_format: [15-16] R dark shading target: a
[avision] get_calib_format: [17-18] G dark shading target: a
[avision] get_calib_format: [19-20] B dark shading target: a
[avision] get_calib_format: [21]    true-gray gain: 0
[avision] get_calib_format: [22-23] true-gray shading target: 0
[avision] get_calib_format: [24-25] true-gray dark shading target: 0
[avision] get_calib_format: channels: 3
[avision] normal_calibration: Scanner claims no calibration needed -> skipped!
[avision] send_3x3_matrix:
[avision] send_3x3_matrix: sending matrix split into two commands
[avision] Timeouts: write: 30000, read: 30000, status: 10000
[avision] avision_usb_status: timeout 10000, 1 retries
[avision] ==> (bulk read) going down ...
[avision] <== (bulk read) got: 1, status: 0
[avision] send_gamma: table_raw_size: 4096, table_size: 4096
[avision] send_gamma: values: 16, invert_table: 0
[avision] send_gamma: brightness: 0.000000, contrast: 0.000000
[avision] send_gamma: sending 4096 bytes gamma table.
[avision] Timeouts: write: 30000, read: 30000, status: 10000
[avision] avision_usb_status: timeout 10000, 1 retries
[avision] ==> (bulk read) going down ...
[avision] <== (bulk read) got: 1, status: 0
[avision] send_gamma: sending 4096 bytes gamma table.
[avision] Timeouts: write: 30000, read: 30000, status: 10000
[avision] avision_usb_status: timeout 10000, 1 retries
[avision] ==> (bulk read) going down ...
[avision] <== (bulk read) got: 1, status: 0
[avision] send_gamma: sending 4096 bytes gamma table.
[avision] Timeouts: write: 30000, read: 30000, status: 10000
[avision] avision_usb_status: timeout 10000, 1 retries
[avision] ==> (bulk read) going down ...
[avision] <== (bulk read) got: 1, status: 0
[avision] send_tune_scan_length:
[avision] send_tune_scan_length: top: 0
[avision] Timeouts: write: 30000, read: 30000, status: 10000
[avision] avision_usb_status: timeout 10000, 1 retries
[avision] ==> (bulk read) going down ...
[avision] <== (bulk read) got: 1, status: 0
[avision] send_tune_scan_length: bottom: 0
[avision] Timeouts: write: 30000, read: 30000, status: 10000
[avision] avision_usb_status: timeout 10000, 1 retries
[avision] ==> (bulk read) going down ...
[avision] <== (bulk read) got: 1, status: 0
[avision] get_background_raster:
[avision] get_background_raster: no background requested
[avision] sane_start: starting thread
[avision] reader_process:
[avision] sane_get_parameters:
[avision] reserve_unit:
[avision] filling command to have a length of 10, was: 6
[avision] Timeouts: write: 30000, read: 30000, status: 10000
[avision] avision_usb_status: timeout 10000, 1 retries
[avision] ==> (bulk read) going down ...
[avision] <== (bulk read) got: 1, status: 0
[avision] start_scan:
[avision] start_scan: sending command. Bytes: 6
[avision] filling command to have a length of 10, was: 6
[avision] Timeouts: write: 30000, read: 30000, status: 10000
[avision] avision_usb_status: timeout 10000, 1 retries
[avision] ==> (bulk read) going down ...
[avision] <== (bulk read) got: 1, status: 0
[avision] dev->scsi_buffer_size / 2: 524288
[avision] bytes_per_line: 5364, pixels_per_line: 1788
[avision] lines_per_stripe: 32, lines_per_output: 32
[avision] max_bytes_per_read: 1048576, stripe_size: 171648, out_size: 171648
[avision] reader_process: total_size: 11242944
[avision] reader_process: stripe filled: 0
[avision] reader_process: processed_bytes: 0, total_size: 11242944
[avision] reader_process: this_read: 171648
[avision] Timeouts: write: 30000, read: 30000, status: 10000
[avision] avision_usb_status: timeout 10000, 1 retries
[avision] ==> (bulk read) going down ...
[avision] <== (bulk read) got: 1, status: 2
[avision] avision_usb_status: Needs to request sense!
[avision] Error during status read!
[avision] === Try to request sense ===
[avision] avision_usb_status: timeout 10000, 1 retries
[avision] ==> (bulk read) going down ...
[avision] <== (bulk read) got: 1, status: 0
[avision] sense_handler:
[avision] sense_handler: data:
[avision]   [0] 11110000b 360o 240d f0x
[avision]   [1] 00000000b   0o   0d  0x
[avision]   [2] 00001001b  11o   9d  9x
[avision]   [3] 00000000b   0o   0d  0x
[avision]   [4] 00000000b   0o   0d  0x
[avision]   [5] 00000000b   0o   0d  0x
[avision]   [6] 00000000b   0o   0d  0x
[avision]   [7] 00001110b  16o  14d  ex
[avision]   [8] 00000000b   0o   0d  0x
[avision]   [9] 00000000b   0o   0d  0x
[avision]   [10] 00000000b   0o   0d  0x
[avision]   [11] 00000000b   0o   0d  0x
[avision]   [12] 10000000b 200o 128d 80x
[avision]   [13] 00000101b   5o   5d  5x
[avision]   [14] 00000000b   0o   0d  0x
[avision]   [15] 00000000b   0o   0d  0x
[avision]   [16] 00000000b   0o   0d  0x
[avision]   [17] 00000000b   0o   0d  0x
[avision]   [18] 00000000b   0o   0d  0x
[avision]   [19] 00000000b   0o   0d  0x
[avision]   [20] 00000000b   0o   0d  0x
[avision]   [21] 00000000b   0o   0d  0x
[avision] sense_handler: sense code: VENDOR SPECIFIC
[avision] sense_handler: scan has not yet been completed
[avision] sense_handler: correct logical length
[avision] sense_handler: sense code: Multi-feed (AV220,Kodak)
[avision] reader_process: read_data failed with status: 9
[avision] reader_process: stripe filled: 171648
[avision] reader_process: useful_bytes 171648
[avision] reader_process: end of iteration
[avision] reader_process: i/o loop finished
[avision] release unit: type: 0
[avision] filling command to have a length of 10, was: 6
[avision] Timeouts: write: 30000, read: 30000, status: 10000
[avision] avision_usb_status: timeout 10000, 1 retries
[avision] ==> (bulk read) going down ...
[avision] <== (bulk read) got: 1, status: 0
[avision] reader_process: returning success
[avision] sane_read: got 0 bytes, err: 11 Resource temporarily unavailable
[avision] do_eof:


Thanks,
Steve


________________________________
This email was scanned by Bitdefender.
________________________________
The information contained in this e-mail message is intended only for the 
confidential use of the recipient/recipients named above. If the reader of this 
message is not the intended recipient or an agent responsible for delivering it 
to the intended recipient, you are hereby notified that you have received this 
document in error and that any review, dissemination, distribution, or copying 
of this message is strictly prohibited. If you have received this communication 
in error, please notify me immediately by e-mail and delete the original 
message.
-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-requ...@lists.alioth.debian.org

Reply via email to