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


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

2016-09-26 Thread Olaf Meeuwissen
Hi Roger,

Said I'd take a look.  I did.

Roger Sewell writes:

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

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.

Hope this helps,
-- 
Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Softwarehttps://my.fsf.org/donate
 Join the Free Software Foundation  https://my.fsf.org/join


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