Comment 4 for bug 835103

Revision history for this message
Abel Deuring (adeuring) wrote :

So, the <sysfs-attributes> element is simply missing :(

Not such a huge problem, but bad nevertheless: This data is used only to get the SCI vendor and model name. We can _probably_ find this data for SCSI block devices in the udevadm output, but not for SCSI scanners (and mostly likely also other non-block SCSI devices, like the "robot part" of tape libraries). The following is that part of the output of "udevadm info --export-db" (that's the content of the <udev> node in the submitted data) for an Adaptec 1480A SCSI adapter and Sharp JX250 scanner connected to the adapter:

P: /devices/pci0000:00/0000:00:1e.0/0000:15:00.0/0000:16:00.0/host5
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1e.0/0000:15:00.0/0000:16:00.0/host5
E: SUBSYSTEM=scsi
E: DEVTYPE=scsi_host

P: /devices/pci0000:00/0000:00:1e.0/0000:15:00.0/0000:16:00.0/host5/scsi_host/host5
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1e.0/0000:15:00.0/0000:16:00.0/host5/scsi_host/host5
E: SUBSYSTEM=scsi_host

P: /devices/pci0000:00/0000:00:1e.0/0000:15:00.0/0000:16:00.0/host5/spi_host/host5
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1e.0/0000:15:00.0/0000:16:00.0/host5/spi_host/host5
E: SUBSYSTEM=spi_host

P: /devices/pci0000:00/0000:00:1e.0/0000:15:00.0/0000:16:00.0/host5/target5:0:6
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1e.0/0000:15:00.0/0000:16:00.0/host5/target5:0:6
E: SUBSYSTEM=scsi
E: DEVTYPE=scsi_target

P: /devices/pci0000:00/0000:00:1e.0/0000:15:00.0/0000:16:00.0/host5/target5:0:6/5:0:6:0
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1e.0/0000:15:00.0/0000:16:00.0/host5/target5:0:6/5:0:6:0
E: SUBSYSTEM=scsi
E: DEVTYPE=scsi_device
E: MODALIAS=scsi:t-0x06

P: /devices/pci0000:00/0000:00:1e.0/0000:15:00.0/0000:16:00.0/host5/target5:0:6/5:0:6:0/bsg/5:0:6:0
N: bsg/5:0:6:0
S: char/253:2
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1e.0/0000:15:00.0/0000:16:00.0/host5/target5:0:6/5:0:6:0/bsg/5:0:6:0
E: SUBSYSTEM=bsg
E: DEVNAME=/dev/bsg/5:0:6:0
E: MAJOR=253
E: MINOR=2
E: DEVLINKS=/dev/char/253:2

P: /devices/pci0000:00/0000:00:1e.0/0000:15:00.0/0000:16:00.0/host5/target5:0:6/5:0:6:0/scsi_device/5:0:6:0
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1e.0/0000:15:00.0/0000:16:00.0/host5/target5:0:6/5:0:6:0/scsi_device/5:0:6:0
E: SUBSYSTEM=scsi_device

P: /devices/pci0000:00/0000:00:1e.0/0000:15:00.0/0000:16:00.0/host5/target5:0:6/5:0:6:0/scsi_generic/sg2
N: sg2
S: char/21:2
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1e.0/0000:15:00.0/0000:16:00.0/host5/target5:0:6/5:0:6:0/scsi_generic/sg2
E: SUBSYSTEM=scsi_generic
E: DEVNAME=/dev/sg2
E: MAJOR=21
E: MINOR=2
E: DEVLINKS=/dev/char/21:2

No trace of the strings "SHARP" or "JX250"....