[sane-devel] avision, Minolta Dual III, Ubuntu 16.04, errors and crash (sanei_usb_write_bulk: write failed: Operation timed out)

Katie Urey ksurey at gmail.com
Mon Jun 18 22:56:33 BST 2018


Hi,

I now have 2 ancient scanners.  An Epson Perfection scanner and a DiMage
Scan Dual III (Minolta) slide scanner.

My desktop is ubuntu 16.04 on a Dell.   The Epson Scanner has worked fine
(except when the power adapter failed...)

The Minolta Slide scanner, not yet.

The sane-find-scanner reports:
  sane-find-scanner | grep Minolta
  found USB scanner (vendor=0x0686 [MINOLTA], product=0x400d [DiMAGE Scan
Dual3]) at libusb:001:006

I've updated sane to this version of the backends:
   scanimage -V
   scanimage (sane-backends) 1.0.27git; backend version 1.0.27


xsane is slow to start, first shows a histogram window, then a preview
window, then the save/configure window.

Then xsane hangs and pop-up error messages appear.


Today, xsane crashed and left a report, maybe this was mailed someplace....
I usualy close the application before it crashes...


Here is an invocation of xsane with these environment settings.  I've
deleted lines that seem to repeat very similar info.

SANE_DEBUG_SANEI_USB=1
SANE_DEBUG_AVISION=1


===============



[avision] get_frame_info: read failed (Error during device I/O)
[sanei_usb] sanei_usb_write_bulk: write failed: Operation timed out
[sanei_usb] sanei_usb_read_bulk: read failed: Operation timed out
[avision] get_button_status: read failed (Error during device I/O)
[avision] sane_compute_parameters: hw_xres: 150, hw_yres: 150,
line_difference: 0
[avision] sane_compute_parameters: tlx: 0, tly: 0, brx: 143, bry: 214
[avision] sane_compute_parameters: hw_pixel_per_line: 140, hw_lines: 214,
hw_bytes_per_line: 420
[avision] sane_compute_parameters: xres: 150, yres: 150
[avision] sane_compute_parameters: pixel_per_line: 140, lines: 214
[avision] sane_compute_parameters: depth: 8, bytes_per_line: 420
[avision] sane_compute_parameters: hw_xres: 150, hw_yres: 150,
line_difference: 0
[avision] sane_compute_parameters: tlx: 0, tly: 0, brx: 143, bry: 214
[avision] sane_compute_parameters: hw_pixel_per_line: 140, hw_lines: 214,
hw_bytes_per_line: 420
[avision] sane_compute_parameters: xres: 150, yres: 150
[avision] sane_compute_parameters: pixel_per_line: 140, lines: 214
[avision] sane_compute_parameters: depth: 8, bytes_per_line: 420
[avision] sane_compute_parameters: hw_xres: 150, hw_yres: 150,
line_difference: 0
[avision] sane_compute_parameters: tlx: 0, tly: 0, brx: 143, bry: 214
[avision] sane_compute_parameters: hw_pixel_per_line: 140, hw_lines: 214,
hw_bytes_per_line: 420
[avision] sane_compute_parameters: xres: 150, yres: 150
[avision] sane_compute_parameters: pixel_per_line: 140, lines: 214
[avision] sane_compute_parameters: depth: 8, bytes_per_line: 420
[avision] sane_compute_parameters: hw_xres: 150, hw_yres: 150,
line_difference: 0
[avision] sane_compute_parameters: tlx: 94, tly: 156, brx: 143, bry: 214
[avision] sane_compute_parameters: hw_pixel_per_line: 48, hw_lines: 58,
hw_bytes_per_line: 420
[avision] sane_compute_parameters: xres: 150, yres: 150
[avision] sane_compute_parameters: pixel_per_line: 48, lines: 58
[avision] sane_compute_parameters: depth: 8, bytes_per_line: 144
[sanei_usb] sanei_usb_write_bulk: write failed: Operation timed out
[sanei_usb] sanei_usb_read_bulk: read failed: Operation timed out
[avision] get_frame_info: read failed (Error during device I/O)
Killed
katie at towhee:~$
katie at towhee:~$
katie at towhee:~$ !v
vi crashXsane.txt
katie at towhee:~$ mv crashXsane.txt failedXsane.txt
katie at towhee:~$ clear

