[sane-devel] 'scanimage -L' fails first time with modular SCSI drivers
Tue, 19 Feb 2002 19:43:12 +0100
On Tue, Feb 19, 2002 at 02:40:24PM +0000, Tim Waugh wrote:
> On Linux, when the SCSI drivers are compiled modular, 'scanimage -L'
> fails unless they modules are loaded.
I can't reproduce this here:
device mustek:/dev/sg0' is a Mustek ScanExpress 12000SP Plus flatbed scanner
I'm using Linux 2.4.17-rc1 (no devfs). I have the following line in
alias scsi_hostadapter aic7xxx
I have no link /dev/scanner.
aic7xxx and sg are loaded when sane-find-scanner is called. It takes
about 10 seconds but the result is ok. Maybe in your case sanei_scsi
runs into a timeout?
> Curiously enough, if I create a link /dev/scanner -> sg0, I don't see
> this behaviour and the first 'scanimage -L' succeeds.
Does the first "scanimage -L" print both /dev/scanner and /dev/sg0?
You may get more info with "SANE_DEBUG_SANEI_SCSI=255 sane-find-scanner".