[sane-devel] Avision 262i problems on Ubuntu 10.04

David Marceau David_Marceau at visioneer.com
Wed Sep 5 16:52:48 UTC 2012


Good morning,

I have been trying to get this Avision 262i running and scanning on Ubuntu 10.04 using the latest git backend 1.024.

Has anyone seen something similar to the folllowing or nudge me in the right direction?

Here is what I did:
git clone git://git.debian.org/sane/sane-backends.git
cd sane-backends
./configure --prefix=/usr --disable-ipv6 --enable-pthread --enable-libusb_1_0 --enable-scsibuffersize=131072 --enable-scsi-directio --enable-pnm-backend --with-gphoto2
make
make install

/usr/sbin/saned -d128
[saned] main: starting debug mode (level 128)
[saned] read_config: searching for config file
[saned] read_config: done reading config
[saned] saned from sane-backends 1.0.24git ready
[saned] do_bindings: trying to get port for service "sane-port" (getservbyname)
[saned] do_bindings: port is 6566
[saned] do_bindings: socket ()
[saned] do_bindings: setsockopt ()
[saned] do_bindings: bind ()
[saned] do_bindings: listen ()
[saned] run_standalone: waiting for control connection

export SANE_DEBUG_AVISION=128
/usr/bin/scanimage -L
[sanei_debug] Setting debug level of avision to 128.
[avision] sane_init:(Version: 1.0 Build: 296)
device `avision:libusb:001:002' is a Xerox DocuMate262i sheetfed scanner

/usr/bin/scanimage -d avision:libusb:001:002 >blah.pnm
[sanei_debug] Setting debug level of avision to 128.
[avision] sane_init:(Version: 1.0 Build: 296)
[avision] sane_reload_devices: Trying to find USB device 04a7 04a7 ...
[avision] attach:
[avision] attach: opening libusb:001:002
[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] try to write cmd, count: 10.
[avision] wrote 10 bytes
[avision] try to read 96 bytes
[avision] read 96 bytes
[avision] avision_usb_status: timeout 1000, 1 retries
[avision] ==> (bulk read) going down ...
[avision] <== (bulk read) got: 1, status: 0
[avision] attach: Inquiry gives mfg=XEROX, model=DM262i, product revision=1.23.
[avision] attach: Checking model: 125
[avision] attach: Scanner matched entry: 125: "(null)", "(null)", 0x04a7, 0x04a7
[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] try to write cmd, count: 10.
[avision] wrote 10 bytes
[avision] try to read 96 bytes
[avision] read 96 bytes
[avision] avision_usb_status: timeout 1000, 1 retries
[avision] ==> (bulk read) going down ...
[avision] <== (bulk read) got: 1, status: 0
[avision] attach: raw data:
[avision]   [0] 00000110b   6o   6d  6x
[avision]   [1] 00000000b   0o   0d  0x
[avision]   [2] 00000010b   2o   2d  2x
[avision]   [135] 00000000b   0o   0d  0x
[avision] attach: [8-15]  Vendor id.:      'XEROX   '
[avision] attach: [16-31] Product id.:     'DM262i          '
[avision] attach: [32-35] Product rev.:    '1.23'
[avision] attach: [36]    Bitfield: ADF 3-pass color BGR color plane
[avision] attach: [37]    Optical res.:    600 dpi
[avision] attach: [38]    Maximum res.:    600 dpi
[avision] attach: [39]    Bitfield1: Q_SCAN EXTENDED_RES NEW_PROTOCOL AVISION
[avision] attach: [40-41] X res. in gray:  600 dpi
[avision] attach: [42-43] Y res. in gray:  600 dpi
[avision] attach: [44-45] X res. in color: 600 dpi
[avision] attach: [46-47] Y res. in color: 600 dpi
[avision] attach: [48-49] USB max read:    0
[avision] attach: [50]    ESA1: LIGHT_CONTROL BUTTON_CONTROL SW_CALIB NEED_SW_GAMMA XYRES_DIFFERENT
[avision] attach: [51]    ESA2: EXPOSURE_CTRL SUPPORTS_QUALITY_SPEED_CAL HAS_PUSH_BUTTON NEW_CAL_METHOD_3x3_MATRIX_(NO_GAMMA_TABLE)
[avision] attach: [52]    ESA3: GRAY_WHITE SUPPORTS_GAIN_CONTROL 3x3COL_TABLE POWER_SAVING_TIMER NVM_DATA_REC
[avision] attach: [53]    line difference (software color pack): 64
[avision] attach: [54]    color mode pixel boundary: 8
[avision] attach: [55]    gray mode pixel boundary: 8
[avision] attach: [56]    4bit gray mode pixel boundary: 2
[avision] attach: [57]    lineart mode pixel boundary: 8
[avision] attach: [58]    halftone mode pixel boundary: 8
[avision] attach: [59]    error-diffusion mode pixel boundary: 8
[avision] attach: [60]    channels per pixel: 1 3
[avision] attach: [61]    bits per channel: 1 8
[avision] attach: [62]    scanner type: Roller (ADF) Duplex
[avision] attach: [75-76] Max shading target : f00
[avision] attach: [77-78] Max X of transparency: 520 dots * base_dpi
[avision] attach: [79-80] Max Y of transparency: 1854 dots * base_dpi
[avision] attach: [81-82] Max X of flatbed:      2552 dots * base_dpi
[avision] attach: [83-84] Max Y of flatbed:      4200 dots * base_dpi
[avision] attach: [85-86] Max X of ADF:          2630 dots * base_dpi
[avision] attach: [87-88] Max Y of ADF:          4200 dots * base_dpi
[avision] attach: [89-90] Res. in Ex. mode:      600 dpi
[avision] attach: [91]    ASIC:     7
[avision] attach: [92]    Buttons:  7
[avision] attach: [93]    ESA4: SUPPORTS_ACCESSORIES_DETECT SUPPORTS_ASIC_UPDATE
[avision] attach: [94]    ESA5: SUPPORTS_DUPLEX_SCAN INTERLACED_DUPLEX_SCAN SUPPORTS_TUNE_SCAN_LENGTH
[avision] attach: [95]    ESA6: SUPPORTS_PAPER_LENGTH_SETTING SUPPORTS_GET_BACKGROUND_RASTER SUPPORTS_NVRAM_RESET
[avision] attach: [128]    ESA7:
[avision] attach: [129]    YCbCr:
[avision] attach: optical resolution set to: 600 dpi
[avision] attach: max resolution set to: 600 dpi
[avision] attach: max channels per pixel: 3, max bits per channel: 8
[avision] attach: x/y-range for mode 0 is valid!
[avision] attach: Mode 0 range is now: 216.169333 x 355.600000 mm.
[avision] attach: x/y-range for mode 1 is valid!
[avision] attach: Mode 1 range is now: 44.126667 x 156.972000 mm.
[avision] attach: x/y-range for mode 2 is valid!
[avision] attach: Mode 2 range is now: 222.773333 x 355.600000 mm.
[avision] sane_reload_devices: Trying to find USB device 0482 0335 ...
[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] wait_ready: sending TEST_UNIT_READY
[avision] sane_open: temporary fname for duplex scans: /tmp/avision-rear-41yZtW
[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: 33
[avision] sane_start: media_check ok
[avision] wait_4_light: getting light status.
[avision] wait_4_light: read bytes 1
[avision] wait_4_light: command is 0. Result is on
[avision] set_window: filling ADF bits
[avision] set_window: [61]    background lines: 0
[avision] set_window: sending command. Bytes: 70
[avision] Timeouts: write: 30000, read: 30000, status: 10000
[avision] try to write cmd, count: 10.
[avision] wrote 10 bytes
[avision] try to write src, count: 70.
[avision] wrote 70 bytes
[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] try to write cmd, count: 10.
[avision] wrote 10 bytes
[avision] try to read 32 bytes
[avision] read 32 bytes
[avision] avision_usb_status: timeout 10000, 1 retries
[avision] ==> (bulk read) going down ...
[avision] <== (bulk read) got: 1, status: 0
[avision] get_calib_format: [22-23] true-gray shading target: 644a
[avision] get_calib_format: [24-25] true-gray dark shading target: 58c1
[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] try to write cmd, count: 10.
[avision] wrote 10 bytes
[avision] try to write src, count: 18.
[avision] wrote 18 bytes
[avision] avision_usb_status: timeout 10000, 1 retries
[avision] ==> (bulk read) going down ...
[avision] <== (bulk read) got: 1, status: 0
[avision] send_gamma: sending 512 bytes gamma table.
[avision] Timeouts: write: 30000, read: 30000, status: 10000
[avision] try to write cmd, count: 10.
[avision] wrote 10 bytes
[avision] try to write src, count: 512.
[avision] wrote 512 bytes
[avision] avision_usb_status: timeout 10000, 1 retries
[avision] ==> (bulk read) going down ...
[avision] sane_read: max_len: 32768
[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] try to write cmd, count: 10.
[avision] wrote 10 bytes
[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: 3816, pixels_per_line: 1272
[avision] lines_per_stripe: 32, lines_per_output: 32
[avision] max_bytes_per_read: 1048576, stripe_size: 122112, out_size: 122112
[avision] reader_process: total_size: 7998336
[avision] reader_process: stripe filled: 0
[avision] reader_process: processed_bytes: 0, total_size: 7998336
[avision] reader_process: this_read: 122112
[avision] read_data: 122112
[avision] Timeouts: write: 30000, read: 30000, status: 10000
[avision] try to write cmd, count: 10.
[avision] wrote 10 bytes
[avision] try to read 122112 bytes
[avision] read 122112 bytes
[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] try to write 10 bytes
[avision] wrote 10 bytes
[avision] try to read 22 bytes sense data
[avision] read 22 bytes sense data
[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] sense_handler:
[avision] sense_handler: data:
[avision]   [0] 11110000b 360o 240d f0x
[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: 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] 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] try to write 10 bytes
[avision] wrote 10 bytes
[avision] try to read 22 bytes sense data
[avision] read 22 bytes sense data
[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]   [21] 00000000b   0o   0d  0x
[avision] sense_handler: sense code: VENDOR SPECIFIC
[avision] sense_handler: end of scan
[avision] sense_handler: correct logical length
[avision] sense_handler: sense code: Multi-feed (AV220,Kodak)
[avision] reader_process: release_unit failed
[avision] reader_process: returning success
[avision] sane_read: got 3328 bytes
[avision] sane_read: max_len: 32768
[avision] sane_read: got 0 bytes, err: 25 Inappropriate ioctl for device
[avision] do_eof:
[avision] do_eof: returning 9
scanimage: sane_read: Error during device I/O
________________________
David Marceau
(W) (613)728-2521 X 240  |  David_Marceau at visioneer.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20120905/d7d7a252/attachment-0001.html>


More information about the sane-devel mailing list