Fujitsu fi-5120c scanner Error during device IO
by jacko203 from LinuxQuestions.org on (#5SNB8)
Hi! I'd be grateful for any guidance.
I'm trying to use a Fujitsu fi-5120c scanner.
It connects OK and scanimage -L shows it.
Scanning individual pages with default settings often (not always) works as expected with correct image, but sometimes throws an error as below.
However, every 2nd / 3rd page will return a half completed scan in simple-scan and an IO error (see below).
Then scanner does not show up in scanimage -L until a USB unplug/replug, but does show with lsusb.
Arch 5.15.5-arch1-1
SANE version 1.0.32
I've not adjusted the fujitsu.conf in sane.d so the file is as default (below).
Quote:
/etc/sane.d/fujitsu.conf:
Quote:
I don't really know where to go next with this - can anyone point me in the right direction?
Thanks
I'm trying to use a Fujitsu fi-5120c scanner.
It connects OK and scanimage -L shows it.
Scanning individual pages with default settings often (not always) works as expected with correct image, but sometimes throws an error as below.
However, every 2nd / 3rd page will return a half completed scan in simple-scan and an IO error (see below).
Then scanner does not show up in scanimage -L until a USB unplug/replug, but does show with lsusb.
Arch 5.15.5-arch1-1
SANE version 1.0.32
I've not adjusted the fujitsu.conf in sane.d so the file is as default (below).
Quote:
[18:25:04.835304] [fujitsu] stat: read 13 bytes, retVal 0 [18:25:04.835310] [fujitsu] do_usb_cmd: finish [18:25:04.835316] [fujitsu] read_from_scanner: got GOOD/EOF, returning GOOD [18:25:04.835322] [fujitsu] read_from_scanner: read 63750 bytes [18:25:04.835327] [fujitsu] copy_buffer: start [18:25:04.835409] [fujitsu] copy_buffer: finish [18:25:04.835416] [fujitsu] read_from_scanner: finish [18:25:04.835422] [fujitsu] read_from_buffer: start [18:25:04.835428] [fujitsu] read_from_buffer: si:0 re:63750 ml:17851 by:17851 [18:25:04.835434] [fujitsu] read_from_buffer: img to:2103750 rx:892500 tx:828750 [18:25:04.835440] [fujitsu] read_from_buffer: buf to:65536 rx:63750 tx:0 [18:25:04.835451] [fujitsu] read_from_buffer: finish [18:25:04.835457] [fujitsu] check_for_cancel: start 1 0 [18:25:04.835462] [fujitsu] check_for_cancel: finish 0 [18:25:04.835468] [fujitsu] sane_read: finish 0 [18:25:04.835543] [fujitsu] sane_read: start [18:25:04.835548] [fujitsu] read_from_scanner: start 0 [18:25:04.835562] [fujitsu] read_from_scanner: si:0 re:1211250 bs:65536 by:0 av:1786 [18:25:04.835569] [fujitsu] read_from_scanner: img to:2103750 rx:892500 tx:846601 li:700 [18:25:04.835574] [fujitsu] read_from_scanner: buf to:65536 rx:63750 tx:17851 [18:25:04.835579] [fujitsu] read_from_scanner: no bytes this pass [18:25:04.835583] [fujitsu] read_from_buffer: start [18:25:04.835588] [fujitsu] read_from_buffer: si:0 re:45899 ml:19125 by:19125 [18:25:04.835593] [fujitsu] read_from_buffer: img to:2103750 rx:892500 tx:846601 [18:25:04.835597] [fujitsu] read_from_buffer: buf to:65536 rx:63750 tx:17851 [18:25:04.835605] [fujitsu] read_from_buffer: finish [18:25:04.835610] [fujitsu] check_for_cancel: start 1 0 [18:25:04.835614] [fujitsu] check_for_cancel: finish 0 [18:25:04.835619] [fujitsu] sane_read: finish 0 [18:25:04.835673] [fujitsu] sane_read: start [18:25:04.835679] [fujitsu] read_from_scanner: start 0 [18:25:04.835684] [fujitsu] read_from_scanner: si:0 re:1211250 bs:65536 by:0 av:1786 [18:25:04.835690] [fujitsu] read_from_scanner: img to:2103750 rx:892500 tx:865726 li:700 [18:25:04.835695] [fujitsu] read_from_scanner: buf to:65536 rx:63750 tx:36976 [18:25:04.835702] [fujitsu] read_from_scanner: no bytes this pass [18:25:04.835706] [fujitsu] read_from_buffer: start [18:25:04.835711] [fujitsu] read_from_buffer: si:0 re:26774 ml:19125 by:19125 [18:25:04.835717] [fujitsu] read_from_buffer: img to:2103750 rx:892500 tx:865726 [18:25:04.835722] [fujitsu] read_from_buffer: buf to:65536 rx:63750 tx:36976 [18:25:04.835730] [fujitsu] read_from_buffer: finish [18:25:04.835736] [fujitsu] check_for_cancel: start 1 0 [18:25:04.835742] [fujitsu] check_for_cancel: finish 0 [18:25:04.835747] [fujitsu] sane_read: finish 0 [18:25:04.835797] [fujitsu] sane_read: start [18:25:04.835803] [fujitsu] read_from_scanner: start 0 [18:25:04.835810] [fujitsu] read_from_scanner: si:0 re:1211250 bs:65536 by:0 av:1786 [18:25:04.835815] [fujitsu] read_from_scanner: img to:2103750 rx:892500 tx:884851 li:700 [18:25:04.835821] [fujitsu] read_from_scanner: buf to:65536 rx:63750 tx:56101 [18:25:04.835826] [fujitsu] read_from_scanner: no bytes this pass [18:25:04.835831] [fujitsu] read_from_buffer: start [18:25:04.835836] [fujitsu] read_from_buffer: si:0 re:7649 ml:19125 by:7649 [18:25:04.835841] [fujitsu] read_from_buffer: img to:2103750 rx:892500 tx:884851 [18:25:04.835847] [fujitsu] read_from_buffer: buf to:65536 rx:63750 tx:56101 [18:25:04.835853] [fujitsu] read_from_buffer: finish [18:25:04.835859] [fujitsu] sane_read: reset buffers [18:25:04.835864] [fujitsu] check_for_cancel: start 1 0 [18:25:04.835869] [fujitsu] check_for_cancel: finish 0 [18:25:04.835875] [fujitsu] sane_read: finish 0 [18:25:04.835900] [fujitsu] sane_read: start [18:25:04.835906] [fujitsu] read_from_scanner: start 0 [18:25:04.835911] [fujitsu] read_from_scanner: si:0 re:1211250 bs:65536 by:63750 av:65536 [18:25:04.835983] [fujitsu] read_from_scanner: img to:2103750 rx:892500 tx:892500 li:700 [18:25:04.835990] [fujitsu] read_from_scanner: buf to:65536 rx:0 tx:0 [18:25:04.835997] [fujitsu] do_usb_cmd: start [18:25:04.836012] [fujitsu] cmd: writing 31 bytes, timeout 30000 [18:25:04.836017] [fujitsu] cmd: >> [18:25:04.836024] [fujitsu] 000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C............... [18:25:04.836031] [fujitsu] 010: 00 00 00 28 00 00 00 00 00 00 f9 06 00 00 00 ...(........... [18:25:04.836066] [fujitsu] cmd: wrote 31 bytes, retVal 0 [18:25:04.836075] [fujitsu] in: reading 63750 bytes, timeout 30000 [18:25:10.028161] [fujitsu] in: retVal 9 [18:25:10.028182] [fujitsu] in: return error 'Error during device I/O' [18:25:10.028187] [fujitsu] read_from_scanner: error reading data block status = 9 [18:25:10.028191] [fujitsu] read_from_scanner: read 0 bytes [18:25:10.028198] [fujitsu] read_from_scanner: finish [18:25:10.028213] [fujitsu] sane_read: front returning 9 [18:25:10.028258] [fujitsu] sane_cancel: start [18:25:10.028272] [fujitsu] sane_cancel: finish [18:25:10.028278] [fujitsu] sane_close: start [18:25:10.028292] [fujitsu] mode_select_buff: start [18:25:10.028296] [fujitsu] mode_select_buff: unsupported [18:25:10.028301] [fujitsu] disconnect_fd: start [18:25:10.028306] [fujitsu] disconnecting usb device [18:25:10.028340] [fujitsu] disconnect_fd: finish [18:25:10.028345] [fujitsu] sane_close: finish ^C |
Quote:
option buffer-size 65536 # To search for all FUJITSU scsi devices scsi FUJITSU # To use a specific scsi device #scsi /dev/sg1 # For Fujitsu scanners connected via USB on a known device (kernel driver): #usb /dev/usb/scanner0 # For Fujitsu scanners connected via USB using vendor and device ids (libusb): #usb VENDORID PRODUCTID # NOTE: if you have to add your device here- please send the id and model # to the author via email, so it can be included in next version. kitno455 at # gmail dot com - with Fujitsu in the subject line #fi-4x20C usb 0x04c5 0x1041 usb 0x04c5 0x1042 #fi-4530C usb 0x04c5 0x1078 #fi-5750C usb 0x04c5 0x1095 #fi-5110eox/2 usb 0x04c5 0x1096 #fi-5110C usb 0x04c5 0x1097 #fi-5650C usb 0x04c5 0x10ad #fi-4x20C2 usb 0x04c5 0x10ae usb 0x04c5 0x10af #fi-4340C usb 0x04c5 0x10cf #fi-5x20C usb 0x04c5 0x10e0 usb 0x04c5 0x10e1 |
Thanks