[sane-devel] 'scanimage -L' fails first time with modular SCSI drivers
Tim Waugh
twaugh at redhat.com
Tue Feb 19 14:40:24 GMT 2002
On Linux, when the SCSI drivers are compiled modular, 'scanimage -L'
fails unless they modules are loaded.
After running it once (and it fails), the drivers appear to have been
automatically loaded (by an open("/dev/sg0") I think), and so a
subsequent 'scanimage -L' works.
[root at cyberelk root]# scanimage -L
No scanners were identified. If you were expecting something
different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
[root at cyberelk root]# scanimage -L
device `hp:/dev/sg0' is a Hewlett-Packard C5110A flatbed scanner
Curiously enough, if I create a link /dev/scanner -> sg0, I don't see
this behaviour and the first 'scanimage -L' succeeds.
I'm trying this with SANE 1.0.7.
Tim.
*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20020219/0285c584/attachment.sig>
More information about the sane-devel
mailing list