[sane-devel] [PATCH] umax: fix window descriptor block length for UC630
Ondrej Zary
linux at rainbow-software.org
Mon Jan 6 19:06:42 UTC 2014
UC630 wants 49 bytes long window descriptor block, not 48.
This fixes "too bright" image problem with this scanner.
---
backend/umax-uc630.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backend/umax-uc630.c b/backend/umax-uc630.c
index 26c6831..5662330 100644
--- a/backend/umax-uc630.c
+++ b/backend/umax-uc630.c
@@ -167,7 +167,7 @@ static unsigned char UC630_INQUIRY[] =
0x00,
/* 92-93 window descriptor block length */
- 0x00, 0x30,
+ 0x00, 0x31,
/* 94 optical resolution residue (1dpi) */
0x00,
--
Ondrej Zary
More information about the sane-devel
mailing list