From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Pitt Date: Wed, 01 Sep 2010 15:25:42 +0000 Subject: Re: udev rule file query Message-Id: <20100901152542.GK2662@piware.de> List-Id: References: <002d01cb49e6$da8053e0$8f80fba0$@co.uk> In-Reply-To: <002d01cb49e6$da8053e0$8f80fba0$@co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hello Martin, Martin Payne [2010-09-01 16:03 +0100]: > So, I guess I should now use: > > SUBSYSTEM="usb", ATTR(idVendor)="1234" Right, except that it's written ATTR{}, not ATTR(). > 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. Not from the beginning, but NEWS documents this pretty well: ---------------- 8< ---------------- udev 098 ==== Bugfixes. Renaming of some key names (the old names still work): BUS -> SUBSYSTEMS, ID -> KERNELS, SYSFS -> ATTRS, DRIVER -> DRIVERS. [...] ---------------- 8< ---------------- 098 was released in August 2006, so in software terms SUBSYSTEM and ATTR have been around for ages. Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)