Page 1 of 1

Canon Lide 200 with MX-19: How to get rid of black vertical bar

Posted: Thu Jan 02, 2020 8:59 am
by Oli
Hello and season's greetings to all,
one of the biggest challenges changing from Win 7 to MX-Linux is to make existing hardware run properly.
In my case the hardest nut was a Canon CanoScan Lide 200 scanner.

This is a nice small USB scanner in a flat case and it is very handy to use.
Here in Germany it is a widespread device. Despite its age our patient still looks like new an is definitely not ready for the bin.

For some obscure reason this scanner produces a thick black vertical bar on every scan under MX-19.
In this thread you can see how it looks like. Thus, sadly enough all scans are completely unusable:
https://askubuntu.com/questions/996666/ ... -black-bar

Searching around in the net I found this solution and hey... it worked with MX-19! :number1:
https://forums.linuxmint.com/viewtopic.php?t=273785

So this is a short guidance especially for beginners (because I am a beginner myself).

Before you start a few important things have to be considered:
1. Don't connect the scanner to the USB. Make sure that it is unplugged!
2. After downloading and unpacking the libsane backends (version 1.0.25) you will find the files in the directory /home/user/Downloads/sane-backends-1.0.25/
3. Therefore, you have to navigate exactly into this directory over the terminal window with the command:

Code: Select all

cd /home/user/Downloads/sane-backends-1.0.25/
4. While the libsane 1.0.25 is built and installed just relax! It takes a while!

According to the link above the adapted workaround is as follows (using MX-19 / german version):
- Download the libsane 1.0.25 backends source from: http://http.debian.net/debian/pool/main ... rig.tar.gz.
- Unpack the archive to the directory /home/user/Downloads/sane-backends-1.0.25/
- Install prerequisite packages to build libsane backends from source:

Code: Select all

sudo apt install libusb-dev build-essential libsane-dev
sudo apt install libavahi-client-dev libavahi-glib-dev libjpeg-dev
- Build and install libsane 1.0.25:

Code: Select all

cd /home/user/Downloads/sane-backends-1.0.25/
./configure
make
sudo make install
- Double-check that 1.0.25 is FIRST in the library load order for libsane:

Code: Select all

sudo ldconfig -v | grep libsane
- You should see something like:

Code: Select all

libsane.so.1 -> libsane.so.1.0.25
libsane.so.1 -> libsane.so.1.0.27
- Run SimpleScan or XSane to test
After this my Cannon Lide 200 worked flawlessly.
The thick black vertical bar was gone.
The directory /sane-backends-1.0.25/ inside the directory /Downloads/ can be deleted (if you want).

Cheers and have fun!

Re: Canon Lide 200 with MX-19: How to get rid of black vertical bar

Posted: Thu Jan 02, 2020 9:14 am
by chrispop99
Well done for solving this, and thanks for posting.

Chris

Re: Canon Lide 200 with MX-19: How to get rid of black vertical bar

Posted: Fri Jan 03, 2020 3:58 pm
by Friedrich
Thanks, Oli!
1.0.27 introduced regessions for lots of scanners that had worked with 1.0.25, as far as I can see.
In 1.0.28 they are fixed at least for Canon Lide Scanners (50 and 200).

Git-cloning the latest version from gitlab: https://gitlab.com/sane-project/backends
and following this how-to: https://gitlab.com/sane-project/backend ... TALL.linux
compiling in MX19 went well.
After:
- installing all dependencies (from the standard MX19-repo) mentioned in the INSTALL.linux .
-./configure gave a error at first try, that went away after running "autoreconf" in the terminal.

The latest snapshot from gitlab: https://sane-project.gitlab.io/website/snapshots/
compiles and works as well.

@Oli
If you haven't tried or noticed yet:
With Skanlite, the nice auto-crop feature of the windows driver for the Canon 200 for automatic selection of multiple fotos,
works to some degree. In Xsane it's at least possible to manually select multiple areas.
Both are much more comfortable than simple-scan.

Re: Canon Lide 200 with MX-19: How to get rid of black vertical bar

Posted: Wed Sep 09, 2020 7:27 pm
by WaltH
This did not work for me. I still have the black bar. I have the LiDE 100. I could swear that I had it working with MX on another computer.