From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josua Dietze Date: Tue, 21 Dec 2010 20:25:15 +0000 Subject: Re: Udev rule $attr substitution Message-Id: <4D110D2B.7070202@draisberghof.de> List-Id: References: <4D10F63F.9030005@draisberghof.de> In-Reply-To: <4D10F63F.9030005@draisberghof.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Never mind, I figured it out. It was all a problem of not-quite-accurate man pages. I found the man page (well, xml file) in the git tree and just added an ATTRS match to the top level USB device. This worked: KERNEL="ttyUSB*", ATTRS{bNumConfigurations}="*", RUN+="myprog %p %s{idVendor} %s{idProduct}" Sorry for the noise, thanks anyway. But I might add that there is certainly some documentation lacking on this one, practially everything I found was outdated or inaccurate ... Josua Dietze