Canon Lide 100 Scanner in Ubuntu with sane: Installation & Permission Fixes

At last I managed to make my scanner (Canon canoscan Lide 100) work in my Ubuntu (10.04). I was having a lot of problems and was having problems with permission. I don’t know if I was having problem with installation, either. So, rather finding out what fixed the problem, I’m describing all I did.

Note: Though i mentioned canon Lide 100 at the title, the tutorial is applicable for any scanners supported by sane-genesys 5! You may check here whether you’ve a supported scanner.

Compile SANE

We will use sane-genesys as backend for scanning, which now supports Lide 100 along with a lot of different scanner models. You can check if your scanner is available, by using this page.

This portion is copied from the links i mentioned at the end of this article. Open a terminal and paste following:

sudo apt-get install libusb-dev build-essential libsane-dev
sudo apt-get install git-core # Only if you don't have git installed
git clone git://
cd sane-backends
cd sane-backends
export BACKENDS="net mustek mustek_usb genesys"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
sudo make install
sudo gedit /lib/udev/rules.d/40-libsane.rules

Gedit will open a file for editing, paste these lines at the end of the file:

# Canon CanoScan Lide 100
 ATTRS{idVendor}==”04a9″, ATTRS{idProduct}==”1904″, ENV{libsane_matched}=”yes”

Save the file and close gedit, reboot your machine.

Or, Install from PPA.

Now, you should see your scanner listed by the following command:

scanimage -L

If you find nothing, try:

sudo scanimage -L

If now you find your printer listed, skip to next section. Otherwise, execute following command:

sudo cp ~/sane-backends/backend/ /etc/sane.d/genesys.conf

Now, check again by typing sudo scanimage -L; if it still says it cannot find the scanner, check by typing sane-find-scanner in the terminal, the scanner should be listed under available USB scanners. If you don’t find it listed here, you’ve done something wrong while installing SANE or the scanner may be disconnected/malfunctioning 😦

Setting Permissions

If you don’t set permission for general users, only the root will be able to scan (which is considered dangerous). First run the following command:

sudo scanimage -L

This will give output like:

device `genesys:libusb:XXX:YYY‘ is a Canon LiDE 100 flatbed scanner

Now execute following line in terminal replacing the parts as colored.

sudo chmod 0777 /dev/bus/usb/xxx/yyy

You’ll be able to enjoy your scanner now! Test by running some GUI front-end, like xsane or Simple Scan (you can find these at Software Center)

Note: You may change permission every time you disconnect & then connect your scanner.

Links those helped


Access phpMyAdmin from localhost in Ubuntu Linux

Configure Apache

Type in terminal:
gksudo gedit /etc/apache2/apache2.conf

Add following line at the end of the file just opened:

Include /etc/phpmyadmin/apache.conf

Restart Apache

Type in terminal:
sudo /etc/init.d/apache2 restart


Open a browser and type http://localhost/phpmyadmin to have fun 🙂