[sane-devel] [coolscan2] LS-5000: scanimage: sane_start: Error during device I/O

Shinichiro HIDA shinichiro at stained-g.net
Thu Jul 6 08:29:34 UTC 2006


Hi,

Thanks sane-project.

How could I use my LS-5000?

I try to use my Nikon LS-5000 (SUPER SOOLSCAN 5000, USB2.0) with
sane-backends (from CVS), and sane-frontends (from CVS) on Debian
GNU/Linux Sarge with kernel 2.6.16.20.

$ tail /var/log/messages
Jul  6 15:54:00 localhost kernel: usb 1-1: new high speed USB device using ehci_hcd and address 4
Jul  6 15:54:00 localhost kernel: usb 1-1: configuration #1 chosen from 1 choice
Jul  6 15:54:01 localhost usb.agent[29759]:      libusbscanner: loaded successfully
[...]

$  scanimage -L
device `coolscan2:usb:libusb:001:004' is a Nikon    LS-5000 ED       film scanner

But..

$  scanimage > test.tiff
scanimage: sane_start: Error during device I/O

I would attache `env SANE_DEBUG_COOLSCAN2=128 scanimage` log below.

-------------- next part --------------
[sanei_debug] Setting debug level of coolscan2 to 128.
[coolscan2] sane_init() called.
[coolscan2] coolscan2 backend, version 0.1.8 initializing.
[coolscan2] sane_get_devices() called.
[coolscan2] sane_get_devices(): Reading config file.
[coolscan2] cs2_open() called, with device = auto and interface = 0
[coolscan2] cs2_open() called, with device = libusb:001:004 and interface = 2
[coolscan2] cs2_open(): Trying to open libusb:001:004, assuming USB interface ...
[coolscan2] cs2_open(): ... looks OK, trying to identify device.
[coolscan2] cs2_issue_cmd(): opcode = 0x00, n_send = 6, n_recv = 0.
[coolscan2] cs2_issue_cmd(): opcode = 0x12, n_send = 6, n_recv = 36.
[coolscan2] cs2_phase_check(): Phase check returned phase = 0x03.
[coolscan2] cs2_open(): Inquiry reveals: vendor = 'Nikon   ', product = 'LS-5000 ED      ', revision = '1.02'.
[coolscan2] cs2_open(): Device identified as coolscan2 type #6.
[coolscan2] sane_get_devices(): 1 device detected.
[coolscan2] sane_open() called.
[coolscan2] cs2_open() called, with device = usb:libusb:001:004 and interface = 0
[coolscan2] cs2_open() called, with device = libusb:001:004 and interface = 2
[coolscan2] cs2_open(): Trying to open libusb:001:004, assuming USB interface ...
[coolscan2] cs2_open(): ... looks OK, trying to identify device.
[coolscan2] cs2_issue_cmd(): opcode = 0x00, n_send = 6, n_recv = 0.
[coolscan2] cs2_issue_cmd(): opcode = 0x12, n_send = 6, n_recv = 36.
[coolscan2] cs2_phase_check(): Phase check returned phase = 0x03.
[coolscan2] cs2_open(): Inquiry reveals: vendor = 'Nikon   ', product = 'LS-5000 ED      ', revision = '1.02'.
[coolscan2] cs2_open(): Device identified as coolscan2 type #6.
[coolscan2] cs2_issue_cmd(): opcode = 0x00, n_send = 6, n_recv = 0.
[coolscan2] cs2_phase_check(): Phase check returned phase = 0x01.
[coolscan2] cs2_issue_cmd(): opcode = 0x12, n_send = 6, n_recv = 4.
[coolscan2] cs2_phase_check(): Phase check returned phase = 0x03.
[coolscan2] cs2_issue_cmd(): opcode = 0x00, n_send = 6, n_recv = 0.
[coolscan2] cs2_phase_check(): Phase check returned phase = 0x01.
[coolscan2] cs2_issue_cmd(): opcode = 0x12, n_send = 6, n_recv = 87.
[coolscan2] cs2_phase_check(): Phase check returned phase = 0x03.
[coolscan2] sane_control_option() called, option #0, action #0.
[coolscan2] sane_control_option() called, option #0, action #0.
[coolscan2] sane_get_option_descriptor() called, option #0.
[coolscan2] sane_get_option_descriptor() called, option #1.
[coolscan2] sane_get_option_descriptor() called, option #2.
[coolscan2] sane_get_option_descriptor() called, option #3.
[coolscan2] sane_get_option_descriptor() called, option #4.
[coolscan2] sane_get_option_descriptor() called, option #5.
[coolscan2] sane_get_option_descriptor() called, option #6.
[coolscan2] sane_get_option_descriptor() called, option #7.
[coolscan2] sane_get_option_descriptor() called, option #8.
[coolscan2] sane_get_option_descriptor() called, option #9.
[coolscan2] sane_get_option_descriptor() called, option #10.
[coolscan2] sane_get_option_descriptor() called, option #11.
[coolscan2] sane_get_option_descriptor() called, option #12.
[coolscan2] sane_get_option_descriptor() called, option #13.
[coolscan2] sane_get_option_descriptor() called, option #14.
[coolscan2] sane_get_option_descriptor() called, option #15.
[coolscan2] sane_get_option_descriptor() called, option #16.
[coolscan2] sane_get_option_descriptor() called, option #17.
[coolscan2] sane_get_option_descriptor() called, option #18.
[coolscan2] sane_get_option_descriptor() called, option #19.
[coolscan2] sane_get_option_descriptor() called, option #20.
[coolscan2] sane_get_option_descriptor() called, option #21.
[coolscan2] sane_get_option_descriptor() called, option #22.
[coolscan2] sane_control_option() called, option #22, action #0.
[coolscan2] sane_get_option_descriptor() called, option #23.
[coolscan2] sane_get_option_descriptor() called, option #24.
[coolscan2] sane_control_option() called, option #24, action #0.
[coolscan2] sane_get_option_descriptor() called, option #25.
[coolscan2] sane_get_option_descriptor() called, option #26.
[coolscan2] sane_get_option_descriptor() called, option #27.
[coolscan2] sane_get_option_descriptor() called, option #28.
[coolscan2] sane_get_option_descriptor() called, option #29.
[coolscan2] sane_get_option_descriptor() called, option #30.
[coolscan2] sane_get_option_descriptor() called, option #31.
[coolscan2] sane_get_option_descriptor() called, option #32.
[coolscan2] sane_control_option() called, option #21, action #0.
[coolscan2] sane_control_option() called, option #23, action #0.
[coolscan2] sane_control_option() called, option #21, action #0.
[coolscan2] sane_get_option_descriptor() called, option #22.
[coolscan2] sane_control_option() called, option #22, action #1.
[coolscan2] sane_control_option() called, option #23, action #0.
[coolscan2] sane_get_option_descriptor() called, option #24.
[coolscan2] sane_control_option() called, option #24, action #1.
[coolscan2] sane_start() called.
[coolscan2] cs2_issue_cmd(): opcode = 0x00, n_send = 6, n_recv = 0.
[coolscan2] cs2_phase_check(): Phase check returned phase = 0x01.
[coolscan2] cs2_issue_cmd(): opcode = 0x00, n_send = 6, n_recv = 0.
[coolscan2] cs2_phase_check(): Phase check returned phase = 0x01.
[coolscan2] cs2_issue_cmd(): opcode = 0x15, n_send = 26, n_recv = 0.
[coolscan2] cs2_phase_check(): Phase check returned phase = 0x02.
[coolscan2] cs2_issue_cmd(): opcode = 0x00, n_send = 6, n_recv = 0.
[coolscan2] cs2_phase_check(): Phase check returned phase = 0x01.
[coolscan2] cs2_issue_cmd(): opcode = 0x2a, n_send = 30, n_recv = 0.
[coolscan2] cs2_phase_check(): Phase check returned phase = 0x02.
[coolscan2] cs2_issue_cmd(): opcode = 0x00, n_send = 6, n_recv = 0.
[coolscan2] cs2_phase_check(): Phase check returned phase = 0x01.
[coolscan2] cs2_issue_cmd(): opcode = 0x2a, n_send = 131082, n_recv = 0.
[coolscan2] cs2_phase_check(): Phase check returned phase = 0x01.
[coolscan2] Error: cs2_issue_cmd(): Unexpected non-data phase, but n_data != 0.
[coolscan2] Sense code: 05-24-00-00
scanimage: sane_start: Error during device I/O
[coolscan2] sane_cancel() called while scanning.
[coolscan2] cs2_issue_cmd(): opcode = 0xc0, n_send = 6, n_recv = 0.
[coolscan2] cs2_phase_check(): Phase check returned phase = 0x01.
[coolscan2] sane_close() called.
[coolscan2] sane_exit() called.
-------------- next part --------------


-- 
  Shinichiro HIDA  shinichiro at stained-g.net
  GPG fingerprint = 5F2D 1656 FFF6 F691 A51C  5E61 E416 D398 470C 1CE9



More information about the sane-devel mailing list