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
Reboot.
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" LABEL="canon_mfp_end"
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.
Joel G Mathew, known in tech circles by the pseudonym Droidzone, is an opensource and programming enthusiast.
He is a full stack developer, whose favorite languages are currently Python and Vue.js. He is also fluent in Javascript, Flutter/Dart, Perl, PHP, SQL, C and bash shell scripting. He loves Linux, and can often be found tinkering with linux kernel code, and source code for GNU applications. He used to be an active developer on XDA forums, and his tinkered ROMS used to be very popular in the early 2000s.
His favorite pastime is grappling with GNU compilers, discovering newer Linux secrets, writing scripts, hacking roms, and programs (nothing illegal), reading, blogging. and testing out the latest gadgets.
When away from the tech world, Dr Joel G. Mathew is a practising ENT Surgeon, busy with surgeries and clinical practise.