katie at towhee:~$ more failedXsane.txt
katie at towhee:~$ xsane
[sanei_debug] Setting debug level of sanei_usb to 1.
[sanei_usb] libusb_scan_devices: skipping device 0x1d6b/0x0003 at 002:001:
cannot open: Access denied (insufficien
t permissions)
[sanei_usb] libusb_scan_devices: skipping device 0x8087/0x0a2b at 001:002:
cannot open: Access denied (insufficien
t permissions)
[sanei_usb] libusb_scan_devices: skipping device 0x1bcf/0x2b95 at 001:003:
cannot open: Access denied (insufficien
t permissions)
[sanei_usb] libusb_scan_devices: skipping device 0x045e/0x00e1 at 001:004:
cannot open: Access denied (insufficien
t permissions)
[sanei_usb] libusb_scan_devices: skipping device 0x1d6b/0x0002 at 001:001:
cannot open: Access denied (insufficien
t permissions)
[sanei_debug] Setting debug level of avision to 1.
[sanei_debug] Setting debug level of sanei_usb to 1.
[sanei_usb] libusb_scan_devices: skipping device 0x1d6b/0x0003 at 002:001:
cannot open: Access denied (insufficien
t permissions)
[sanei_usb] libusb_scan_devices: skipping device 0x8087/0x0a2b at 001:002:
cannot open: Access denied (insufficien
t permissions)
[sanei_usb] libusb_scan_devices: skipping device 0x1bcf/0x2b95 at 001:003:
cannot open: Access denied (insufficien
t permissions)
[sanei_usb] libusb_scan_devices: skipping device 0x045e/0x00e1 at 001:004:
cannot open: Access denied (insufficien
t permissions)
[sanei_usb] libusb_scan_devices: skipping device 0x1d6b/0x0002 at 001:001:
cannot open: Access denied (insufficien
t permissions)
[avision] sane_reload_devices: Trying to find USB device 0638 0a27 ...
[avision] sane_reload_devices: Trying to find USB device 0638 0a3c ...
[avision] sane_reload_devices: Trying to find USB device 0638 0a33 ...

[[[[ deleted about 30 lines ]]]]

[avision] sane_reload_devices: Trying to find USB device 0686 4004 ...
[avision] sane_reload_devices: Trying to find USB device 0686 400d ...
[avision] filling command to have a length of 10, was: 6
[avision] attach: Inquiry gives mfg=MINOLTA, model=FS-V3, product
revision=1.10.
[avision] attach: Checking model: 0
[avision] attach: Checking model: 1

[[[[ deleted about 70 lines ]]]]

