udev rule file query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux