meta data for this page
  •  

This is an old revision of the document!


Sane frontends in Debian

  • xsane
  • xscanimage
  • simple-scan
  • skanlite
  • gscan2pdf
apt-get install sane xsane sane-utils
usermod -aG scanner user
usermod -aG lp saned

List scanners:

scanimage -L

Canon Lide 400

Bus 001 Device 003: ID 04a9:1912 Canon, Inc.

proprietary

Download and install Canon's ScanGear debian package. This package provides no compatibility with sane, it provides own tool scangearmp2

sane

From sane list, it should be supproted by sane-pixma driver: Backend: pixma (0.23.0)

Build as DEB

apt-get install build-essential fakeroot devscripts
cd /usr/src
apt-get source sane-backends
cd sane-backends-1.0.27/
apt-get build-dep sane-backends
debuild -b -uc -us
dpkg -i ../fdupes_1.50-PR2-3_<your arch>.deb

Build from source

apt-get install libjpeg-dev libpng-dev apt-get install libjpeg-dev libpng-dev
git clone https://gitlab.com/sane-project/backends.git

read INSTALL.linux how to install

libsane.so: undefined reference to `libusb_set_option' Solution: check for old libusb in /usr/local/lib. Mine was from microchip IDE.

Download daily snapshoot from: http://www.sane-project.org/snapshots/

./configure
make
sudo make install

Now it works:

$ scanimage -L
device `pixma:04A91912_413B3B' is a CANON CanoScan LiDE 400 multi-function peripheral
device `pixma:04A91912' is a CANON CanoScan LiDE 400 multi-function peripheral