These are the steps I followed in Hardy Heron to install my Visioneer 7600. I’m no coder by any stretch, and there was a LOT of copying and pasting, and there’s probably a lot that can be done to clean this up and turn it into a usable shell script. Also, I should point out that I’ve included the vendorID and productID values for my particular scanner, and you should update these with the ones returned by sane-find-scanner before you get too far.
sudo su
ln -sf bash /bin/sh
apt-get install libusb-dev
apt-get install gcc
apt-get install g++
apt-get install binutils
apt-get install build-essentials
apt-get install libtool
apt-get install lsb-rpm
apt-get upgrade
wget ftp://ftp.sane-project.org/pub/sane/old-versions/sane-backends-1.0.18/sane-backends-1.0.18.tar.gz
tar -xzf sane-backends-1.0.18.tar.gz
wget http://www.codetrax.org/downloads/projects/viceo/sane-backends-1.0.18-viceo.diff.gz
gunzip sane-backends-1.0.18-viceo.diff.gz
patch -p1 -b -d sane-backends-1.0.18/ < sane-backends-1.0.18-viceo.diff
cd sane-backends-1.0.18/
export BACKENDS=viceo
./configure –prefix=/usr –sysconfdir=/etc
make
mkdir 1_test_install
make DESTDIR=”$PWD/1_test_install” install
export MY_SANE_DIR=~/sane-backends-1.0.18/1_test_install
export PATH=$MY_SANE_DIR/usr/bin:$PATH
export LD_LIBRARY_PATH=$MY_SANE_DIR/usr/lib:$LD_LIBRARY_PATH
export SANE_DEBUG_DLL=128
export SANE_DEBUG_VICEO=128
cp 1_test_install/etc/sane.d/e1.ini /etc/sane.d/dll.d/
cp 1_test_install/etc/sane.d/lut.plg /etc/sane.d/dll.d/
cp 1_test_install/etc/sane.d/viceo.conf /etc/sane.d/dll.d
cp 1_test_install/usr/lib/sane/libsane-viceo.so.1.0.18 /usr/lib/sane/
ln -s -f libsane-viceo.so.1.0.18 /usr/lib/sane/libsane-viceo.so.1
echo “viceo” >> /etc/sane.d/dll.conf
echo “usb 0x04a7 0x0211” >> /etc/sane.d/viceo.conf
ldconfig
sane-find-scanner
scanimage -L