[sane-devel] Nikon Coolscan V ED: Error during device I/O

Sebastian Niehaus niehaus at web.de
Tue Dec 12 21:09:01 UTC 2017


Hi,

Am 11.12.2017 um 12:58 schrieb m. allan noah:

> You did not tell us what version of sane-backends you are running.
> Assuming that it is 1.0.27, there is an environment variable that may
> help. Try running

Sane is 1.0.14 (which seems to be identical for all debian releases form
oldoldstable to unstable. However the backend seems to be version 1.1.0
(see debug log below...)

> SANE_USB_WORKAROUND=1 scanmage -L
> 
> repeatedly, and see if the scanner is listed every time.

The scanner is listed only for the first try and not the second one.

After reading the man page I tried the debug environment variable:



niehaus at radioactive:~ $ SANE_DEBUG_COOLSCAN3=128 scanimage -L
[sanei_debug] Setting debug level of coolscan3 to 128.
[coolscan3] coolscan3 backend, version 1.0.0 initializing.
[coolscan3] sane_coolscan3_get_devices
[coolscan3] sane_get_devices(): Reading config file.
[coolscan3] cs3_open, device = auto, interface = 0
[coolscan3] cs3_open, device = libusb:001:058, interface = 2
[coolscan3] cs3_open, trying to open libusb:001:058, assuming USB interface
[coolscan3] cs3_open, trying to identify device.
[coolscan3] cs3_issue_cmd(): opcode = 0x00, n_send = 6, n_recv = 0.
[coolscan3] cs3_issue_cmd(): opcode = 0x12, n_send = 6, n_recv = 36.
[coolscan3] cs3_phase_check: returned phase = 0x03.
[coolscan3] cs3_open, vendor = 'Nikon   ', product = 'LS-50 ED        ',
revision = '1.02'.
[coolscan3] cs3_open, device identified as coolscan3 type #3.
[coolscan3] cs3_open, device = usb:/dev/usbscanner, interface = 0
[coolscan3] cs3_open, device = /dev/usbscanner, interface = 2
[coolscan3] cs3_open, trying to open /dev/usbscanner, assuming USB interface
[coolscan3]  ...failed: Invalid argument.
[coolscan3] sane_coolscan3_get_devices: 1 device(s) detected.
device `coolscan3:usb:libusb:001:058' is a Nikon LS-50 ED film scanner
[coolscan3] sane_coolscan3_exit

This was the first try, so I did a second one immediatly afterwards:

niehaus at radioactive:~ $ SANE_DEBUG_COOLSCAN3=128 scanimage -L
[sanei_debug] Setting debug level of coolscan3 to 128.
[coolscan3] coolscan3 backend, version 1.0.0 initializing.
[coolscan3] sane_coolscan3_get_devices
[coolscan3] sane_get_devices(): Reading config file.
[coolscan3] cs3_open, device = auto, interface = 0
[coolscan3] cs3_open, device = libusb:001:058, interface = 2
[coolscan3] cs3_open, trying to open libusb:001:058, assuming USB interface
[coolscan3] cs3_open, trying to identify device.
[coolscan3] cs3_issue_cmd(): opcode = 0x00, n_send = 6, n_recv = 0.
[coolscan3] cs3_issue_cmd(): opcode = 0x12, n_send = 6, n_recv = 36.
[coolscan3] cs3_phase_check: returned phase = 0x00.
[coolscan3] cs3_issue_cmd: Unexpected non-data phase, but n_data != 0 (36).
[coolscan3] Error: cs3_issue_cmd(): Failed to read 8 status bytes from USB.
[coolscan3] Error: cs3_page_inquiry: inquiry of page failed: Error
during device I/O.
[coolscan3] cs3_open, device = usb:/dev/usbscanner, interface = 0
[coolscan3] cs3_open, device = /dev/usbscanner, interface = 2
[coolscan3] cs3_open, trying to open /dev/usbscanner, assuming USB interface
[coolscan3]  ...failed: Invalid argument.
[coolscan3] sane_coolscan3_get_devices: 0 device(s) detected.

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
[coolscan3] sane_coolscan3_exit



I have no idea what this could mean. Any hints for me? Anything I can do
to find out why I fail to use the scanner?


Sebastian



More information about the sane-devel mailing list