QUOTE(zenix @ Aug 27 2008, 12:13 AM)
i'm going INSANE trying to get SANE to work for my Canon Pixma MX300
Try use sane cvs. It support MX300.
Ok , I guide you how to do it eventhough you probably know how (for user who don't know la):
Only applicable to Debian and Ubuntu based.
1. install dependencies for compilation:
CODE
apt-get install libusb-dev
2. Get sane cvs:
CODE
cvs -d :pserver:anonymous@cvs.alioth.debian.org:/cvsroot/sane login
cvs -d :pserver:anonymous@cvs.alioth.debian.org:/cvsroot/sane checkout sane-backends
3. Configure and compile:
CODE
cd sane-backends
/configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make
make install (as root or sudo)
4. Make sure your user is in scanner and plugdev groups.
You can check using command: groups (run this as user)
ex:
CODE
groups
oshiri dialout fax voice cdrom floppy tape sudo audio dip video plugdev games users usb scanner camera vboxusers
If you don't know how to add user to that group, read this:
http://mambang.org.my/modules/news/article.php?storyid=1345. Backup your udev libsane.rules and replace with new one (Use sudo if you using Ubuntu, and root if you using DEBIAN):
i) Backup
CODE
cp /etc/udev/rules.d/025_libsane.rules ~/
(025_libsane.rules is in Debian ETCH. Yours probably different , please check. You can set different path to backup that file)
ii) Overwrite file with new one:
CODE
cp sane-backends/tools/udev/libsane.rules /etc/udev/rules.d/25-libsane.rules
(please change name according to what is given in rule.d directory)
6. Test new sane
i) you could reboot, restart udev service or unplug an replug your scanner
ii) test scanner with all below commands:
CODE
scanimage -V - to check version of sane. You should get CVS.
scanimage -L - to list your scanner device or devices
scanimage -T - to really test your scanner. If you get erorr of I/O, try switch usb port.
That's all.
This post has been edited by oshiri: Aug 27 2008, 10:25 AM