Ubuntu – Cannot persuade ubuntu 18.04 to detect and run Canon G2000 series scanner

18.04canondriversscannersimplescan

I have a Canon Pixma G2100 multifunctional that prints very well but I cannot use the scanner.
My Linux is a Xubuntu 18.04 updated.

I followed this link to install the scanner (option B – from source):
https://blog.droidzone.in/tag/sane/

Both commands autoreconf and debuild show many warnings and some errors but the scangearmp-common_2.30-1_amd64.debis generated and can be installed without error messages.

I add the definition in the 2 lines below to /etc/udev/rules.d/80-canon_mfp.rules and /etc/udev/rules.d/80-canon_mfp2.rules

#G2000 series
ATTR{idVendor}==”04a9″, ATTR{idProduct}==”1795″, MODE=”666″

At this point, lsusb and sane-find-scanner detect my usb scanner but scanimage, simple scan and xsane don't.

Another try, using the procedure of the link below give the same result:
Scanner Canon Pixma G2000 not detected on scangearmp

I find that this multifunctional is old in the US and Europe and never had an original Canon linux driver. It was sold as a novelty in Brazil last year and I bought it thinking I could find a sane driver.

Does anyone has a solution for this problematic scanner?

Best Answer

Since your device listed as supported here, it should work. Based on your description, I assume, that the installed sane version is not up-to-date. I had the same problem, that lsusb and sane-find-scanner detected my scanner, but scanimage -L failed. You can check your sane backend version by running:

scanimage -V

You have two ways to update your sane package. Choose one of them, not both.

OPTION 1

The suggestion from markling to use the repository(Install Canon LiDE 300 / 400 on Ubuntu 18.04) worked for me.

sudo add-apt-repository ppa:rolfbensch/sane-git

sudo apt-get update

After the installation, you should be able to identify your scanner by executing scanimage -L.

OPTION 2

The compilation and installation of the latest sane is in my opinion the cleaner solution. However, you have to do more and be patient.

As preparation, you have to install the prerequisites:

sudo apt install build-essential libieee1284-3 gphoto2 autoconf automake libtool gettext git autopoint autoconf-archive pkg-config libjpeg-dev

Now, you can enter the folder of your choice and run:

git clone https://gitlab.com/sane-project/backends.git

cd backends

./autogen.sh

BACKENDS="canon pixma" ./configure

make

make install

After the installation, you should be able to identify your scanner by executing scanimage -L.

By compiling the newest version, the backend status in my system changed from 1.0.27 to 1.0.29.

Related Question