Getting Canon Pixma G2000 to scan on Ubuntu Xenial (Scanner drivers)

Use the compile from source technique to install scanner drivers.

Canon does not provide official drivers for Canon Pixma G2000 and G1000 on Linux. Thankfully, Thierry Huchard who maintains SANE packages for Ubuntu has added scanning support for this printer today. He is a great person who has responded positively to my requests for help, and today I was able to get the printer to scan using the sane package he released (1.0.27+git20170902-zesty0) on xsane image scanner.

A. From package (BROKEN)

Edit: The following technique is broken. It DOES NOT work. Use method B to install.
To install:

sudo add-apt-repository ppa:rolfbensch/sane-git
sudo apt-get update
sudo apt-get install sane sane-utils libsane-extras xsane

Now check at the command line:

scanimage -L
device `pixma:04A91795_1019CD' is a CANON Canon PIXMA G2000 multi-function peripheral

You may need to add/edit /etc/udev/rules.d/80-canon_mfp2.rules and insert the following line:
#G2000 series
ATTR{idVendor}==”04a9″, ATTR{idProduct}==”1795″, MODE=”666″

Mine looks like this:

#MG3600 series
ATTR{idVendor}=="04a9", ATTR{idProduct}=="178a", MODE="666"
#G2000 series
ATTR{idVendor}=="04a9", ATTR{idProduct}=="1795", MODE="666"
#G3000 series
ATTR{idVendor}=="04a9", ATTR{idProduct}=="1794", MODE="666"

Test it out. There may be a couple of additional steps. Since I’ve been testing out for a long time, I may have missed a few steps that I did earlier.
Recommender scanning applications for use with sane are Xsane, Skanlite(Simple and to the point)

Here are the results with sane using Skanlite:

B. From source

If compiling from source is your thing, try this go here.
The steps are:

git clone [email protected]:droidzone/scangearmp.git

You will need a github account.

sudo apt install libsane-dev libtool-bin libusb-dev sane-utils libsane-extras xsane
cd scangearmp/scangearmp/
autoreconf -vfi
cd ../
debuild -tc

Dont worry if you see a “debsign: gpg error occurred! Aborting….debuild: fatal error at line 1295:running debsign failed” line at the end. That’s normal.

This will generate a debian package in ../ named something like ../scangearmp-common_2.30-1_amd64.deb

Install with:

sudo dpkg -i ../scangearmp-common_2.30-1_amd64.deb

Test with:

scanimage -L

If successful, it will tell you that: “device `pixma:04A91795_1019CD’ is a CANON Canon PIXMA G2000 multi-function peripheral”

If it still doesnt work for you, try Vuescan, a paid alternative that works.