[avision] attach: Checking model: 71
[avision] attach: Checking model: 72
[avision] attach: Checking model: 73
[avision] attach: Checking model: 74
[avision] attach: Checking model: 75
[avision] attach: Checking model: 76
[avision] attach: Scanner matched entry: 76: "MINOLTA", "FS-V3", 0x0686,
0x400d
[avision] filling command to have a length of 10, was: 6
[avision] filling command to have a length of 10, was: 6
[avision] Inquiry optical resolution > max_resolution, adjusting!
[avision] attach: optical resolution set to: 2820 dpi
[avision] attach: max resolution set to: 2820 dpi
[avision] attach: max channels per pixel: 3, max bits per channel: 16
[avision] attach: Mode 0 range is now: 24.311064 x 36.316596 mm.
[avision] attach: x/y-range for mode 1 is invalid! Using a default.
[avision] attach: Mode 1 range is now: 215.900000 x 299.720000 mm.
[avision] attach: Mode 2 range is now: 24.311064 x 36.316596 mm.
[avision] sane_reload_devices: Trying to find USB device 0686 400e ...
[avision] sane_reload_devices: Trying to find USB device 0638 0a15 ...
[avision] sane_reload_devices: Trying to find USB device 0638 0a16 ...
[avision] sane_reload_devices: Trying to find USB device 04c5 1029 ...
[avision] sane_reload_devices: Trying to find USB device 04c5 10ef ...
[avision] sane_reload_devices: Trying to find USB device 040a 6001 ...
[avision] sane_reload_devices: Trying to find USB device 040a 6002 ...
[avision] sane_reload_devices: Trying to find USB device 040a 6003 ...
[avision] sane_reload_devices: Trying to find USB device 040a 6004 ...
[avision] sane_reload_devices: Trying to find USB device 040a 6005 ...
[avision] sane_reload_devices: Trying to find USB device 0638 0268 ...
[avision] sane_reload_devices: Trying to find USB device 04a7 0424 ...
[avision] sane_reload_devices: Trying to find USB device 04a7 0491 ...
[avision] sane_reload_devices: Trying to find USB device 04a7 0479 ...
[avision] sane_reload_devices: Trying to find USB device 04a7 048f ...
[avision] sane_reload_devices: Trying to find USB device 04a7 0420 ...
[avision] sane_reload_devices: Trying to find USB device 04a7 0421 ...
[avision] sane_reload_devices: Trying to find USB device 04a7 047a ...
[avision] sane_reload_devices: Trying to find USB device 04a7 0422 ...
[avision] sane_reload_devices: Trying to find USB device 04a7 0390 ...
[avision] sane_reload_devices: Trying to find USB device 04a7 047b ...
[avision] sane_reload_devices: Trying to find USB device 04a7 0423 ...
[avision] sane_reload_devices: Trying to find USB device 04a7 0493 ...
[avision] sane_reload_devices: Trying to find USB device 04a7 0497 ...
[avision] sane_reload_devices: Trying to find USB device 04a7 0498 ...
[avision] sane_reload_devices: Trying to find USB device 04a7 0499 ...
[avision] sane_reload_devices: Trying to find USB device 04a7 049c ...
[avision] sane_reload_devices: Trying to find USB device 04a7 0477 ...
[avision] sane_reload_devices: Trying to find USB device 04a7 049d ...
[avision] sane_reload_devices: Trying to find USB device 04a7 0448 ...
[avision] sane_reload_devices: Trying to find USB device 04a7 0490 ...
[avision] sane_reload_devices: Trying to find USB device 04a7 0449 ...
[avision] sane_reload_devices: Trying to find USB device 04a7 048c ...
[avision] sane_reload_devices: Trying to find USB device 04a7 0476 ...
[avision] sane_reload_devices: Trying to find USB device 04a7 044c ...
[avision] sane_reload_devices: Trying to find USB device 04a7 048d ...
[avision] sane_reload_devices: Trying to find USB device 04a7 04a7 ...
[avision] sane_reload_devices: Trying to find USB device 04a7 0475 ...
[avision] sane_reload_devices: Trying to find USB device 04a7 048e ...
[avision] sane_reload_devices: Trying to find USB device 04a7 0446 ...
[avision] sane_reload_devices: Trying to find USB device 04a7 0495 ...
[avision] sane_reload_devices: Trying to find USB device 04a7 047c ...
[avision] sane_reload_devices: Trying to find USB device 04a7 0447 ...
[avision] sane_reload_devices: Trying to find USB device 04a7 0492 ...
[avision] sane_reload_devices: Trying to find USB device 04a7 0478 ...
[avision] sane_reload_devices: Trying to find USB device 04a7 049a ...
[avision] sane_reload_devices: Trying to find USB device 0482 0335 ...
[sanei_debug] Setting debug level of sanei_usb to 1.
[sanei_usb] libusb_scan_devices: skipping device 0x1d6b/0x0003 at 002:001:
cannot open: Access denied (insufficien
t permissions)
[sanei_usb] libusb_scan_devices: skipping device 0x8087/0x0a2b at 001:002:
cannot open: Access denied (insufficien
t permissions)
[sanei_usb] libusb_scan_devices: skipping device 0x1bcf/0x2b95 at 001:003:
cannot open: Access denied (insufficien
t permissions)
[sanei_usb] libusb_scan_devices: skipping device 0x045e/0x00e1 at 001:004:
cannot open: Access denied (insufficien
t permissions)
[sanei_usb] libusb_scan_devices: skipping device 0x1d6b/0x0002 at 001:001:
cannot open: Access denied (insufficien
t permissions)
[avision] sane_reload_devices: Trying to find USB device 0638 0a27 ...
[avision] sane_reload_devices: Trying to find USB device 0638 0a3c ...

