Scanner Driver Epson V300

Asked by Bill Forrest

I am running Ubuntu 8.10 and want to load an Epson V300 Scanner. When I load 'xsane image scanner' I get 'no devices available'. Can anybody please help while noting that I am a novice! I have tried System-Administration-Synaptic Package Manager and get as far as 'Alp' then I begin to stutter!

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu sane-frontends Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
game (furygame) said :
#1

hi Bill Forrest ,

Make sure sane and sane-utils are installed:

    sudo apt-get install sane sane-utils

Then you will need to ‘borrow’ libltdl3 from Ubuntu 8.04. You can find it here: http://packages.ubuntu.com/hardy/libltdl3

And finally, you need iscan and the esci driver as DEB pacakages from AVASYS. You need to go through the form-driven system here:
http://www.avasys.jp/lx-bin2/linux_e/scan/DL2.do

Once you’ve installed that little lot, you need to add a line to one of your sane config files:

    sudo gedit /etc/sane.d/dll.conf

Add epkowa to the list of drivers found there.

You should now be able to use Xsane or any program which calls Xsane (such as GIMP) for scanning.

References:

http://ubuntuforums.org/showthread.php?p=6297403
http://ubuntuforums.org/showthread.php?t=978407

Revision history for this message
Bill Forrest (bill-forrest) said :
#2

Hi - installed sane and sane-utils ok but struggling with iscan. I get the following error message:

bill@acer:/tmp$ sudo dpkg --install iscan_2.19.0-4_i386.deb
(Reading database ... 122024 files and directories currently installed.)
Unpacking iscan (from iscan_2.19.0-4_i386.deb) ...
/var/lib/dpkg/tmp.ci/preinst: 29: Bad substitution
dpkg: error processing iscan_2.19.0-4_i386.deb (--install):
 subprocess pre-installation script returned error exit status 2
Errors were encountered while processing:
 iscan_2.19.0-4_i386.deb

any suggestions welcome!

Revision history for this message
Vladislav Chakvetadze (goatlord) said :
#3

I've encountered this problem too..

Revision history for this message
game (furygame) said :
#4

Please remove all iscan packages before you install new ones.

or try with

sudo dpkg --install --force-all iscan_2.19.0-4_i386.deb

Revision history for this message
ken (keneasson) said :
#5

game,
I have the same problem - --force-all doesn't work neither does --force-overwrite
This is my first attempt to get scanning working, there is no iscan installed according to synaptic. I did install some xsane stuff, but tried to remove it all after finding out about iscan.

I'm from FreeBSD, so i'm not sure how to do pkg_info on Debian, I'm also not sure what all these error messages mean, but i'm willing to help others if i can get some direction on what to look for or try next.

Revision history for this message
Julian Zeidler (julian-zeidlers) said :
#6

The problem lies in the preinstall script:
All 3 divert lines fail.
I do not really understand what this script tries to do.

#! /bin/sh
# iscan.preinst -- things to do before package installation
# Copyright (C) 2009 SEIKO EPSON Corporation
#
# License: GPLv2+

PREFIX=/usr
SYSCONFDIR=/etc
PACKAGE=iscan

divert () {
    file=$1
    dest=${file/epkowa/epkowa-deb}

    test -e $file || return
    dpkg-divert --package $PACKAGE --add --rename --divert $dest $file
}

if test install = "$1"; then
    if test /usr = "$PREFIX"; then
 divert /usr/lib/sane/libsane-epkowa.la
 divert /usr/lib/sane/libsane-epkowa.so.1
 divert /usr/share/man/man5/sane-epkowa.5.gz
    fi
fi

exit 0

Revision history for this message
Julian Zeidler (julian-zeidlers) said :
#7

I now got my scanner working by removing the contents of the preinst file and repacking the deb file.

Revision history for this message
Henry Zemp (zemp) said :
#8

Hello everyone.

I did as Julian Zeidler said on 2009-04-07:

mkdir myIscan
dpkg-deb -x iscan_2.19.0-4_i386.deb myIscan
dpkg-deb -e iscan_2.19.0-4_i386.deb
mv DEBIAN myIscan/.

Then I commented

#if test install = "$1"; then
# if test /usr = "$PREFIX"; then
# divert /usr/lib/sane/libsane-epkowa.la
# divert /usr/lib/sane/libsane-epkowa.so.1
# divert /usr/share/man/man5/sane-epkowa.5.gz
# fi
#fi

out in the 'preinstall' script. And packed my own package with:

dpkg-deb -b myIscan myIscan.deb

Then I installed this package myIscan.deb as usual. And did everything else what game said on 2009-04-03.

The test page with 'system-config-printer 1.0.5' for my Epson Stylus SX200 does not print. But with Gimp I can use xsane for scanning and I can print with my Epson Printer. As my mother always said: 'Wa wotsch no meh?' ('What else do you want?')

With best regards Henry

Revision history for this message
Zumbruk (zumbruk) said :
#9

Good grief. No wonder people think Linux is hard.

Anyway, I too have now got my V300 working by following Julian Zeidler and Henry Zemp's instructions. About the only step missing was that I had to unplug and reconnect the scanner (I assume to correct the permissions on the usb device) otherwise xsane and iscan both reported there was no scanner present.

Revision history for this message
Olaf Meeuwissen (olaf.meeuwissen) said :
#10

The bug in the preinst has been fixed in iscan-2.20.0.

It contained a bashism. The ${file/epkowa/epkowa-deb} bit depended on functionality that is not guaranteed to be supported by every /bin/sh.

The divert stuff is trying to work around a conflict caused by files that are also in libsane-extras. Without the diversion you can not install both packages simultaneously and you can't really remove libsane-extras because libsane depends on it.

This dependency will probably disappear in karmic, but in the mean time ...

Can you help with this problem?

Provide an answer of your own, or ask Bill Forrest for more information if necessary.

To post a message you must log in.