[sane-devel] Pixma MP600 broken by 1430217e1919801fa6418c36589cc4360e5f1779
Tomas Pospisek
tpo_deb at sourcepole.ch
Fri Dec 3 18:26:18 UTC 2010
Hello Nicolas,
On Mon, 29 Nov 2010, Nicolas Martin 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);
>
> Then recompile/reinstall/retry
Thanks a lot! That indeed fixes the problem and I get a scan.
Do you still need the following or is it sufficient to know that the above
fixes the problem?
> In this file, you'll see a lot of commented "PDBG" statements, could you
> uncomment those, and take a debug level = 5 log trace:
>
> $ export SANE_DEBUG_PIXMA=5
> $ 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.
I'll try to ask the other debian bug reporters about whether the above
fixes the scanning problems with their respective scanners MP160 and
MP780 as well.
*t
More information about the sane-devel
mailing list