[sane-devel] Canon LiDE 25 scanner

Stephan February stephanf at singnet.com.sg
Wed Sep 28 21:27:10 UTC 2005


hello

On Wednesday 28 September 2005 22:23, Gerhard Jaeger wrote:
> hmmm, I thought my last mail was quite clear!
> I don't think it's necessary to snoop the USB traffic - it's necessary to
> find out the correct clock values...

Armed with Gerard's suggestion, I have been playing around with the timings 
and motor speed settings for my Canon LiDE 25.
Here is a motor/timing setting which currently works well for me, and without 
the previous annoying grinding noises. It also looks like my problems with 
saned are related to previously reporting "timing" issues when network 
scanning. The latter I've confirmed by doing a saned scan via localhost.

Please comment if you see anything obviously wrong or dangerous here 'cause I 
really just fiddled until I was satisfied.

>>>>>>>> snip <<<<<<<<<

{ MODEL_CANON1200, 8, 51, 9,
   /* Motor settings (PWM and PWM_Duty) */
   /* <=75dpi       <=100dpi      <=150dpi      <=200dpi      <=300dpi  */
   {{ 8, 31, 1 }, { 8, 31, 1 }, { 8, 31, 1 }, { 8, 31, 1 }, { 8, 31, 1 },

   /* <=400dpi      <=600dpi      <=800dpi      <=1200dpi     <=2400dpi */
   { 8, 31, 1 }, { 8, 31, 1 }, { 8, 31, 1 }, { 8, 31, 1 }, { 8, 31, 1 }},
   /* Color mode MCLK settings */
   { 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0 },
   { 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0 },
   /* Gray mode MCLK settings */
   { 7.0, 7.0, 6.0, 6.0, 6.0, 6.0, 6.0,  6.0,  6.0,  6.0 },
   { 6.5, 6.5, 6.0, 6.0, 6.0, 6.0, 8.0, 12.0, 12.0, 12.0 }
},
>>>>>>>>> snip <<<<<<

... and ...

>>>>>>> snip <<<<<<<<
/** Canon LiDE25 */
static HWDef Hw0x04A9_0x2220 =
{
        0.80,   /* dMaxMotorSpeed (Max_Speed)                     */
        0.200,  /* dMaxMoveSpeed (Max_Speed)                      */
        0.0,    /* dHighSpeed                                     */
>>>>>>>> snip <<<<<<<

If I were to create a patch, would it be better if an entirely new section for 
the LiDE25 was created e.g.?

  .
  .
 { MODEL_LIDE25, 8, 51, 9,
   /* Motor settings (PWM and PWM_Duty) */
  .
  .

Cheers
Stephan



More information about the sane-devel mailing list