SCM

[#315545] Canon DR 1210C - Error during device I/O

View Trackers | Bugs | Export CSV

Date:
2016-11-08 06:06
Priority:
3
State:
Open
Submitted by:
Ju Ru (moltes12-guest)
Assigned to:
Nobody (None)
Category:
backends (drivers)
Group:
None
Resolution:
None
Summary:
Canon DR 1210C - Error during device I/O

Detailed description
I try to use Canon DR-1210C on sane 1.0.25.

sane-find-scanner has detected my scanner :
found USB scanner (vendor=0x1083 [CANON ], product=0x160f [CANON DR-1210C], chip=GL843) at libusb:005:092

When I try to use scanimage, the scanner seems to be unavailable :
[canon_dr] attach_one: start
[canon_dr] attach_one: looking for 'libusb:005:092'
[canon_dr] connect_fd: start
[canon_dr] connect_fd: opening USB device (libusb:005:092)
[canon_dr] wait_scanner: start
[canon_dr] do_usb_cmd: start 1478583957 554467
[canon_dr] cmd: writing 24 bytes, timeout 500
[canon_dr] cmd: >>
[canon_dr] 000: 00 00 00 14 00 01 90 00 00 00 00 00 00 00 00 00 ................
[canon_dr] 010: 00 00 00 00 00 00 00 00 ........
[canon_dr] cmd: wrote 24 bytes, retVal 0
[canon_dr] stat: reading 16 bytes, timeout 500
[canon_dr] stat: read 0 bytes, retval 9
[canon_dr] stat: <<
[canon_dr] stat: clearing error 'Error during device I/O'
[canon_dr] do_usb_clear: start
[canon_dr] do_usb_clear: clear halt
[canon_dr] do_usb_clear: finish with io error
[canon_dr] stat: bad RS status, 9
[canon_dr] WARNING: Brain-dead scanner. Hitting with stick
[canon_dr] do_usb_cmd: start 1478583958 163535
[canon_dr] cmd: writing 24 bytes, timeout 500
[canon_dr] cmd: >>
[canon_dr] 000: 00 00 00 14 00 01 90 00 00 00 00 00 00 00 00 00 ................
[canon_dr] 010: 00 00 00 00 00 00 00 00 ........
[canon_dr] cmd: wrote 24 bytes, retVal 0
[canon_dr] stat: reading 16 bytes, timeout 500
[canon_dr] stat: read 0 bytes, retval 9
[canon_dr] stat: <<
[canon_dr] stat: clearing error 'Error during device I/O'
[canon_dr] do_usb_clear: start
[canon_dr] do_usb_clear: clear halt
[canon_dr] do_usb_clear: finish with io error
[canon_dr] stat: bad RS status, 9
[canon_dr] WARNING: Brain-dead scanner. Hitting with stick again
[canon_dr] do_usb_cmd: start 1478583958 772489
[canon_dr] cmd: writing 24 bytes, timeout 500
[canon_dr] cmd: >>
[canon_dr] 000: 00 00 00 14 00 01 90 00 00 00 00 00 00 00 00 00 ................
[canon_dr] 010: 00 00 00 00 00 00 00 00 ........
[canon_dr] cmd: wrote 24 bytes, retVal 0
[canon_dr] stat: reading 16 bytes, timeout 500
[canon_dr] stat: read 0 bytes, retval 9
[canon_dr] stat: <<
[canon_dr] stat: clearing error 'Error during device I/O'
[canon_dr] do_usb_clear: start
[canon_dr] do_usb_clear: clear halt
[canon_dr] do_usb_clear: finish with io error
[canon_dr] stat: bad RS status, 9
[canon_dr] wait_scanner: error 'Error during device I/O'
[canon_dr] wait_scanner: finish
[canon_dr] connect_fd: could not wait_scanner
[canon_dr] disconnect_fd: start
[canon_dr] disconnecting usb device
[canon_dr] disconnect_fd: finish
[canon_dr] connect_fd: finish

Into canon_dr.conf file, I tried to put these options :
option duplex-offset 840
option vendor-name CANON
option model-name DR-1210C
option version-name XXXX
option padded-read 1

Do you know what is the problem ?

Followups: Sort comments antichronologically

Message
Date: 2016-11-08 12:54
Sender: m. allan noah

The problem is that this scanner uses a genesys chipset. It does not speak the same protocol as other Canon DR series scanners.
Date: 2016-11-09 04:51
Sender: Ju Ru

Thank you.
I tried to use my device with genesys backend. I added 'usb 0x1083 0x160f' in genesys.conf file.
When I run scanimage, the result is KO :

[sanei_debug] Setting debug level of genesys to 255.
[genesys] SANE Genesys backend version 1.0 build 2508 from sane-backends 1.0.25
[genesys] SANE Genesys backend built with libusb-1.0
[genesys] sane_init: authorize != null
[genesys] sane_init: little endian machine
[genesys] probe_genesys_devices start
[genesys] attach: start: devp != NULL, may_wait = 0
[genesys] attach: trying to open device `libusb:005:098'
[genesys] attach: device `libusb:005:098' successfully opened
[genesys] attach: vendor 4227 product 5647 is not supported by this backend
[genesys] attach_one_device: Invalid argument
[genesys] probe_genesys_devices: 0 devices currently attached
[genesys] probe_genesys_devices completed
[genesys] sane_genesys_init completed
[genesys] sane_get_devices: start: local_only = false
[genesys] probe_genesys_devices start
[genesys] attach: start: devp != NULL, may_wait = 0
[genesys] attach: trying to open device `libusb:005:098'
[genesys] attach: couldn't open device `libusb:005:098': Invalid argument
[genesys] attach_one_device: Invalid argument
[genesys] probe_genesys_devices: 0 devices currently attached
[genesys] probe_genesys_devices completed
[genesys] sane_genesys_get_devices completed

Attached Files:

Changes:

No Changes Have Been Made to This Item

Powered By FusionForge