From 57a160a5bc30242c035e43a315d72797ebe5a3a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Voltz?= Date: Sun, 31 Oct 2010 08:51:24 +0100 Subject: [PATCH] KV-SS080 tuning - fine tune scanarea - fix sensor pixel number to get proper max width shading calibration --- backend/genesys_devices.c | 14 +++++++------- backend/genesys_gl843.c | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/backend/genesys_devices.c b/backend/genesys_devices.c index 604d7cbb8..678cf25cd 100644 --- a/backend/genesys_devices.c +++ b/backend/genesys_devices.c @@ -473,7 +473,7 @@ static Genesys_Sensor Sensor[] = { 38, /* black pixels on left */ 38, /* 36 dummy pixels */ 152, - 5200, /* 5100 */ + 5376, /* 5100-> 5200 */ 160, /* TAU white ref */ 160, /* gain white ref */ /* 08 09 0a 0b */ @@ -1004,15 +1004,15 @@ static Genesys_Model panasonic_kvss080_model = { GENESYS_GL843, NULL, - { 600, 500, 400, 300, 200, 150, 100, 75, 0}, /* possible x-resolutions */ - { 1200, 600, 500, 400, 300, 200, 150, 100, 75, 0}, /* possible y-resolutions */ + { 600, /* 500, 400,*/ 300, 200, 150, 100, 75, 0}, /* possible x-resolutions */ + { 1200, 600, /* 500, 400, */ 300, 200, 150, 100, 75, 0}, /* possible y-resolutions */ {16, 8, 0}, /* possible depths in gray mode */ {16, 8, 0}, /* possible depths in color mode */ - SANE_FIX (7.6), /* Start of scan area in mm (x) */ - SANE_FIX (13.8), /* Start of scan area in mm (y) */ - SANE_FIX (218.5), /* Size of scan area in mm (x) */ - SANE_FIX (297.0), /* Size of scan area in mm (y) */ + SANE_FIX (7.2), /* Start of scan area in mm (x) */ + SANE_FIX (14.7), /* Start of scan area in mm (y) */ + SANE_FIX (217.7), /* Size of scan area in mm (x) */ + SANE_FIX (300.0), /* Size of scan area in mm (y) */ SANE_FIX (9.0), /* Start of white strip in mm (y) */ SANE_FIX (0.0), /* Start of black mark in mm (x) */ diff --git a/backend/genesys_gl843.c b/backend/genesys_gl843.c index 107afef12..f5253c169 100644 --- a/backend/genesys_gl843.c +++ b/backend/genesys_gl843.c @@ -3716,7 +3716,7 @@ gl843_cold_boot (Genesys_Device * dev) RIE (sanei_genesys_write_register (dev, 0x75, 0x00)); RIE (sanei_genesys_write_register (dev, 0x76, 0x00)); /* CK3MAP */ - RIE (sanei_genesys_write_register (dev, 0x77, 0x03)); + RIE (sanei_genesys_write_register (dev, 0x77, 0x00)); RIE (sanei_genesys_write_register (dev, 0x78, 0xff)); RIE (sanei_genesys_write_register (dev, 0x79, 0xff)); }