On Wed, Jan 05, 2011 at 03:21:36PM +0200, Erez D wrote:
> On Wed, Jan 5, 2011 at 2:58 PM, Tzafrir Cohen <tzaf...@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         | tzaf...@jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzaf...@cohens.org.il |                    |  best
tzaf...@debian.org    |                    | friend

_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to