From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Drake Date: Sun, 16 May 2004 09:21:15 +0000 Subject: Re: 2.6.6/udev weirdness Message-Id: <40A7328B.40209@gentoo.org> List-Id: References: <20040512235509.GA3836@heliopause.vort.org> In-Reply-To: <20040512235509.GA3836@heliopause.vort.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Russell Neches wrote: > For instance, this document > > http://www.reactivated.net/udevrules.php > > mentions rules like > > BUS="scsi", SYSFS{manufacturer}="Tekom Technologies, Inc", NAME="%k" > > won't work because it combines information from different directories in > sysfs. That's why I wrote the my rule the way I did -- because I thought > it was necessary to avoid this problem. The example USB storage device > rule from that HOWTO includes the KERNEL="sd*" parameter, but doesn't > explain the rational for why it is necessary. (Now that I think of it, I > did see this key when I wrote my rules, and left it out because it > worked without it. By the time I got to 2.6.6, I'd forgotten all about > it.) The rule which you are referring to (containing sd*) is not the example rule, thats actually part of the "footnote" section explaining some different scenario's. Would you mind re-reading the section titled "Example: Writing a rule for my USB-Storage digital camera"? In that section I explain the importance of a key such as KERNEL="sd?1", and if you had followed this section while writing your rule, I think you may have avoided the problems you describe in this thread. If that still does not clear it up for you, let me know, and I'll see if there is a way I can improve the wording there. Thanks Daniel ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel