From 219198838be069d7e3d48b53762727f1bbfb93e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Voltz?= Date: Tue, 23 Feb 2016 21:39:22 +0100 Subject: [PATCH] LiDE 120 working [75-300] dpi - fix sensor pixel number - enable calibration - default to 16 pixel DUMMY --- backend/genesys_devices.c | 4 ++-- backend/genesys_gl124.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/genesys_devices.c b/backend/genesys_devices.c index 6647c8563..11f257902 100644 --- a/backend/genesys_devices.c +++ b/backend/genesys_devices.c @@ -683,7 +683,8 @@ static Genesys_Sensor Sensor[] = { 87, /* black pixels */ 16, /* dummy pixels 16 */ 303, - 5168*4, /* total pixels */ + /* SEGCNT at 600 DPI by number of segments */ + 5104*4, /* total pixels */ 210, 200, {0x00, 0x00, 0x00, 0x00}, @@ -1979,7 +1980,6 @@ static Genesys_Model canon_lide_120_model = { GPO_CANONLIDE120, MOTOR_CANONLIDE120, GENESYS_FLAG_SKIP_WARMUP - | GENESYS_FLAG_NO_CALIBRATION | GENESYS_FLAG_OFFSET_CALIBRATION | GENESYS_FLAG_DARK_CALIBRATION | GENESYS_FLAG_HALF_CCD_MODE diff --git a/backend/genesys_gl124.c b/backend/genesys_gl124.c index 30fa177b7..598b0c259 100644 --- a/backend/genesys_gl124.c +++ b/backend/genesys_gl124.c @@ -488,7 +488,7 @@ gl124_init_registers (Genesys_Device * dev) else { SETREG (0x80,0x00); - SETREG (0x81,0x06); + SETREG (0x81,0x10); } /* STRPIXEL */