[sane-devel] sane-find-scanner finds multiple scanners

Peter Seiderer Peter.Seiderer at ciselant.de
Mon May 6 13:49:09 BST 2002


On Mon, May 06, 2002 at 10:05:29PM +1200, V K wrote:
> > I think from looking at the listing below it is pretty obvious that
> > the scsi card is detecting muliple scanners, at ID 1 Lun 00-07.
> 
> agreed
> 
> > Not being familiar with this scsi card I can't really help much
> > except the suggest moving the ID from 1 to maybe 4 or 5. The lower
> 
> This won't do much, not to say anything, I expect.
> 
> It seems to me that the SCSI software of the scanner is cr*ppy. It
> doesn't check the LUN, but instead responds to any LUN the host adapter
> queries.
> 
> This shouldn't necessarily cause trouble accessing the scanner (in fact
> you can specify any LUN you like). If you want to beautify the output of
> sane-find-scanner, write a wrapper script, or find out what the option
> for your SCSI card driver is to make it only scan for LUN 1 on device X
> (there might not be such an option).
> 
> Volker
> 

Maybe you should unset the following from your kernel configuration
CONFIG_SCSI_MULTI_LUN=y

See linux/Documentation/Configure.help:
CONFIG_SCSI_MULTI_LUN
  If you have a SCSI device that supports more than one LUN (Logical
  Unit Number), e.g. a CD jukebox, and only one LUN is detected, you
  can say Y here to force the SCSI driver to probe for multiple LUNs.
  A SCSI device with multiple LUNs acts logically like multiple SCSI
  devices. The vast majority of SCSI devices have only one LUN, and
  so most people can say N here and should in fact do so, because it
  is safer.

Peter
-- 
------------------------------------------------------------------------
Peter Seiderer                     E-Mail:  Peter.Seiderer at ciselant.de



More information about the sane-devel mailing list