linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Huttley <John@mib-infotech.co.nz>
To: linux-hotplug@vger.kernel.org
Subject: udev 124,  scsi_id on generics  not working.
Date: Mon, 07 Jul 2008 00:25:20 +0000	[thread overview]
Message-ID: <48716270.20005@mib-infotech.co.nz> (raw)

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\b.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

             reply	other threads:[~2008-07-07  0:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-07  0:25 John Huttley [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-07-07  9:31 udev 124, scsi_id on generics not working Kay Sievers
2008-07-07  9:41 ` John Huttley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48716270.20005@mib-infotech.co.nz \
    --to=john@mib-infotech.co.nz \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).