consistent device name
Tzafrir Cohen
tzafrir at cohens.org.il
Wed Jan 5 15:41:13 IST 2011
On Wed, Jan 05, 2011 at 03:21:36PM +0200, Erez D wrote:
> On Wed, Jan 5, 2011 at 2:58 PM, Tzafrir Cohen <tzafrir at cohens.org.il> wrote:
>
> > On Wed, Jan 05, 2011 at 02:25:39PM +0200, Erez D wrote:
> > > is there a way to assign a constant device name according to the USB port
> > > it
> > > is connected to and not via the order it is connected
> > > (under linux of course)
> >
> > Use the symlinks under /dev/serial/by-id rather than /dev/ttyUSBn
> > directly.
> >
> The problem is that the dongles are identical, so /dev/serial/by-id has
> only one file which links to the last one inserted.
>
> /dev/serial/by-path has different links, however they are not consistent
> either, and change every time i remove and reinsert the dongle
They are identical? How can you tell the difference? (any automated
way?)
--
Tzafrir Cohen | tzafrir at jabber.org | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir at cohens.org.il | | best
tzafrir at debian.org | | friend
More information about the Linux-il
mailing list