Wed, 11 May 2005 21:13:53 +0100
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 mechanism
based on time(), and now it reliably reports an error if the scanner is not
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?