Karl Heinz Kremer
Thu, 12 May 2005 18:33:33 -0400
never ask if somebody wants to see patches, just send them :-)
On May 11, 2005, at 4:13 PM, Toby Dickenson wrote:
> Ive been using an Epson GT-5000 with sane successfully for a few
> years now,
> and recently Ive tracked down a couple of annoying characteristics to
> Firstly, the sanei_pio polling loop currently runs indefinitely if
> the scanner
> is not switched on. It has a half-baked max_polls implementation,
> but as far
> as I can tell it is never enabled. Ive replaced that with a timeout
> based on time(), and now it reliably reports an error if the
> scanner is not
> switched on.
> Secondly, the sanei_pio polling loop uses 100% CPU while scanning.
> Adding a
> call to usleep in that loop brings usage down to 60% without noticibly
> affecting scanning throughput.
> Is there any interest in seeing patches for these changes?
> sane-devel mailing list: firstname.lastname@example.org
> Unsubscribe: Send mail with subject "unsubscribe your_password"
> to email@example.com