[sane-devel] scanimage timeouts

Henning Meier-Geinitz henning at meier-geinitz.de
Wed Jan 22 17:12:54 GMT 2003


Hi,

On Tue, Jan 21, 2003 at 06:29:25PM +0100, Marcel Pol wrote:
> On Tue, 21 Jan 2003 13:14:12 +0100
> Henning Meier-Geinitz <henning at meier-geinitz.de> wrote:
> 
> > On Tue, Jan 21, 2003 at 11:06:35AM +0100, Marcel Pol wrote:
> > > I currently use Sane 1.0.9, and when I enable all backends it takes a long
> > > time to run scanimage -L
> > 
> > That's a known issue of the Linux USB scanner driver. The problem is
> > that the scanner driver issues an error for each device file that it
> > doesn't know about. Check your syslog. If you have /dev/usb/scanner0 -
> > /dev/usb/scanner15 but only one scanner, there will be syslog entries
> > for devices 1-15. And this is repeated over and over again for each
> > test. Check your syslog.
> > 
> > Fix (downgrade this error to a dbg) is in Linux 2.4.21-pre3. Or get
> > the latest code from http://www.meier-geinitz.de/kernel/.
> 
> I'm currently using 2.4.21-pre3, that's what I used this morning also.
> I don't have any devices listed under /dev/usb, because Ii use devfs, which
> only ceates dev files when devices are there.

I have now changed the way how sanei_usb scans for devices.
time scanimage -L is now at 0.8 seconds on a system with devfs. For
details, please see my seperate mail to sane-devel about this subject.

For a snapshot, see
http://www.meier-geinitz.de/sane/snapshots/sane-backends-2003-01-22.tar.gz

Bye,
  Henning




More information about the sane-devel mailing list