This bug is serious for me as I use my scanner everyday.
I am under Lubuntu 17.10.
For who like me cannot wait the official patch, can follow how I did
solve:
1. get the source not from git but from the official package manager with
command:
apt-get source libsane1
it did download and create the directory sane-backends-1.0.27/
2. modify the lines 2075-2077 of file sane-backends-1.0.27/backend/genesys.c
into:
if (dev->model->flags & GENESYS_FLAG_SHADING_REPARK &&
dev->model->cmd_set->slow_back_home)
{
status = dev->model->cmd_set->slow_back_home (dev, dev->model->flags );
3. build the dependencies with command:
sudo apt-get build-dep libsane1
4. I had to copy the file /usr/share/aclocal/libtool.m4 into sane-
backends-1.0.27/m4 as the build process complained it was missing
5. then build the fixed package with command:
cd sane-backends-1.0.27
dpkg-buildpackage -rfakeroot -uc -b
6. then install the updated package with command:
cd ..
sudo dpkg -i libsane1_1.0.27-1~experimental2ubuntu2.1_amd64.deb
7. I did restart my PC (but I do not know if this is necessary)
8. My simple-scan gui program did output a clean scan!!
reference here: https://askubuntu.com/questions/28372/how-do-i-get-and-
modify-the-source-code-of-packages-installed-through-apt-get/28373#28373
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1731459
Title:
genesys_gl847 scanners produce a black band in scanned images on
Ubuntu 17.10
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1731459/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs