Professional Documents
Culture Documents
Finally Solved.
There are no linux drivers published by Canon for this low cost, USB powered Scanner, which can
scan quite fast from 75 to 2400 dpi.
It is a quite a source of frustration for linux users. The sane website http://www.sane-
project.org/cgi-bin/driver.pl?manu=Canon&model=LiDE+120&bus=any&v=&p=
However, we can reliably get the scanner to work perfectly in 32 bit Linux Mint 18 (Ubuntu 16) if
we Compile Sane From Source
Sane is the software that controls scanners under Linux. There are times that you need to build sane
from source, such as when bugs are fixed or a new scanner support is added. This is a relatively
advanced process for a new Linux user.
Steps:
Open a Terminal and type:
Install git-core:
cd sane-backends
sane-find-scanner
scanimage -L
sudo scanimage -L
If your scanner is detected with both of these commands, you have a successful install.
If it is detected with sudo but not as user, then you have a permissions problem. If it is not detected
with either, see Troubleshooting below
Permissions problem:
If you can scan as root (sudo), but not as user, you have a permissions issue. Ubuntu 16 releases use
udev to set permisions. Some previous releases used HAL. To edit udev, open /lib folder as root and
open the /lib/udev/rules.d/40-libsane.rules file with a text editor. Then add the following two lines
(change the scanner name and usb product id and vendor id to match your scanner):
Troubleshooting:
If you follow the above instructions and cannot scan, there are several useful things you try.
First, check the file /etc/sane.d/<Canon.conf>, where backend is the name of the backend that your
scanner uses. Your scanner should be listed in this file, along with its usb id. If it is not listed, then
add it, following the format that the other scanners use. In this example we are checking a scanner
that uses the genesys backend.
cat /etc/sane.d/genesys.conf
A few of the older backends are deactivated by default. You can check for this by:
cat /etc/sane.d/dll.conf
Open /etc/sane.d/dll.conf as root (sudo) and make sure that your backend is not commented with a
'#'. If your backend is commented out, then delete the # with your favorite text editor.
lsusb
sane-find-scanner
scanimage -L
sudo scanimage -L
scanimage -T
scanimage -V
If you have previously cloned the source code and want to download the latest code, use the
following:
cd ~/sane-backends
git pull
Another problem that occasionally comes up is that someone tries to build the latest version of sane
as described above, but they forget to add the recommended flags after the ./configure command.
What happens is that Ubuntu ships with the sane libraries in /usr/lib/sane.
the new sane libraries will be installed over the previous ones in /usr/lib/sane.
./configure
To make sure that the newest version of sane (in /usr/local/lib/sane) is used
include /etc/ld.so.conf.d/*.conf
include /usr/lib
include /etc/ld.so.conf.d/*.conf
include /usr/local/lib
Then run
sudo ldconfig