[sane-devel] ADF on Epson ET-4500 using epson2 backend not working

Roger Sewell roger.sewell at cantab.net
Thu Sep 15 21:10:16 UTC 2016


Hi - I'm new here.

I've been trying to get xsane to work on an Epson ET-4500
print/scan/copier. Everything works except scanning from the automatic
document feeder (ADF) - I can scan fine from the flatbed. Whether I try
with xsane or with scanimage I get the same outcome:

   ADF starts working. About half a page into the first page the ADF
   stops, and the front end gives an error message:

      sane_start: Error during device I/O

   while at the scanner end the scanner hangs up and demands it be
   power-cycled.

   In addition the eject command doesn't work (ever).

Any help would be appreciated.

The rest of this email is information about my installation.

   uname -a
   Linux revelation 3.10.0-327.3.1.el7.x86_64 #1 SMP Wed Dec 9 14:09:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Using ctrl-i in xsane gets me:

   Vendor: Epson
   Model: PID1107
   Type: flatbed scanner
   Device: 10.0.0.101
   Loaded backend: epson2:net
   Sane version: 1.0.25

xsane itself was installed using yum:
   
   [root at revelation sane-backends-1.0.25]# yum history info 52
   Loaded plugins: fastestmirror, langpacks
   Transaction ID : 52
   Begin time     : Thu Sep 15 18:21:23 2016
   Begin rpmdb    : 2575:1fc0fa029a8d5268afccc208de35152eeafe25a5
   End time       :            18:21:24 2016 (1 seconds)
   End rpmdb      : 2578:b5a06f03cb0dc054fdfbe3e7d4e94b38f13469e9
   User           : Roger Sewell <rfs>
   Return-Code    : Success
   Command Line   : install xsane
   Transaction performed with:
       Installed     rpm-4.11.3-17.el7.x86_64                      @base
       Installed     yum-3.4.3-132.el7.centos.0.1.noarch           @base
       Installed     yum-metadata-parser-1.1.4-10.el7.x86_64       @anaconda
       Installed     yum-plugin-fastestmirror-1.1.31-34.el7.noarch @base
   Packages Altered:
       Dep-Install sane-backends-libs-1.0.24-9.el7.x86_64 @base
       Install     xsane-0.999-9.el7.x86_64               @base
       Dep-Install xsane-common-0.999-9.el7.x86_64        @base
               
Initially I also installed sane-backends using yum:

   Loaded plugins: fastestmirror, langpacks
   Transaction ID : 49
   Begin time     : Thu Sep 15 15:58:17 2016
   Begin rpmdb    : 2577:920ab1df65c18faae476c4e0bd8f87fb6f307b83
   End time       :            15:58:18 2016 (1 seconds)
   End rpmdb      : 2579:483085e65824e616a8f509dc853583c97e68e5b5
   User           : Roger Sewell <rfs>
   Return-Code    : Success
   Command Line   : install sane-backends-drivers-scanners
   Transaction performed with:
       Installed     rpm-4.11.3-17.el7.x86_64                      @base
       Installed     yum-3.4.3-132.el7.centos.0.1.noarch           @base
       Installed     yum-metadata-parser-1.1.4-10.el7.x86_64       @anaconda
       Installed     yum-plugin-fastestmirror-1.1.31-34.el7.noarch @base
   Packages Altered:
       Dep-Install sane-backends-1.0.24-9.el7.x86_64                  @base
       Install     sane-backends-drivers-scanners-1.0.24-9.el7.x86_64 @base
   Scriptlet output:
      1 warning: /etc/sane.d/dll.conf created as /etc/sane.d/dll.conf.rpmnew
      2 warning: /etc/sane.d/epson2.conf created as /etc/sane.d/epson2.conf.rpmnew
      3 warning: /etc/sane.d/net.conf created as /etc/sane.d/net.conf.rpmnew
   
but because v1.0.24-9 gave this problem I instead uninstalled the lot,
then reinstalled xsane as above and instead downloaded
sane-backends-1.0.25 from https://alioth.debian.org/frs/?group_id=3018,
ran 

   ./configure --disable-translations BACKENDS="epson2"
   make

and as root

   make install
   echo "/usr/local/lib" | tee -a /etc/ld.so.conf.d/1-sane.conf
   ldconfig -v | grep libsane

getting the output

	libsane.so.1 -> libsane.so.1.0.25
	libsane.so.1 -> libsane.so.1.0.24

as desired - but exactly the same problem.

As suggested on the xsane website, I've deleted all the unnecessary
backends; my dll.conf file contains the single line

epson2

and my epson2.conf file contains just

net 10.0.0.101

. As far as I could see from the commit messages on the git site there
have been no updates relevant to this particular backend, so I haven't
tried the git version.

I have also tried using the usb connection, with exactly the same result
in all respects.

I also tried using scanimage by

   scanimage -p --mode=color --batch='temp%d.pnm' --source=Automatic

and by

   scanimage -p --mode=color --batch='temp%d.pnm' --source=Automatic --buffer-size=3000

and exactly the same problem occurs again.

Any ideas would be most welcome.

Best wishes to all,
Roger Sewell.



More information about the sane-devel mailing list