Installing Viceo Scanner in Ubuntu 8.04

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

Advertisements

1 Comment

Filed under Uncategorized

One response to “Installing Viceo Scanner in Ubuntu 8.04

  1. Pingback: Installing Viceo Scanner in Ubuntu 8.04 · Buwin Technology

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s