How I installed Canon Lide 400 on Debian Sid

Share your own howto's etc. Not for support questions!

How I installed Canon Lide 400 on Debian Sid

Postby aario » 2019-04-19 17:21

The scanner is quite new and at the time of writing this topic, still not supported with Debian Testing, let alone Debian stable. So this is how I made the scanner work:
Downloaded latest sane-backends source code from its upstream repository at:
The download link is:
extracted it into some folder and in terminal entered into the folder.
First installed Debian Sid sane and gimp:
Code: Select all
sudo apt install sane sane-utils

Installed sane backend build requirements:
Code: Select all
sudo apt install build-essential make
sudo apt build-dep sane
sudo apt install libjpeg-dev

Then compiled the backend code:
Code: Select all
make -j9

Canon Lide 400 uses pixma backend. So all I need from the compiled source was pixma library. I picked it and copied over the debian version:
Code: Select all
cp ./backend/.libs/ /usr/lib/x86_64-linux-gnu/sane/

Based on udev rules provided by sane source code after build, in file:
Code: Select all

Created the file:
Code: Select all

With only this line:
Code: Select all
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1912", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"

Added my user to scanner group.
Rebooted computer.
In Gimp I can now go to File> Create> Xscan Image> Device Dialog> Scan
And it works.

Note: When I run command:
Code: Select all
lsusb | grep -i canon

Here is what I can see:
Code: Select all
Bus 003 Device 003: ID 04a9:1912 Canon, Inc.

Check if you have the same scanner and that it is connected.
Posts: 3
Joined: 2019-04-18 06:26

Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 3 guests