linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* udev rule file query
@ 2010-09-01 15:03 Martin Payne
  2010-09-01 15:25 ` Martin Pitt
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Payne @ 2010-09-01 15:03 UTC (permalink / raw)
  To: linux-hotplug

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-01 15:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-01 15:03 udev rule file query Martin Payne
2010-09-01 15:25 ` Martin Pitt

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).