[sane-devel] Pixma MP600 broken by 1430217e1919801fa6418c36589cc4360e5f1779

Nicolas Martin nicolas0martin at gmail.com
Mon Nov 29 20:53:02 UTC 2010

Le lundi 29 novembre 2010 à 19:54 +0100, Tomas Pospisek a écrit :
> On Mon, 29 Nov 2010, Tomáš Pospíšek wrote:
> [...]
> The same patch seems also to have broken Canon Pixma MP160 [1] and Pixma 
> MP780 [2].

Could you try first to change, in the current git version of Sane, the
following line in backend/pixma_mp150.c, at line 683:

      if (s->cfg->pid == MP460_PID || s->cfg->pid == MP510_PID)
        pixma_set_be32 (s->param->x - s->param->xs, data + 0x08);

Take out the if condition, and leave only the second line:

        pixma_set_be32 (s->param->x - s->param->xs, data + 0x08);

Then recompile/reinstall/retry

In this file, you'll see a lot of commented "PDBG" statements, could you
uncomment those, and take a debug level = 5 log trace:

$ scanimage -T 2> /tmp/logfile

You should get a /tmp/logfile, please send it back, it could be checked
when it fails, and compare the output values with those from MP610,
which works.


More information about the sane-devel mailing list