Re: [sane-devel] epson2 backend v1.0.25 with Epson ET-4500 logs attached

2016-09-27 Thread Roger Sewell

Olaf,

> Looks like a time out issue when the backend has told the scanner to
> start scanning.  The backend expects the first image data back in 10
> seconds but apparently the scanner it taking its time.
> 
> The time out is hardwired in the sanei_epson_net_read_raw() function in
> backend/epson2_net.c.  If you can compile from source, try increasing
> the value of tv.tv_sec to 60.  I think that should at least get things
> going for you.  If not, try 5 minutes (300 seconds), that's what that
> imagescan backend seems to be using as a worst case value.

Did that - actually went straight for 300 seconds. Certainly changed the
behaviour - the scanner no longer hangs, but now xsane itself hangs on
approximately 50% of attempts to scan - having obtained one image, it
then fails to start receiving the second (though it says "Receiving gray
data", or something similar, the progress bar doesn't budge). The
scanner itself gets to the end of the second page then stops.

Given that I'm currently able to work fine using the "non-free" Epson
software, that term is starting, and that I've suddenly acquired
a(nother) problem to solve before term starts in earnest, I'm afraid I'm
going to have to put this down for the next week or two at least. But
thank you for your efforts - if and when you or whoever the backend
maintainer is have any more suggestions, please do send them to me, and
I'll put them on the list to try when I get some free time.

Best wishes,
Roger Sewell.

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org


[sane-devel] epson2 backend v1.0.25 with Epson ET-4500 logs attached

2016-09-20 Thread Roger Sewell

Olaf and whoever maintains the epson2 backend,

At Olaf's request, please find attached the log of a failed scan from
the ADF of a ET-4500 using the epson2 backend v1.0.25 over the net,
together with the simultaneously collected wireshark log, both
compressed with xz.

Best wishes,
Roger Sewell.



debug.log.xz
Description: epson2 debug log


debug.wireshark.log.pcapng.xz
Description: Wireshark log
-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Eventually got a debug log running ET-4500 with backend epson2 over network

2016-09-18 Thread Roger Sewell

Olaf,

> Thanks for the log.  Comparing the log with the code I noticed that
> you are using sane-backends-1.0.24 (yes, I should have noticed from
> your previous mail ;-).  The logs hint at a low-level network I/O
> error.

Thank you...

> Could you upgrade to 1.0.25?  There are some notes on network scanner
> fixes as well as timeout and scanner crash fixes for 1.0.25 that might
> just fix things for you.  That is, if you want to drop that non-free
> plugin needed by the imagescan/utsushi backends.

So I did in fact already try 1.0.25, and got exactly the same
behaviour. 

Given that, do you still need the log from 1.0.25 ?

Roger.

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org


[sane-devel] Eventually got a debug log running ET-4500 with backend epson2 over network

2016-09-16 Thread Roger Sewell

Olaf, and whoever kindly maintains the epson2 backend:

Please find attached a debug log of my attempt to run a 2-page scan from
the ADF of an Epson ET-4500 using the epson2 backend over the network.

(I have unfortunately not been able to reproduce a similar
non-functioning previously observed using epson2 backend over usb.)

Roger Sewell.



debug.net.log.xz
Description: Compressed debug log 
-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Thank you !

2016-09-16 Thread Roger Sewell

Olaf,

> > > A compressed debug log, preferably over USB, would be helpful.
> > > 
> > >   SANE_DEBUG_EPSON2=128 scanimage [options] 2> debug.log
> > >   xz debug.log
> > > 
> > > should do the trick.

> > Is this still of interest now I've got it working ?

> ...Anyway, why don't you create a log and post it to the list.
> Everyone will be better off with Free-as-in-Freedom support for their
> scanner.  Your log might just be the little bit of info the community
> needs.

Well, I've tried to. But guess what - I cannot make the thing misbehave
at all now !

I have:

   Restored (all sets of) factory defaults on the printer;

   Uninstalled all the things in the following list (i.e. the total list
   of what I had installed), working up from the bottom (and
   reinstalling sane-backends-drivers-scanners and sane-backends-libs
   after taking out sane-backends-devel - but I checked the version was
   the same as it always has been); 

   (This is the list of what I had installed since it wouldn't work:

  libtool-ltdl-2.4.2-20.el7.x86_64 (was already there)
  (updated to) 2.4.2-21.el7_2.x86_64
  
  libtool-ltdl-devel-2.4.2-21.el7_2.x86_64
  atkmm-devel-2.22.7-3.el7.x86_64
  cairomm-devel-1.10.0-8.el7.x86_64
  glibmm24-devel-2.42.0-1.el7.x86_64
  gtkmm24-devel-2.24.2-8.el7.x86_64
  libsigc++20-devel-2.3.1-4.el7.x86_64
  pangomm-devel-2.34.0-3.el7.x86_64   
  sane-backends-1.0.24-9.el7.x86_64
  sane-backends-devel-1.0.24-9.el7.x86_64
  sane-backends-drivers-cameras-1.0.24-9.el7.x86_64
  sane-backends-drivers-scanners-1.0.24-9.el7.x86_64
  imagescan-3.20.0-1epson4centos7.x86_64.rpm
  imagescan-plugin-ocr-engine-1.0.0-1epson4centos7.x86_64.rpm
  imagescan-plugin-networkscan-1.1.0-1epson4centos7.x86_64.rpm )

   Removed the net line from epson2.conf, and added a usb line in its
   place with the same numbers as before;

   Simultaneously powered down both computer and printer/scanner;

   Unplugged the network cable from the printer and plugged in a USB
   cable instead.

And it just will not misbehave !

Alternatively, it may be because the good software has made some change
in settings to the scanner which aren't reverted by "restore factory
defaults". 

Any ideas on what's going on ?

Roger.

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org


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

2016-09-15 Thread Roger Sewell

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@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 
   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 
   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.

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org