[sane-devel] 'scanimage -L' fails first time with modular SCSI drivers

Oliver Rauch oliver.rauch@rauch-domain.de
Tue, 26 Feb 2002 00:03:30 +0100


Henning Meier-Geinitz wrote:
> In my opinion: Bad luck. He or she should set /dev/scanner to the
> correct device in this case. We can't catch every possible case. Keep
> in mind that sanei_scsi_find_devices is called for every "scsi" entry
> in the config files.

We could put the routines in a dummy backend "sane-load-scsi"
that does nothing than touching a /dev/sg* device until
it was able to open one. This device should be listed as last
backend (if I remember right the list is called backwards).

This way it would be simple to disable it and it is called only once
when a frontend is opened.

(It also could be included in sane-dll).

Bye
Oliver

-- 
Homepage:	http://www.rauch-domain.de
sane-umax:	http://www.rauch-domain.de/sane-umax
xsane:		http://www.xsane.org
E-Mail:		mailto:Oliver.Rauch@rauch-domain.de