The scanner part of the PIXMA MP520 (and I guess probably also MP610) can also be made available for use in Pardus with xsane or kooka.
I did that by use of the following url as described below.
http://mp610.blogspot.com/2007/11/new-sane-scanner-driver-for-canon-mp610.html=================
NOTE: Please check first of you have alreday acces to your scanner as root, because in that case you will only have to follow the 2nd part of the procedure!!! e.g. su
xsane
Procedure-first part:
* Get the full new package that includes MP610:
mp150-0.14.4.tar.bz2
, and untar it :
$ tar xvjf mp150-0.14.4.tar.bz2
Go into the main directory (named "mp150-0.14.4") where you have you new driver files:
1. Compile:
$ make
or better, if you want to optimize size (1/3 size!) and speed:
$ make NDEBUG=yes
2. Test
From here, you can use the classic "scan" utility provided with the package. See the pixma home page for details on it. Example:
$ ./scan -x 10 -y 15 -w 51 -h 25 -1 -d 20 -W pixmascan.pnm
3. Install for Xsane, Kooka, ...
To install for use with sane, you need to
copy the libsane-pixma.so file freshly compiled, to replace you current one coming with the sane library (latest one is 1.0.19 **might be -18 on your system, Michiel**). Keep a backup of your current one.
So you need first to locate your sane libsane-pixma.so currently installed, depending on your distribution.
For instance, Mandriva and Ubuntu and Pardus

places it at: /usr/lib/sane/libsane-pixma.so.1.0.19
Simply rename: /usr/lib/sane/libsane-pixma.so.1.0.19 to: /usr/lib/sane/libsane-pixma.so.1.0.19.old
And copy your new: libsane-pixma.so to: /usr/lib/sane/libsane-pixma.so.1.0.19
The statements are (change to sudo or su mode first, Michiel):
# mv /usr/lib/sane/libsane-pixma.so.1.0.19 /usr/lib/sane/libsane-pixma.so.1.0.19.old
# cp libsane-pixma.so /usr/lib/sane/libsane-pixma.so.1.0.19
4. Try it with scanimage, Xsane, Kooka, ...
You're almost finished.
Under root, you can try to run
scanimage -L
(sane command line scan utility) for instance.
To use Xsane, or Kooka with your non-root user account, read now next section ...
Setting permissions to access the scanner:
Now that you've installed your new scanner, maybe you've noticed that you can only use it ... as a root user !
=================
Procedure-second part:
I managed the 2nd part (in which a normal, non-root user can also acces the scanner and make use of it) on my Pardus sytem as follows:
1. in Tasma-System-User Managmentr tab "groups" clicked button "+add" and type in a new group name, e.g.
scanner2. Then in the same window change to tab "users" and allow all users you want to be member of the group scanner by selecting each user and selecting "edit" followed by marking the empty box in front of the freshly made group
scanner at the right side of the screen
After that the scanner itself has to be pointed to the group
scanner as well:
3. Open /etc/udev/rules.d/66-libsane.rules as root and add almost at the bottom:
# Canon PIXMA MP520
SYSFS{idVendor}=="04a9", SYSFS{idProduct}=="1724_116906", MODE="664", GROUP="scanner"
NOTE For the PIXMA MP610 productID is 1725 and for my MP520 it is 1724_116906 (adjust accordingly if necessarily); vendorID is 04a9 in both cases.
4. Finish by aspplying the newly set rules
$ su udevcontrol reload_rules
Both in Xsane and Kooka my MP520 scanner is now immediately recognised, Pardus even more joyful for me now !
