In short, the scanner of my Canon PIXMA MP230 was not working with the usual scan software, e.g. gscan2pdf, xsane etc...
The cause: Canon PIXMA MP230 scanner support has only be added to latest libsane 1.0.24, that is not yet released, so not yet available to ubuntu users.
The fix:
I followed these steps to install latest libsane from source: https://help.ubuntu.com/community/CompileSaneFromSource
But it was not working:
Code:
$ scanimage -V
scanimage (sane-backends) 1.0.24git; backend version 1.0.23
The backend version 1.0.23 was the old (system) version.
The problem is conflicts between the files from (outdated) ubuntu packages and my newest libsane install.
I could not just uninstall the libsane package, because too many other packages are dependent.
So my ugly hack was just to remove everything in the way:
Code:
cd /usr/lib/x86_64-linux-gnu/
sudo mkdir old
sudo mv libsane.a libsane.la libsane.so libsane.so.1 libsane.so.1.0.23 old/
sudo mv sane old/
# check
sudo ldconfig -v | grep libsane
Then everything is now just fine:
Code:
%scanimage -V
scanimage (sane-backends) 1.0.24git; backend version 1.0.24
$ scanimage -L
device `pixma:04A9175F' is a CANON Canon PIXMA MP230 multi-function peripheral
$ scanimage --test
Bookmarks