[sane-devel] Pixma MP600 broken by 1430217e1919801fa6418c36589cc4360e5f1779

Gernot Hassenpflug aikishugyo at gmail.com
Mon Nov 29 23:05:09 UTC 2010

On Tue, Nov 30, 2010 at 5:53 AM, Nicolas Martin
<nicolas0martin at gmail.com> wrote:
> 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);

Hi Nicolas,
That is quite strange. This is one of the patches which I believe I
submitted during testing of various scanners, including the MP760/780.
The MP460 and MP510 required a new addition (condition) which only
have applied to them (for now) and no other devices, so I do not
understand exactly how this affects unrelated devices. Unfortunately I
now no longer have any of these machines, but I will compare the code
I still have.
Gernot Hassenpflug

More information about the sane-devel mailing list