use model and serial to build sane.name (idea from Ryan Duryea),
allow both serial_name and device_name to sane_open scanner,
simulate missing VPD data for M3097G, probe scanner for color
interlacing mode instead of hardcoding, other minor cleanups
- page code 32 is not color interlacing, rename to 'unknown'
- increase number of bytes in response buffer of init_ms()
- protect debug modification code in init_ms() if NDEBUG is set
- proper async sane_cancel support
- re-enable JPEG support
- replace s->img_count with s->side
- sane_get_parameters(): dont round up larger than current paper size
- sane_start() rewritten, shorter, more clear
- return values are SANE_Status, not int
- hide unused functions
fixes the broken "ADF empty" detection on the Fujitsu scanners
when connected via USB. It also fixes a sense-request issues,
which were required in order to determine whether the ADF is
empty. It also eliminates some duplicate code blocks.
renamed some functions
- several bugfixes
- supports the M3097
- get threshold, contrast and brightness from vpd
- imprinter support
- get_hardware_status now works before calling sane_start
- avoid unnecessary reload of options when using source=fb