-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Schwerzmann, Stephan wrote: > ATTR{vendor}="KOBIL[ ]+", ATTR{model}="mIDentity[ ]+" You don't need to match the trailing spaces. If you remove them from both strings, udev will also strip them off the value of the attribute that it's matching against. (But I believe those are wrong anyway: AFAIK udev doesn't use a regex engine to match values. I thought it used fnmatch(), which matches shell style globs. I'm therefore not sure how your rule ever matched anything, because the + at the end should have to match an explicit + character in the attribute's value. And the square brackets around a single space are superfluous.) Finally, I'm not sure what the sysfs tree looks like for these devices, but I'd be surprised if the block device itself had a vendor or model attribute. I would suspect you'd want to use ATTRS (to match parent devices, like the USB interface that created this block device) instead of ATTR. So: ATTRS{vendor}=="KOBIL", ATTRS{model}=="mIDentity" should work just as well (if not better). :-) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREDAAYFAkkVDhEACgkQYasYN+YI5W5tswCfVdfnaD3YYNbtFlItvkghBFvp a6UAnA5M6GT7fP51xjnqP9RKXAhJ5h7o =vZU1 -----END PGP SIGNATURE----- -- 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