linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* udev: attributes rules to identical devices
@ 2014-01-15 14:15 Theo
  2014-01-15 14:26 ` Greg KH
  2014-01-15 15:11 ` Greg KH
  0 siblings, 2 replies; 3+ messages in thread
From: Theo @ 2014-01-15 14:15 UTC (permalink / raw)
  To: linux-hotplug

Hello everybody, 

I am working with Kubuntu 13.10. 
I need to assign permanent names to some modems that I am working with. 
This would be possible by creating a rule in /etc/udev/rules.d/ and defining 
a symlink, something like this:

KERNEL="ttyUSB[0-9]*", ATTRS{serial}="0000:00:1d.0", SYMLINK="Modem0"

The problem is that all these modems have the same serial, so I cannot 
distinguish them and cannot assign a different symlink to each one. 

If it can help, the output of lsusb with two modems connected is this:
 
Bus 006 Device 002: ID 0403:6001 Future Technology Devices International, Ltd 
FT232 USB-Serial (UART) IC
Bus 005 Device 002: ID 0403:6001 Future Technology Devices International, Ltd 
FT232 USB-Serial (UART) IC

Is there a way to do this? 
Thanks.

Theo


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-01-15 15:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-15 14:15 udev: attributes rules to identical devices Theo
2014-01-15 14:26 ` Greg KH
2014-01-15 15:11 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).