Bug#585887: fix for XSane/Pixma Problem

December 03rd, 2010 - 03:10 pm ET by Tomáš Pospíšek | Report spam
The patch suggested in the sane-devel mailing list [1] by Nicolas
Martin fixes the scanning problem on my Pixma MP600.

I would be very glad if you, and any other readers of these bugreports
that are affected by the problem could try whether that patch fixes their
problems and report it to 585887@bugs.debian.org (and/or to me).

I've compiled the pixma libs for the amd64 platform (i.e. 64 bit amd and
intel processors) and put them up for a try here [2].

You'll need to download them and install them (as root) with:

cp libsane-pixma.so.1.0.22 /usr/lib/sane/
(
cd /usr/lib/sane/
ln -f -s libsane-pixma.so.1.0.22 libsane-pixma.so.1
)

cp libsane.so.1.0.22 /usr/lib/
(
cd /usr/lib/
sudo ln -f -s libsane.so.1.0.22 libsane.so.1
)

Then you can start xsane and try whether it now works with the fixed
backend.

If it doesn't, or you just want to go back to your previous
configuration, then you can just (re-)install the libsane deb package [3]
and it will clean up all changes made by the few lines above. Again as
root:

apt-get --reinstall install libsane

Thanks,
*t

[1] http://lists.alioth.debian.org/pipe...27737.html
[2] http://tpo.sourcepole.ch/public/
[3] http://packages.debian.org/libsane



To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 2 repliesReplies Make a reply

Replies

#1 Tomas Pospisek
December 14th, 2010 - 04:40 pm ET | Report spam
Upstream is not moving. The fix is very short and tested on Pixma
MP600 and MP960. Would it be possible to include it with sqeeze?
*t


diff --git a/backend/pixma_mp150.c b/backend/pixma_mp150.c
index ebee20c..9524d6b 100644
a/backend/pixma_mp150.c
+++ b/backend/pixma_mp150.c
@@ -676,8 +676,7 @@ send_scan_param (pixma_t * s)
pixma_set_be16 (s->param->xdpi | 0x8000, data + 0x04);
pixma_set_be16 (s->param->ydpi | 0x8000, data + 0x06);
pixma_set_be32 (s->param->x, data + 0x08);
- if (s->cfg->pid == MP460_PID || s->cfg->pid == MP510_PID)
- pixma_set_be32 (s->param->x - s->param->xs, data + 0x08);
+ pixma_set_be32 (s->param->x - s->param->xs, data + 0x08);
pixma_set_be32 (s->param->y, data + 0x0c);
pixma_set_be32 (raw_width, data + 0x10);
pixma_set_be32 (h, data + 0x14);




To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Similar topics