diff -Naur sane-backends-1.0.8/backend/plustek-devs.c sane-backends-1.0.8-ep1260/backend/plustek-devs.c --- sane-backends-1.0.8/backend/plustek-devs.c 2002-04-21 15:20:27.000000000 +0200 +++ sane-backends-1.0.8-ep1260/backend/plustek-devs.c 2002-09-24 10:00:53.000000000 +0200 @@ -595,6 +595,24 @@ _WAF_MISC_IO6_LAMP /* use miscio 6 for lamp switching */ }; +/* Epson Perfection/Photo1260 + */ +static DCapsDef Cap0x04B8_0x011D_0 = +{ + {{ 25, 80}, 10, {2550, 3508}, { 100, 100 }, COLOR_BW }, + {{ 0, 0}, 0, {0, 0}, { 0, 0 }, 0 }, + {{ 0, 0}, 0, {0, 0}, { 0, 0 }, 0 }, + {{ 0, 0}, 0, {0, 0}, { 0, 0 }, 0 }, + {1200, 1200}, + 0, + SENSORORDER_rgb, + 8, /* sensor distance */ + 4, /* number of buttons */ + kNEC8861, /* use default settings during calibration */ + 0, /* not used here... */ + _WAF_MISC_IO6_LAMP /* use miscio 6 for lamp switching */ +}; + /* Umax 3400 */ static DCapsDef Cap0x1606_0x0060_0 = @@ -1464,6 +1482,67 @@ MODEL_NOPLUSTEK }; +/* EPSON Perfection/Photo 1260 */ +static HWDef Hw0x04B8_0x011D_0 = +{ + 1.0, /* dMaxMotorSpeed (Max_Speed) */ + 0.9, /* dMaxMoveSpeed (Max_Speed) */ + 12, /* wIntegrationTimeLowLamp */ + 12, /* wIntegrationTimeHighLamp */ + 600, /* wMotorDpi (Full step DPI) */ + 512, /* wRAMSize (KB) */ + 4, /* dMinIntegrationTimeLowres (ms) */ + 5, /* dMinIntegrationTimeHighres (ms) */ + 3000, /* ok wGreenPWMDutyCycleLow (reg 0x2a + 0x2b) */ + 4095, /* ok wGreenPWMDutyCycleHigh (reg 0x2a + 0x2b) */ + + 0x02, /* ok bSensorConfiguration (0x0b) */ + 0x04, /* ok sensor control settings (reg 0x0c) */ + 0x7f, /* ok sensor control settings (reg 0x0d) */ + 0x13, /* ok sensor control settings (reg 0x0e) */ + + {0x02, 0x07, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00}, + /* ?? mono (reg 0x0f to 0x18) */ + + {0x06, 0x16, 0x00, 0x05, 0x0c, 0x17, 0x00, 0x00, 0x08, 0x14}, + /* ok color (reg 0x0f to 0x18) */ + _GREEN_CH, /* ok bReg_0x26 color mode - bits 4 and 5 */ + 0x40, /* ok bReg 0x27 color mode */ + 3, /* bReg 0x29 illumination mode */ + + 1, /* ok StepperPhaseCorrection (reg 0x1a + 0x1b) */ + 0x00, /* ok bOpticBlackStart (reg 0x1c) */ + 0x42, /* ok bOpticBlackEnd (reg 0x1d) */ + 69, /* ok wActivePixelsStart (reg 0x1e + 0x1f) */ + 10766, /* ok wLineEnd (reg 0x20 + 0x21) */ + + 16383, /* ok red lamp on (reg 0x2c + 0x2d) */ + 0, /* ok red lamp off (reg 0x2e + 0x2f) */ + 16383, /* ok green lamp on (reg 0x30 + 0x31) */ + 0, /* ok green lamp off (reg 0x32 + 0x33) */ + 16383, /* ok blue lamp on (reg 0x34 + 0x35) */ + 0, /* ok blue lamp off (reg 0x36 + 0x37) */ + + 3, /* ok stepper motor control (reg 0x45) */ + 0, /* ok wStepsAfterPaperSensor2 (reg 0x4c + 0x4d) */ + 0x0c, /* ok acceleration profile (reg 0x51) */ + 0, /* ok lines to process (reg 0x54) */ + 0x0f, /* ok kickstart (reg 0x55) */ + 0x02, /* ok pwm freq (reg 0x56) */ + 1, /* ok pwm duty cycle (reg 0x57) */ + + 0x0d, /* ok Paper sense (reg 0x58) */ + + 0x41, /* ok misc io12 (reg 0x59) */ + 0x44, /* ok misc io34 (reg 0x5a) */ + 0x49, /* ok misc io56 (reg 0x5b) */ + 0, /* ok test mode ADC Output CODE MSB (reg 0x5c) */ + 0, /* ok test mode ADC Output CODE LSB (reg 0x5d) */ + 0, /* ok test mode (reg 0x5e) */ + _LM9832, + MODEL_NOPLUSTEK +}; + /* Umax 3400 */ static HWDef Hw0x1606_0x0060_0 = {