[[[deleted 80 lines ]]]

[avision] sane_reload_devices: Trying to find USB device 04a7 048e ...
[avision] sane_reload_devices: Trying to find USB device 04a7 0446 ...
[avision] sane_reload_devices: Trying to find USB device 04a7 0495 ...
[avision] sane_reload_devices: Trying to find USB device 04a7 047c ...
[avision] sane_reload_devices: Trying to find USB device 04a7 0447 ...
[avision] sane_reload_devices: Trying to find USB device 04a7 0492 ...
[avision] sane_reload_devices: Trying to find USB device 04a7 0478 ...
[avision] sane_reload_devices: Trying to find USB device 04a7 049a ...
[avision] sane_reload_devices: Trying to find USB device 0482 0335 ...
[avision] sane_open: using open_extended
[avision] sane_open: got 1048576 scsi_max_request_size
[avision] filling command to have a length of 10, was: 6
[avision] filling command to have a length of 10, was: 6
[avision] init_options: dpi_range.min set to 50
[avision] sane_open: temporary fname for duplex scans:
/tmp/avision-rear-OS444T
[avision] sane_open: early calibration for film scanner.
[avision] sane_compute_parameters: hw_xres: 2820, hw_yres: 2820,
line_difference: 0
[avision] sane_compute_parameters: tlx: 0, tly: 0, brx: 2664, bry: 3996
[avision] sane_compute_parameters: hw_pixel_per_line: 2664, hw_lines: 3996,
hw_bytes_per_line: 0
[avision] sane_compute_parameters: xres: 2820, yres: 2820
[avision] sane_compute_parameters: pixel_per_line: 2664, lines: 3996
[avision] sane_compute_parameters: depth: 8, bytes_per_line: 7992
[avision] set_window:
[avision] normal_calibration:
[avision] normal_calibration: reading dark data
[avision] sort_and_average:
[avision] sort_and_average:
[avision] normal_calibration: dark data present - decreasing white average
data
[avision] object_position: 2
[avision] Got 1 byte - status? (8) Resending.
[avision] Got 1 byte - status? (8) Resending.
[avision] Got 1 byte - status? (8) Resending.
[avision] Max retry count reached: I/O error
[avision] get_button_status: read failed (Error during device I/O)
[avision] sane_compute_parameters: hw_xres: 150, hw_yres: 150,
line_difference: 0
[avision] sane_compute_parameters: tlx: 0, tly: 0, brx: 141, bry: 212
[avision] sane_compute_parameters: hw_pixel_per_line: 140, hw_lines: 212,
hw_bytes_per_line: 7992
[avision] sane_compute_parameters: xres: 150, yres: 150
[avision] sane_compute_parameters: pixel_per_line: 140, lines: 212
[avision] sane_compute_parameters: depth: 8, bytes_per_line: 420
[sanei_usb] sanei_usb_write_bulk: write failed: Operation timed out

