Hello, I have a Highscreen Realscan scanner that is supported by the microtek backend. Single pass scans work fine, but multipass scans don't. the first pass is ok, then the scanner moves the tray(?) back. There the following happens:
[microtek] .mode_select_1 3... [microtek] .wait_ready 3... [microtek] .start_scan... [microtek] SENSE! fd = 3 [microtek] sense = 60 10 06 08. [microtek] end_scan... [microtek] .stop_scan... [microtek] SENSE! fd = 3 [microtek] sense = 60 10 06 08. // ^^ [microtek] end_scan: OY! on stop_scan scanimage: sane_start: Device busy [microtek] sane_cancel... [microtek] end_scan... [microtek] sane_close... [microtek] sane_exit... [microtek] sane_exit: MICROTEK says goodbye. the marked sense[0] code was not handled in the appropriate fn in microtek.c. I changed it to return SANE_DEVICE_BUSY (or so). That's the result. Maybe the problem lies in wait_ready, that doesn't really wait for the scanner to return it's tray? Any ideas? TIA -- Markus Bertheau. Berlin, Berlin. Germany.
