cd
to this directorymakepkg -si
simple-scan
or xsane
to scan as usual
sudo pacman -S simple-scan
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
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