Re: /proc/scsi/scsi

Oliver.Rauch@Wolfsburg.DE
Mon, 20 Apr 1998 23:15:17 +0200 (MET DST)

Hi Micahel,

> Be aware that the scsi-card # above is not a constant, when the scsi driver is
> loaded as a module.
> That is, I have an AHA-2940UW for my disks that is scsi-card 0 and an AHA-1542CF
> for the scanner that is scsi-card 1 when I first load the module, scsi-card 2
> when I load the module for the second time...

Oh, for that we can use wildcards and combination of all possible values,
(it does not really matter if there are non-ascii-characters inside),
we only need a possibility to copy them from the scanner-inquiry to the config-file:
eg:
SCSI_ID: "MICROTEK", "E6", *, *, 5, 0, 6

search for Microtek E6 on any scsi-card and any scsi-bus
with scsi-id=5, lun=0, device-type=6 (scanner, hp uses processor).

I don't think that someone uses two scanners of the same type at the same
scsi-id!

Bye
Oliver

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com