The Maxify scanners seem to only be able to return JPEG data for ADF
sources. Attempting to send a gamma LUT will result in an error on
sane_start when trying to use the ADF. Flatbed scanning is unaffected
and runs fine with LUTs like prior models.
This patch adds support to the PIXMA backend for returned JPEG scans
and keys it off of the new capability, ADF_JPEG.
Tested on a Maxify MB2120 using the ADF and the flatbed scanner.
This may also fix other Maxify MB* models where it seems the ADF does
not with with the prior code, but I only have the MB2120 to test.
add some settings for MF8030, not yet working (different protocol)
modified: backend/pixma.c
modified: backend/pixma.h
modified: backend/pixma_common.c
modified: backend/pixma_imageclass.c
sanei/sanei_tcp.c, sanie/sanei_udp.c: Improve portablity by
removing usage of MSG_WAITALL since not all platforms support
that (cygwin). Default is to be blocking anyways. Changed
usage of MSG_NOTWAIT to use fcntl() function as needed as well.
* configure.in, lib/Makefile.in, lib/strcasestr.c: Add internal
strcasestr() for platforms missing it (cygwin).
* pixma_common.c: My source match header prototype for picky
compilers (cygwin).
* backend/umax_pp_mid.c: Allow BACKEND_NAME to be filename
yet debug to be SANE_DEBUG_UMAX_PP to match man page.
* Pixma backend (pixma.c/pixma_common.c/pixma_io_sanei.c/pixma_bjnp.c)
bjnp tcp connection is now de-activated after initialization and
re-activated at start of scanning. If we do not do this, the scanner
closes its side of the connection after 30 secods of inactivity.
Added a maximum to the retry of slect calls when signals are
received
Added blocksize detection for tcp read_bulk call
- added: Pixma MP210, MP470, MP520, MP610
- added: MultiPASS MP710
- declared untested: MP140, MP220, MultiPASS MP740
- declared experimental and untested: MP970
Bugs and fixes
- multipage documents scan no more fails with non-ADF MPs
- IO Fail bug when scanning large pages e.g. with Xsane
- implement send_time message form MP710, MP730 family
- run indent -gnu on all pixma_* source files.
* use own error codes e.g. PIXMA_EPROTO instead of EPROTO
* add MP530, MP800R and MP360
* add grayscale mode for MP700 and MP730
* add work-around for lock-up ("hang") problem of MP760 and MP780
* fix line correction (color alignment) for MP760