[sane-devel] re: Minolta Dimage Scan Dual II
Jose Paulo Moitinho de Almeida
moitinho at civil.ist.utl.pt
Wed May 24 10:54:40 UTC 2006
On Tuesday 23 May 2006 20:47, Dietmar Segbert wrote:
> Hello Rene and Jose,
> hello list,
>
> now i have tested the following commands:
>
> scanimage -d avision >test.pnm 2>error.asc
> (door was closed an no film holder)
>
> scanimage -d avision --frame 1 --resolution 2820 >bild.pnm 2>error1.asc
> (doo was half open, film holder with three negatives)
>
> But nothing happened, also not without the resolution-option.
>
> Here are the error.asc and error1.asc
>
I will need to check the current version and which version was working for me.
I hope to be able to do it tonight.
From your first log we can see that the scanner is recognised. It sees that
there is no film holder, it waits for the lamp to warm up, all perfect, and
then it starts the calibration process. Everything seems to be ok, until we
get to the portion that I am attaching. There we start having timeouts while
reading the calibration data, and the backend complains "dark data present -
decreasing white aerage data".
I suspect that there may be a problem related to libusb (chunk size? invalid
parameter?), as the process of reading calibration data should be fairly
normal.
From that point on every action fails.
Considering that the driver/device are "confused" the second scan failed
without even discovering that the scanner was there.
Rene, do you have any idea about what may cause a status 10000 associated with
the timeout?
Regards
ZP
[avision] get_calib_data: Got 249300 bytes calibration data
[avision] sort_and_average:
[avision] compute_dark_shading_data:
[avision] normal_calibration: using color calibration
[avision] get_calib_data: type 62, size 249300, chunk_size: 249300
[avision] get_calib_data: Reading 249300 bytes calibration data
[avision] Timeouts: write: 30000, read: 30000, status: 10000 <<<<<<< HERE
[avision] avision_usb_status: timeout 10000, 1 retries
[avision] ==> (interrupt read) going down ...
[avision] <== (interrupt read) got: 1, status: 0
[avision] get_calib_data: Got 249300 bytes calibration data
[avision] sort_and_average:
[avision] normal_calibration: dark data present - decreasing white aerage data
[avision] compute_white_shading_data:
[avision] compute_white_shading_data: target 0: bytes swapped.
[avision] compute_white_shading_data: target 0: ff00
[avision] compute_white_shading_data: target 1: bytes swapped.
[avision] compute_white_shading_data: target 1: ff00
[avision] compute_white_shading_data: target 2: bytes swapped.
[avision] compute_white_shading_data: target 2: ff00
[avision] compute_white_shading_data: 97 invalid, 23 limitted
[avision] set_calib_data:
[avision] set_calib_data: merging dark calibration data
[avision] set_calib_data: channels in single commands
[avision] set_calib_data_calibration: channel: 0
[avision] set_calib_data: sending 5540 bytes now
[avision] Timeouts: write: 30000, read: 30000, status: 10000
[avision] === Got error 9 trying to write, wrote: 0. ===
[avision] try to read status to clear the FIFO
[avision] avision_usb_status: timeout 500, 1 retries
[avision] ==> (interrupt read) going down ...
[avision] <== (interrupt read) got: 1, status: 2
[avision] avision_usb_status: Needs to request sense!
[avision] === Got error 4 trying to read status. ===
[avision] set_calib_data: send_data failed (Error during device I/O)
[avision] set_calib_data_calibration: channel: 1
[avision] set_calib_data: sending 5540 bytes now
[avision] Timeouts: write: 30000, read: 30000, status: 10000
scanimage: received signal 2
scanimage: trying to stop scanner
[avision] sane_cancel:
More information about the sane-devel
mailing list