[sane-devel] Epson SX510W not working with ethernet

Alessandro Zummo azummo-lists at towertech.it
Sun Dec 12 14:56:22 UTC 2010


On Mon, 02 Aug 2010 23:08:25 +0200
Steven Van Loo <steven.van.loo at babbelwall.be> wrote:

> [epson2] e2_scan_finish
> [epson2] esci_reset
> [epson2] e2_cmd_simple: size = 2
> [epson2] e2_send: size = 2, reply = 1
> [epson2] e2_send: ESC @
> [epson2] buf[0] 1b .
> [epson2] buf[1] 40 @
> [epson2] allocated 1 bytes at 0x25605a0

 It seems the scanner does dot like the reset at the
 end of the scanning process. I'll remove it for scanners
 connected via network and we'll see if it works with yours.

--- a/backend/epson2-ops.c
+++ b/backend/epson2-ops.c
@@ -1646,7 +1646,8 @@ e2_scan_finish(Epson_Scanner * s)
                        esci_eject(s);
 
        /* XXX required? */
-       esci_reset(s);
+       if (s->hw->connection != SANE_EPSON_NET)
+               esci_reset(s);
 }


-- 

 Best regards,

 Alessandro Zummo,
  Tower Technologies - Torino, Italy

  http://www.towertech.it




More information about the sane-devel mailing list