From 803cb9510bcb2d402c584bd8c5dd8fe8f1931aac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Voltz?= Date: Wed, 7 Oct 2009 22:03:21 +0200 Subject: [PATCH] add 100 dpi mode for HP2400/G2410 --- backend/genesys_devices.c | 4 ++-- backend/genesys_gl646.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/genesys_devices.c b/backend/genesys_devices.c index d8bc7ce53..83524f5ff 100644 --- a/backend/genesys_devices.c +++ b/backend/genesys_devices.c @@ -880,8 +880,8 @@ Genesys_Model hp2400c_model = { GENESYS_GL646, NULL, - {1200, 600, 300, 150, 75, 50, 0}, /* possible x-resolutions */ - {1200, 600, 300, 150, 75, 50, 0}, /* possible y-resolutions */ + {1200, 600, 300, 150, 100, 75, 50, 0}, /* possible x-resolutions */ + {1200, 600, 300, 150, 100, 75, 50, 0}, /* possible y-resolutions */ {16, 8, 0}, /* possible depths in gray mode */ {16, 8, 0}, /* possible depths in color mode */ diff --git a/backend/genesys_gl646.h b/backend/genesys_gl646.h index 3ce0cfd84..a1d9e9a89 100644 --- a/backend/genesys_gl646.h +++ b/backend/genesys_gl646.h @@ -442,6 +442,7 @@ static Sensor_Master sensor_master[] = { /* HP 2400 master settings */ {CCD_HP2400, 50, SANE_TRUE, 50, 675, 200, 4, 42, {0, 0, 0, 0, 0, 0}, SANE_FALSE, 0x3f, 0x02}, + {CCD_HP2400, 100, SANE_TRUE, 100, 7211, 400, 4, 42, {0, 0, 0, 0, 0, 0}, SANE_FALSE, 0x3f, 0x02}, {CCD_HP2400, 300, SANE_TRUE, 300, 8751, 1200, 4, 42, {0, 0, 0, 0, 0, 0}, SANE_FALSE, 0x3f, 0x02}, {CCD_HP2400, 600, SANE_TRUE, 1200, 18760, 1200, 2, 42, {0, 0, 0, 0, 0, 0}, SANE_FALSE, 0x3f, 0x02}, @@ -519,6 +520,7 @@ static Motor_Master motor_master[] = { /* HP2400/G2410 motor settings base motor dpi = 600 */ {MOTOR_HP2400, 50, SANE_TRUE, 50, HALF_STEP, SANE_FALSE, SANE_FALSE, 63, 4, 1382, 800, 2, 5400, 5400, 0.25, 0.5, 16}, + {MOTOR_HP2400, 100, SANE_TRUE, 100, FULL_STEP, SANE_FALSE, SANE_TRUE, 63, 120, 8736, 601, 120, 4905, 337, 0.30, 0.4, 192}, {MOTOR_HP2400, 300, SANE_TRUE, 300, HALF_STEP, SANE_FALSE, SANE_TRUE , 63, 32, 16703, 2188, 120, 4905, 337, 0.25, 0.5, 16}, {MOTOR_HP2400, 600, SANE_TRUE, 600, FULL_STEP, SANE_FALSE, SANE_TRUE , 63, 3, 18761, 18761, 16, 4905, 627, 0.25, 0.5, 16},