From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Huttley Date: Mon, 07 Jul 2008 00:25:20 +0000 Subject: udev 124, scsi_id on generics not working. Message-Id: <48716270.20005@mib-infotech.co.nz> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi scsi_id doesn't seem to like sg's any more. scsi_id is working, as shown.. scsi_id --whitelisted --export --page=0x80 --device=/dev/sda ID_VENDOR=ATA ID_MODEL=WDC_WD1600BB-22G ID_REVISION.0 ID_SERIAL=SATA_WDC_WD1600BB-22_WD-WCAL98082576 ID_SERIAL_SHORT=WD-WCAL98082576 ID_TYPE=disk but try that on a generic.. gatekeeper / # scsi_id --whitelisted --export --page=0x80 --device=/dev/sg1 gatekeeper / # scsi_id --whitelisted --export --page=0x80 --device=/dev/sg2 gatekeeper / # scsi_id --whitelisted --export --page=0x80 --device=/dev/sg3 nothing. sg1 is my autochanger, which is unfortunate, as it makes this rule not work: # type 8 devices are "Medium Changers" KERNEL="sg[0-9]*", SUBSYSTEMS="scsi", ATTRS{type}="8", IMPORT{program}="scsi_id --export --whitelisted -d $tempnode", SYMLINK+="tape/by-id/scsi-$env{ID_SERIAL}" I know something has changed wrt to generics, perhaps the rule needs to be updated, and the docs as well. Regards, john