diff --git a/backend/genesys_devices.c b/backend/genesys_devices.c index 34139126a..51c1b6111 100644 --- a/backend/genesys_devices.c +++ b/backend/genesys_devices.c @@ -437,7 +437,7 @@ static Genesys_Sensor Sensor[] = { 200, {0x00, 0x00, 0x00, 0x00}, /* reg 0x10 - 0x1d */ - {0x01, 0x80, 0x01, 0x80, 0x01, 0x80, /* EXPR/EXPG/EXPB */ + {0x03, 0x00, 0x02, 0x00, 0x01, 0x80, /* EXPR/EXPG/EXPB */ 0x10, 0x08, 0x00, 0xff, 0x34, 0x00, 0x02, 0x04 }, /* reg 0x52 - 0x5e */ {0x03, 0x07, @@ -929,8 +929,8 @@ static Genesys_Model canon_lide_100_model = { GENESYS_GL847, NULL, - {1200, 600, 300, 150, 75, 0}, /* possible x-resolutions */ - {1200, 600, 300, 150, 75, 0}, /* possible y-resolutions */ + {1200, 600, 300, 150, 100, 75, 0}, /* possible x-resolutions */ + {1200, 600, 300, 150, 100, 75, 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_gl847.c b/backend/genesys_gl847.c index 70a0da48e..1e7760f2f 100644 --- a/backend/genesys_gl847.c +++ b/backend/genesys_gl847.c @@ -555,6 +555,7 @@ gl847_init_registers (Genesys_Device * dev) SETREG (0x7b, 0x00); SETREG (0x7c, 0x55); SETREG (0x7d, 0x00); + /* NOTE: autoconf is a non working option */ SETREG (0x87, 0x02); SETREG (0x9d, 0x06); SETREG (0x9d, 0x00); /* XXX STEF XXX 1x multiplier instead of 8x */ @@ -4099,7 +4100,6 @@ gl847_init_memory_layout (Genesys_Device * dev) return status; } -#if 0 /** @brief dummy scan to reset scanner * * */ @@ -4165,6 +4165,7 @@ gl847_dummy_scan (Genesys_Device * dev) return SANE_STATUS_GOOD; } +#if 0 /** * reads a register from device and set up corresponding shadow register */ @@ -4498,6 +4499,9 @@ gl847_init (Genesys_Device * dev) } dev->already_initialized = SANE_TRUE; + /* dummy scan , don't care if it fails */ + gl847_dummy_scan (dev); + /* Move home */ RIE (gl847_slow_back_home (dev, SANE_TRUE)); dev->scanhead_position_in_steps = 0;