[sane-devel] Problems with Canon MP990 transparency unit

Guillaume Courtois guigui at gugux.net
Thu May 14 15:50:47 UTC 2015


Le 08/04/2015 08:22, Guillaume Courtois a écrit :
>> I just committed your patch to SANE's git repository. Many thanks for
>> your help.
> 
> Ah, very cool. I will rebuild from GIT and check that all works well.

Hi,

Just tried your commits and it appears that I forgot one change, stupid 
me :

diff --git a/backend/pixma_mp810.c b/backend/pixma_mp810.c
index e8bf75f..0473893 100644
--- a/backend/pixma_mp810.c
+++ b/backend/pixma_mp810.c
@@ -1708,7 +1708,7 @@ static unsigned post_process_image_data (pixma_t * 
s, pixma_imagebuf_t * ib)

          /* comment: MP970, CS8800F, CS9000F specific reordering for 
4800 dpi */
          if ((s->cfg->pid == MP970_PID || s->cfg->pid == CS8800F_PID
-            || s->cfg->pid == CS9000F_PID || s->cfg->pid == 
CS9000F_MII_PID) && (s->param->xdpi == 4800))
+            || s->cfg->pid == CS9000F_PID || s->cfg->pid == 
CS9000F_MII_PID || s->cfg->pid == MP990_PID) && (s->param->xdpi == 
4800))
          {
            /*PDBG (pixma_dbg (4, "*post_process_image_data***** 
mp970_reordering pixels n = %i  *****\n", n)); */
            mp970_reorder_pixels (mp->linebuf, sptr, c, s->param->wx, 
line_size);


If you could add this one, it should be ok after that.

Thanks !

Bye.



More information about the sane-devel mailing list