[sane-devel] Canon Pixma MX525

Rolf Bensch rolf at bensch-online.de
Fri Mar 14 19:19:49 UTC 2014


Hi Trygve,

Am 10.03.2014 22:48, schrieb Trygve Flathen:
> On Mon, Mar 10, 2014 at 9:39 PM, Rolf Bensch <rolf at bensch-online.de> wrote:
>> The attached patch should fix these issues:
>> (1) interlacing @ 1200 dpi
> 
> Did not see any change to this problem.

OK, I removed this from the patch.

> However, this patch fixed it (don't know if it breaks something else though)
> 
> --- a/backend/pixma_common.c
> +++ b/backend/pixma_common.c
> @@ -1053,7 +1053,7 @@ pixma_check_scan_param (pixma_t * s,
> pixma_scan_param_t * sp)
> 
>    /* FIXME: I assume the same minimum width and height for every model. */
>    CLAMP2 (sp->x, sp->w, 13, s->cfg->width, sp->xdpi);
> -  CLAMP2 (sp->y, sp->h, 8, s->cfg->height, sp->ydpi);
> +  CLAMP2 (sp->y, sp->h, 16, s->cfg->height, sp->ydpi);
> 

Your patch sets minimum scan size to 13 x 16 pixels. This shouldn't
break anything.

> 
>> (2) 14" legal paper size in ADF mode
> 
> I assume the 877->1050 does this. Have not tested.
> 
>> (3) button support
> 
> Results:
> 
> $ export SANE_DEBUG_PIXMA=11
> # pressing "black"
> $ scanimage -A
> ...
>     --button-update
>         Update button state
> [pixma] INTR T=7.333 len=32
> [pixma]  00000000:00 00 00 00 01 01 03 02  01 00 00 00 00 00 00 00
> [pixma]  00000010:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> [pixma]
> ...
> # wait for scanner to time out

Is this a scanner internal timeout? Is the scanner waiting for scanning?

After checking button timeout I'll commit the patches.

Cheers,
Rolf



More information about the sane-devel mailing list