Scanning does not work out of the box with this multifunctional printer. Works fine on Ubuntu 20.04 LTS with no workaround required.
Attempts to get this working with Canon's proprietary drivers failed as well.
Since it worked with sane on Ubuntu, upgrading libsane on Debian resolves scanning failure.
We hold libsane so we can override it with a build of sane-backends. This may not be required when building simple-scan from source.
sudo apt-get install simple-scan
sudo apt-mark hold libsane
sudo apt-get install build-essential autoconf-archive autopoint libtool libusb-dev libjpeg-dev autogen m4 pkg-config
export VERSION="1.0.32"
git clone -b $VERSION https://gitlab.com/sane-project/backends.git
cd backends
./autogen.sh
./configure
make -j$(nproc)
sudo make install
sudo ldconfig
# Add user to lp group (Scanner is accessible to the lp group)
sudo usermod -a -G lp $USER
At this point the scanner should show up:
$ scanimage -L
device `pixma:<DEVICE-ID>' is a CANON Canon PIXMA G2010 Series multi-function peripheral
# Test Scan
scanimage --format=jpeg -o scantest.jpg
Other frontends (xsane/gimp) or simple-scan with libsane held should suffice.
Install build dependencies as described here.
git clone https://gitlab.gnome.org/GNOME/simple-scan.git
cd simple-scan
meson --prefix /usr _build
meson --reconfigure --prefix /usr _build
ninja -C _build all install