[sane-devel] Problem with sane-backends-1.0.8-pre1 and HP Scanjet 2200C

Jaeger, Gerhard gerhard@gjaeger.de
Sun, 26 May 2002 16:05:35 +0200


Have you already checked this?
I think it's too late for 1.0.8! If not , Henning, can you do this change 
before publishing 1.0.8?

Thanks 
  Gerhard

On Saturday, 25. May 2002 21:48, Ville Hallik wrote:
> There is a big problem with HP 2200C (and possibly other USB scanners
> supported by plustek backend). The difference between values stored in
> registers 0x4e and 0x4f (pause/resume scan when buffer is n*x kB full) is
> too small. Scanning starts normally but once the buffer gets full, the
> scan head starts to cycle forward and backward too quickly (changes
> moving direction many times per second). The problematic code is in file
> backend/plustek-usbscan.c at lines 1085-1088:
>
> /* original code:
>  *      a_bRegs[0x4f] = 1;
>  */
>         a_bRegs[0x4f] = a_bRegs[0x4e] - 1;
>
> The easiest solution is to revert back to the original code (as in
> sane-1.0.7) that just sets register 0x4f to one.
>