kopia lustrzana https://gitlab.com/sane-project/backends
100 and 150 dpi tuning
rodzic
a717c4658a
commit
b52b8fbfd5
|
@ -437,7 +437,7 @@ static Genesys_Sensor Sensor[] = {
|
||||||
200,
|
200,
|
||||||
{0x00, 0x00, 0x00, 0x00},
|
{0x00, 0x00, 0x00, 0x00},
|
||||||
/* reg 0x10 - 0x1d */
|
/* 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 },
|
0x10, 0x08, 0x00, 0xff, 0x34, 0x00, 0x02, 0x04 },
|
||||||
/* reg 0x52 - 0x5e */
|
/* reg 0x52 - 0x5e */
|
||||||
{0x03, 0x07,
|
{0x03, 0x07,
|
||||||
|
@ -929,8 +929,8 @@ static Genesys_Model canon_lide_100_model = {
|
||||||
GENESYS_GL847,
|
GENESYS_GL847,
|
||||||
NULL,
|
NULL,
|
||||||
|
|
||||||
{1200, 600, 300, 150, 75, 0}, /* possible x-resolutions */
|
{1200, 600, 300, 150, 100, 75, 0}, /* possible x-resolutions */
|
||||||
{1200, 600, 300, 150, 75, 0}, /* possible y-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 gray mode */
|
||||||
{16, 8, 0}, /* possible depths in color mode */
|
{16, 8, 0}, /* possible depths in color mode */
|
||||||
|
|
||||||
|
|
|
@ -555,6 +555,7 @@ gl847_init_registers (Genesys_Device * dev)
|
||||||
SETREG (0x7b, 0x00);
|
SETREG (0x7b, 0x00);
|
||||||
SETREG (0x7c, 0x55);
|
SETREG (0x7c, 0x55);
|
||||||
SETREG (0x7d, 0x00);
|
SETREG (0x7d, 0x00);
|
||||||
|
/* NOTE: autoconf is a non working option */
|
||||||
SETREG (0x87, 0x02);
|
SETREG (0x87, 0x02);
|
||||||
SETREG (0x9d, 0x06);
|
SETREG (0x9d, 0x06);
|
||||||
SETREG (0x9d, 0x00); /* XXX STEF XXX 1x multiplier instead of 8x */
|
SETREG (0x9d, 0x00); /* XXX STEF XXX 1x multiplier instead of 8x */
|
||||||
|
@ -4099,7 +4100,6 @@ gl847_init_memory_layout (Genesys_Device * dev)
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
|
||||||
/** @brief dummy scan to reset scanner
|
/** @brief dummy scan to reset scanner
|
||||||
*
|
*
|
||||||
* */
|
* */
|
||||||
|
@ -4165,6 +4165,7 @@ gl847_dummy_scan (Genesys_Device * dev)
|
||||||
return SANE_STATUS_GOOD;
|
return SANE_STATUS_GOOD;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
/**
|
/**
|
||||||
* reads a register from device and set up corresponding shadow register
|
* 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;
|
dev->already_initialized = SANE_TRUE;
|
||||||
|
|
||||||
|
/* dummy scan , don't care if it fails */
|
||||||
|
gl847_dummy_scan (dev);
|
||||||
|
|
||||||
/* Move home */
|
/* Move home */
|
||||||
RIE (gl847_slow_back_home (dev, SANE_TRUE));
|
RIE (gl847_slow_back_home (dev, SANE_TRUE));
|
||||||
dev->scanhead_position_in_steps = 0;
|
dev->scanhead_position_in_steps = 0;
|
||||||
|
|
Ładowanie…
Reference in New Issue