adnan360 f9a4fc51e5 added CanoScan scanner black line fix 5 tahun lalu
..
PKGBUILD f9a4fc51e5 added CanoScan scanner black line fix 5 tahun lalu
README.md f9a4fc51e5 added CanoScan scanner black line fix 5 tahun lalu
genesys.patch f9a4fc51e5 added CanoScan scanner black line fix 5 tahun lalu
network.patch f9a4fc51e5 added CanoScan scanner black line fix 5 tahun lalu
sane.xinetd f9a4fc51e5 added CanoScan scanner black line fix 5 tahun lalu
saned.service f9a4fc51e5 added CanoScan scanner black line fix 5 tahun lalu
saned.socket f9a4fc51e5 added CanoScan scanner black line fix 5 tahun lalu
segfault-avahi-fix-kodakio.patch f9a4fc51e5 added CanoScan scanner black line fix 5 tahun lalu

README.md

Fix for CanoScan scanners showing black line in the middle of scans

On Arch Linux:

  • cd to this directory
  • run makepkg -si
  • install simple-scan or xsane to scan as usual sudo pacman -S simple-scan

On Debian Linux:

This might work (not tested):

sudo apt-get install libusb-dev build-essential libsane-dev libavahi-client-dev libavahi-glib-dev
git clone https://salsa.debian.org/debian/sane-backends.git
cd sane-backends/
git checkout tags/upstream/1.0.25

./configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --sysconfdir=/etc --localstatedir=/var  --

make
sudo make install
# reboot

TODO: Add the Arch Linux patch into Debian instructions so that latest sane can be used.

source: https://askubuntu.com/a/1003753

How it was prepared

Got the PKGBUILD files from: https://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/sane

Then added the patch from here on PKGBUILD: https://bbs.archlinux.org/viewtopic.php?pid=1762752#p1762752

source: https://bbs.archlinux.org/viewtopic.php?id=233725