Hi Andrey, just wanted to let you know that I can confirm that your changes work, I can now scan perfectly at 100 dpi without any distortions. I also tried playing around with the parameters for the other resolutions but so far that didn't yield any sensible results, unfortunately.
Btw, whenever I start xscanimage or xsane, I can also choose 75 dpi as scan resolution. However, I have checked the Windows driver and it turns out that on Windows you can only choose 50, 100, 150, 300, 600 and 1200 dpi as resolution. I browsed through the source of the backend but couldn't find any place where the possible resolutions are defined. But in any case, 75 dpi should be removed, I think. Thanks, Adrian On Jan 18, 2011, at 1:41 AM, Andrey Afletdinov wrote: > Hi! > 100 dpi wroked with next changes: > > --- genesys_gl646.h > +++ genesys_gl646.h > @@ -555,11 +555,11 @@ > > /* HP2400/G2410 motor settings base motor dpi = 600 */ > {MOTOR_HP2400, 50, SANE_TRUE , 50, HALF_STEP, SANE_FALSE, SANE_FALSE, > 63, 4, 1382, 800, 192, 4905, 337, 0.30, 0.4, 192}, > - {MOTOR_HP2400, 100, SANE_TRUE , 100, FULL_STEP, SANE_FALSE, SANE_TRUE, > 63, 120, 8736, 601, 192, 4905, 337, 0.30, 0.4, 192}, > + {MOTOR_HP2400, 100, SANE_TRUE , 100, HALF_STEP, SANE_FALSE, SANE_TRUE, > 63, 120, 8736, 601, 192, 4905, 337, 0.30, 0.4, 192}, > {MOTOR_HP2400, 300, SANE_TRUE , 300, HALF_STEP, SANE_FALSE, SANE_TRUE , > 63, 32, 16703, 2188, 192, 4905, 337, 0.30, 0.4, 192}, > {MOTOR_HP2400, 600, SANE_TRUE , 600, FULL_STEP, SANE_FALSE, SANE_TRUE , > 63, 3, 18761, 18761, 192, 4905, 627, 0.30, 0.4, 192}, > {MOTOR_HP2400, 50, SANE_FALSE, 50, HALF_STEP, SANE_FALSE, SANE_FALSE, > 63, 4, 1382, 800, 192, 4905, 337, 0.30, 0.4, 192}, > - {MOTOR_HP2400, 100, SANE_FALSE, 100, FULL_STEP, SANE_FALSE, SANE_TRUE, > 63, 120, 8736, 601, 192, 4905, 337, 0.30, 0.4, 192}, > + {MOTOR_HP2400, 100, SANE_FALSE, 100, HALF_STEP, SANE_FALSE, SANE_TRUE, > 63, 120, 8736, 601, 192, 4905, 337, 0.30, 0.4, 192}, > {MOTOR_HP2400, 300, SANE_FALSE, 300, HALF_STEP, SANE_FALSE, SANE_TRUE , > 63, 32, 16703, 2188, 192, 4905, 337, 0.30, 0.4, 192}, > {MOTOR_HP2400, 600, SANE_FALSE, 600, FULL_STEP, SANE_FALSE, SANE_TRUE , > 63, 3, 18761, 18761, 192, 4905, 337, 0.30, 0.4, 192},