[sanei_usb] sanei_usb_write_bulk: write failed: Operation timed out
[sanei_usb] sanei_usb_read_bulk: read failed: Operation timed out
[avision] set_power_save_time: send_data (Error during device I/O)
[sanei_usb] sanei_usb_write_bulk: write failed: Operation timed out
[sanei_usb] sanei_usb_read_bulk: read failed: Operation timed out
[avision] set_power_save_time: send_data (Error during device I/O)
[avision] sane_compute_parameters: hw_xres: 150, hw_yres: 150,
line_difference: 0
[avision] sane_compute_parameters: tlx: 0, tly: 0, brx: 143, bry: 214
[avision] sane_compute_parameters: hw_pixel_per_line: 140, hw_lines: 214,
hw_bytes_per_line: 420
[avision] sane_compute_parameters: xres: 150, yres: 150
[avision] sane_compute_parameters: pixel_per_line: 140, lines: 214
[avision] sane_compute_parameters: depth: 8, bytes_per_line: 420
[avision] sane_compute_parameters: hw_xres: 150, hw_yres: 150,
line_difference: 0
[avision] sane_compute_parameters: tlx: 0, tly: 0, brx: 143, bry: 214
[avision] sane_compute_parameters: hw_pixel_per_line: 140, hw_lines: 214,
hw_bytes_per_line: 420
[avision] sane_compute_parameters: xres: 150, yres: 150
[avision] sane_compute_parameters: pixel_per_line: 140, lines: 214
[avision] sane_compute_parameters: depth: 8, bytes_per_line: 420
[sanei_usb] sanei_usb_write_bulk: write failed: Operation timed out
[sanei_usb] sanei_usb_read_bulk: read failed: Operation timed out
[avision] get_frame_info: read failed (Error during device I/O)
[sanei_usb] sanei_usb_write_bulk: write failed: Operation timed out
[sanei_usb] sanei_usb_read_bulk: read failed: Operation timed out
[avision] get_button_status: read failed (Error during device I/O)
[avision] sane_compute_parameters: hw_xres: 150, hw_yres: 150,
line_difference: 0
[avision] sane_compute_parameters: tlx: 0, tly: 0, brx: 143, bry: 214
[avision] sane_compute_parameters: hw_pixel_per_line: 140, hw_lines: 214,
hw_bytes_per_line: 420
[avision] sane_compute_parameters: xres: 150, yres: 150
[avision] sane_compute_parameters: pixel_per_line: 140, lines: 214
[avision] sane_compute_parameters: depth: 8, bytes_per_line: 420
[avision] sane_compute_parameters: hw_xres: 150, hw_yres: 150,
line_difference: 0
[avision] sane_compute_parameters: tlx: 0, tly: 0, brx: 143, bry: 214
[avision] sane_compute_parameters: hw_pixel_per_line: 140, hw_lines: 214,
hw_bytes_per_line: 420
[avision] sane_compute_parameters: xres: 150, yres: 150
[avision] sane_compute_parameters: pixel_per_line: 140, lines: 214
[avision] sane_compute_parameters: depth: 8, bytes_per_line: 420
[avision] sane_compute_parameters: hw_xres: 150, hw_yres: 150,
line_difference: 0
[avision] sane_compute_parameters: tlx: 0, tly: 0, brx: 143, bry: 214
[avision] sane_compute_parameters: hw_pixel_per_line: 140, hw_lines: 214,
hw_bytes_per_line: 420
[avision] sane_compute_parameters: xres: 150, yres: 150
[avision] sane_compute_parameters: pixel_per_line: 140, lines: 214
[avision] sane_compute_parameters: depth: 8, bytes_per_line: 420
[avision] sane_compute_parameters: hw_xres: 150, hw_yres: 150,
line_difference: 0
[avision] sane_compute_parameters: tlx: 94, tly: 156, brx: 143, bry: 214
[avision] sane_compute_parameters: hw_pixel_per_line: 48, hw_lines: 58,
hw_bytes_per_line: 420
[avision] sane_compute_parameters: xres: 150, yres: 150
[avision] sane_compute_parameters: pixel_per_line: 48, lines: 58
[avision] sane_compute_parameters: depth: 8, bytes_per_line: 144
[sanei_usb] sanei_usb_write_bulk: write failed: Operation timed out
[sanei_usb] sanei_usb_read_bulk: read failed: Operation timed out
[avision] get_frame_info: read failed (Error during device I/O)
katie at towhee:~$

=============================


fingers crossed that the error is in my setup and thus, easily corrected.


Katie Urey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20180618/c68c62c2/attachment-0001.html>


More information about the sane-devel mailing list