linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Martin Payne" <martin@microcosm.co.uk>
To: linux-hotplug@vger.kernel.org
Subject: udev rule file query
Date: Wed, 01 Sep 2010 15:03:36 +0000	[thread overview]
Message-ID: <002d01cb49e6$da8053e0$8f80fba0$@co.uk> (raw)

I have written a UDEV rules file that starts off with the following:

BUS="usb", SYSFS(idVendor)="1234" 

My new Linux kernel informs me that BUS and SYSFS will soon be deprecated.
So, I guess I should now use:

SUBSYSTEM="usb", ATTR(idVendor)="1234" 

But will this work for older systems? It is not clear to me whether the
SUBSYSTEM and ATTR keywords have been recognised by udev from the beginning.
If not can you tell me when they were introduced?

Martin Payne
Microcosm Ltd



             reply	other threads:[~2010-09-01 15:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-01 15:03 Martin Payne [this message]
2010-09-01 15:25 ` udev rule file query Martin Pitt

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='002d01cb49e6$da8053e0$8f80fba0$@co.uk' \
    --to=martin@microcosm.co.uk \
    --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).