[sane-devel] [PATCH] umax: disable gamma download for UC630
Ondrej Zary
linux at rainbow-software.org
Mon Jan 6 19:50:48 UTC 2014
UC630 does not support gamma download - it aborts the command:
[umax] sending 256 bytes of gamma data for color 1
[umax] send_gamma_data
[umax] using gamma download curve format type 2
[umax] check condition sense handler (scsi_fd = 3)
[umax] check condition sense: ILLEGAL REQUEST
[umax] -> illegal field in CDB
[umax] -> illegal parameter is in the data parameters sent during data out phase
[umax] -> error detected in byte 2
It does not cause any harm but disable it anyway.
---
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 5662330..f3353ab 100644
--- a/backend/umax-uc630.c
+++ b/backend/umax-uc630.c
@@ -83,7 +83,7 @@ static unsigned char UC630_INQUIRY[] =
0x00,
/* 64 gamma */
- 0xa1,
+ 0x00,
/* 65 reserved */
0x00,
--
Ondrej Zary
More information about the sane-devel
mailing list