kopia lustrzana https://gitlab.com/sane-project/backends
smal fixes for hp3670 support tests
rodzic
2c38397142
commit
24dd638077
|
@ -1024,10 +1024,11 @@ static Genesys_Model hp3670c_model = {
|
||||||
GPO_HP3670,
|
GPO_HP3670,
|
||||||
MOTOR_HP3670,
|
MOTOR_HP3670,
|
||||||
GENESYS_FLAG_14BIT_GAMMA
|
GENESYS_FLAG_14BIT_GAMMA
|
||||||
| GENESYS_FLAG_SEARCH_START
|
| GENESYS_FLAG_NO_CALIBRATION /* until fully supported */
|
||||||
| GENESYS_FLAG_SKIP_WARMUP
|
/* | GENESYS_FLAG_SEARCH_START
|
||||||
| GENESYS_FLAG_DARK_CALIBRATION
|
| GENESYS_FLAG_DARK_CALIBRATION
|
||||||
| GENESYS_FLAG_OFFSET_CALIBRATION
|
| GENESYS_FLAG_OFFSET_CALIBRATION until fully supported */
|
||||||
|
| GENESYS_FLAG_SKIP_WARMUP
|
||||||
| GENESYS_FLAG_CUSTOM_GAMMA,
|
| GENESYS_FLAG_CUSTOM_GAMMA,
|
||||||
GENESYS_HAS_NO_BUTTONS, /* no buttons supported */
|
GENESYS_HAS_NO_BUTTONS, /* no buttons supported */
|
||||||
20,
|
20,
|
||||||
|
|
|
@ -1484,11 +1484,16 @@ gl646_init_regs (Genesys_Device * dev)
|
||||||
dev->reg[reg_0x20].value = 0x20;
|
dev->reg[reg_0x20].value = 0x20;
|
||||||
break;
|
break;
|
||||||
case CCD_HP2400:
|
case CCD_HP2400:
|
||||||
case CCD_HP3670:
|
|
||||||
dev->reg[reg_0x1e].value = 0x80;
|
dev->reg[reg_0x1e].value = 0x80;
|
||||||
dev->reg[reg_0x1f].value = 0x10;
|
dev->reg[reg_0x1f].value = 0x10;
|
||||||
dev->reg[reg_0x20].value = 0x20;
|
dev->reg[reg_0x20].value = 0x20;
|
||||||
break;
|
break;
|
||||||
|
case CCD_HP3670:
|
||||||
|
dev->reg[reg_0x19].value = 0x2a;
|
||||||
|
dev->reg[reg_0x1e].value = 0x80;
|
||||||
|
dev->reg[reg_0x1f].value = 0x01;
|
||||||
|
dev->reg[reg_0x20].value = 0x50;
|
||||||
|
break;
|
||||||
break;
|
break;
|
||||||
case CIS_XP200:
|
case CIS_XP200:
|
||||||
dev->reg[reg_0x1e].value = 0x10;
|
dev->reg[reg_0x1e].value = 0x10;
|
||||||
|
|
Ładowanie…
Reference in New Issue