Hi
I'm trying to scan a document with my Fujitsu fi-7160 using the SANE library (1.0.25) but i'm having some problems.
First of all when i run the command 'sudo scanimage -L' it only find the scanner at the second try, strange right? But that isn't bothering me at all.
The main problem is when i type 'sudo scanimage --test' or some command with scanimage and any options. The scanner reacts and moves the paper very quickly.
When i look at the terminal this is the result:
Code:
(...)
[fujitsu] cmd: writing 31 bytes, timeout 30000
[fujitsu] cmd: wrote 31 bytes, retVal 0
[fujitsu] in: reading 262032 bytes, timeout 30000
[fujitsu] in: retVal 0
[fujitsu] in: read 32 bytes
[fujitsu] in: short read, 32/262032
[fujitsu] stat: reading 13 bytes, timeout 30000
[fujitsu] stat: read 13 bytes, retVal 0
[fujitsu] do_usb_cmd: finish
[fujitsu] read_from_scanner: got GOOD/EOF, returning GOOD
[fujitsu] read_from_scanner: read 32 bytes
[fujitsu] copy_buffer: start
[fujitsu] copy_buffer: finish
[fujitsu] read_from_scanner: finish
[fujitsu] read_from_buffer: start
[fujitsu] read_from_buffer: si:0 re:32 ml:32768 by:32
[fujitsu] read_from_buffer: img to:1049400 rx:32 tx:0
[fujitsu] read_from_buffer: buf to:262144 rx:32 tx:0
[fujitsu] read_from_buffer: finish
[fujitsu] sane_read: reset buffers
[fujitsu] check_for_cancel: start 1 0
[fujitsu] check_for_cancel: finish 0
[fujitsu] sane_read: finish 0
[fujitsu] sane_read: start
[fujitsu] read_from_scanner: start 0
[fujitsu] read_from_scanner: si:0 re:1049368 bs:262144 by:262032 av:262144
[fujitsu] read_from_scanner: img to:1049400 rx:32 tx:32 li:0
[fujitsu] read_from_scanner: buf to:262144 rx:0 tx:0
[fujitsu] do_usb_cmd: start
[fujitsu] cmd: writing 31 bytes, timeout 30000
[fujitsu] cmd: wrote 31 bytes, retVal 0
[fujitsu] in: reading 262032 bytes, timeout 30000
[fujitsu] in: retVal 0
[fujitsu] in: read 13 bytes
[fujitsu] in: short read, 13/262032
[fujitsu] stat: reading 13 bytes, timeout 30000
[fujitsu] stat: read 0 bytes, retVal 5
[fujitsu] stat: got EOF, returning IO_ERROR
[fujitsu] read_from_scanner: error reading data block status = 9
[fujitsu] read_from_scanner: read 0 bytes
[fujitsu] read_from_scanner: finish
[fujitsu] sane_read: side 0 returning 9
scanimage: sane_read: Error during device I/O
[fujitsu] sane_cancel: start
[fujitsu] sane_cancel: finish
[fujitsu] sane_close: start
[fujitsu] mode_select_buff: start
[fujitsu] do_usb_cmd: start
[fujitsu] cmd: writing 31 bytes, timeout 30000
[fujitsu] cmd: wrote 31 bytes, retVal 0
[fujitsu] out: writing 12 bytes, timeout 30000
[fujitsu] out: wrote 12 bytes, retVal 0
[fujitsu] stat: reading 13 bytes, timeout 30000
[fujitsu] stat: read 0 bytes, retVal 5
[fujitsu] stat: got EOF, returning IO_ERROR
[fujitsu] mode_select_buff: finish
And i don't get any output file. I think that the bold lines are responsible for this malfunction.
I've tried to change the buffer size but the result is the same. I've tried also with diferent versions of the SANE library but nothing changes. This weekend i'll try with another scan models.
I really need to put this working and i would be very appreciated if you could help me here.
Thank you.
Bookmarks