Re: Debugging udev question

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

 



On 7/22/09, Christopher Piggott <cpiggott@xxxxxxxxx> wrote:
> Holy smokes!
>
> I took ATTR{product}!="something" to mean:
>     Find the first attribute named product and match if it is not
> "something".
>
> What you are telling me is that it means is:
>    Search through the hierarchy and match if you find any "product"
> attribute that does is not "something"
>
>
> I totally misunderstood what != means.  That wasn't clear to me from
> the udev man page at all.
>
> Wow.  I have it working now.
>
> Thanks for your help.  This wasn't really so much about getting this
> device to work, it was about learning how it works.  I feel a little
> better (and a little worse) now.

Heh.  Don't feel bad.  It might be worth disallowing ATTRS!= etc, I
can't see a safe, legitimate use for it.

I would recommend trying the SYMLINK match instead though.  It looks
much simpler and less error-prone to me.

Regards
Alan
--
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