[sane-devel] Problem using an Epson Perfection 610 with sane-backends 1.0.21

Martin Krüger martin.krueger at gmx.com
Sat Nov 27 22:45:49 UTC 2010


Hello

I am owner of an Epson Perfection 610. It did his work very well until i
switched from debian-stable using sane 1.0.19 to debian-testing 1.0.21.
So i pulled the sane-repository and did a bisection. This led to this
commit introducing the problem:

author	Alessandro Zummo <a.zummo at towertech.it>	
	 Sat, 9 Jan 2010 16:24:33 +0000 (17:24 +0100)
committer	Alessandro Zummo <a.zummo at towertech.it>	
	 Sat, 9 Jan 2010 16:24:33 +0000 (17:24 +0100)
commit	503f9a6d464fe592881e7c748203f40abeb02b81

epson2: simplified color correction, built in profiles active by default

I did further examinations with the sane debug-output:

[epson2] esci_set_color_correction_coefficients
[epson2] e2_cmd_simple: size = 2
[epson2] e2_send: size = 2, reply = 1
[epson2] e2_send: ESC m
[epson2] buf[0] 1b .
[epson2] buf[1] 6d m
[epson2] e2_send: cmd count, r = 41, w = 38
[epson2] e2_recv: size = 1, buf = 0x7ffff6fabc4b
[epson2] e2_recv: cmd count, r = 42, w = 38
[epson2] buf[0] 15 .
[epson2] e2_cmd_simple: NAK

The problem rises when calling the function
esci_set_color_correction_coefficients().

A little more examination led to this patch after which the scanner does
his work as he should:

diff -r 7599778c24df backend/epson2.c
--- a/backend/epson2.c  Sat Jan 09 17:24:33 2010 +0100
+++ b/backend/epson2.c  Sat Nov 27 22:59:20 2010 +0100
@@ -200,7 +200,7 @@

 static const SANE_Bool correction_userdefined[] = {
        SANE_FALSE,
-       SANE_TRUE,
+       SANE_FALSE,
        SANE_TRUE,
 };

Best regards
   Martin Krüger















More information about the sane-devel mailing list