Comment 8 for bug 123441

Revision history for this message
rusivi2 (rusivi2-deactivatedaccount) wrote :

Raphael Finkel, does the modified steps found in the original post below work for you?

1) You need some usb libraries, so, in a terminal type:

sudo apt-get install libusb-dev build-essential

2) To get the sane backends from git you need git-core. If you don't already have it, type this (also in a terminal):

sudo apt-get install git-core

3) Now use the git that was just installed to get the sane backends using the following command:

git clone git://git.debian.org/sane/sane-backends.git

That downloads the backends and puts them in a folder called sane-backends in your home folder.

4) Change directory into the new sane-backends folder and compile them:

cd sane-backends

./configure –prefix=/usr –sysconfdir=/etc –localstatedir=/var

make <--- this one takes a while

sudo make install

Now everything is installed, but you still won't be able to scan (except as root) until you set up some permissions.

5) You need to edit a file, but you need to be root to edit it, so:

sudo gedit /lib/udev/rules.d/40-libsane.rules

and add the following 2 lines:

# Canon CanoScan
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="2229", ENV{libsane_matched}="yes"

save the file, exit gedit, exit terminal, reboot, and...

http://ubuntuforums.org/showpost.php?s=91f00a5a92962456276915021e3da42a&p=9167803&postcount=9