* Ryan Tennill <[email protected]> [2014-05-13 09:37] :
>    True.
> 
>    One thing to consider is making the rule specific to the hardware so that
>    it isn't applied to other hardware with the same VID/PID pair. I recently
>    encountered this when an optical chopper had the same chip that I use for
>    a control board and I was only keying off VID/PID.

Yes, you are right.
What about adding an ATTRS key to the rule ?
udevadm reports this about two of my USB-Serial adapters :

1/
ATTRS{interface}=="US232R"
ATTRS{product}=="US232R"
ATTRS{serial}=="FTEMYQON"

2/
ATTRS{interface}=="TTL232R-3V3"
ATTRS{product}=="TTL232R-3V3"
ATTRS{serial}=="FTE3BZ1P"

Regards ;


Laurent.

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to [email protected]   

Reply via email to