[ale] /dev/ttyUSB0 question

Chris Fowler cfowler at outpostsentinel.com
Wed Jul 21 13:54:18 EDT 2004


You might have to put them on different root hubs

On Tue, 2004-07-20 at 21:31, James Sumners wrote:
> >From my understanding (I have not messed with it yet) udevfs provides an easy
> way to do this. Read http://www.linuxjournal.com/article.php?sid=7316 for a good
> overview and basic principles.
> 
> On Tue, 20 Jul 2004 21:24:21 -0400
> Christopher Bergeron <christopher at bergeron.com> wrote:
> 
> > Guys (and gal) - do any of you know how to make a USB device take the 
> > same place in the /dev tree when it's inserted?  Specifically, I have 
> > two USB -> serial adapters in my machine.  When it starts up, they seem 
> > to "swap" places randomly.
> > 
> > As an example, typically my machine will boot with
> > Device 1 assigned to /dev/ttyUSB0 and
> > Device 2 assigned to /dev/ttyUSB1
> > 
> > However, sporadically it will boot with:
> > Device 1 assigned to /dev/ttyUSB1 and
> > Device 2 assigned to /dev/ttyUSB0
> > 
> > I don't think the devices have changed which physical port they are 
> > plugged into.
> > I'm not sure what config file I should modify, or where to look for this 
> > issue.  It's affecting my apps that are looking for specific devices on 
> > specific file handles (/dev/ttyUSBx).
> > 
> > Can anyone shed any light on this for me?



More information about the Ale mailing list