# Re: /proc/scsi/scsi

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

- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Next message: Oliver.Rauch@Wolfsburg.DE: "Re: Suggestion for Improvement of Xscanimage"
- Previous message: Press Agency Ozgurluk: "sigprocmask"
- Next in thread: David Mosberger-Tang: "Re: /proc/scsi/scsi"
- Reply: David Mosberger-Tang: "Re: /proc/scsi/scsi"

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

- Next message: Oliver.Rauch@Wolfsburg.DE: "Re: Suggestion for Improvement of Xscanimage"
- Previous message: Press Agency Ozgurluk: "sigprocmask"
- Next in thread: David Mosberger-Tang: "Re: /proc/scsi/scsi"
- Reply: David Mosberger-Tang: "Re: /proc/scsi/scsi"