[ale] /dev/ttyUSB0 question
James Sumners
james at sumners.ath.cx
Tue Jul 20 21:34:06 EDT 2004
>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?
--
James Sumners
http://ug.dyndns.org/~jsumners/
"All governments suffer a recurring problem: Power attracts pathological
personalities. It is not that power corrupts but that it is magnetic to the
corruptible. Such people have a tendency to become drunk on violence, a
condition to which they are quickly addicted."
Missionaria Protectiva, Text QIV (decto)
CH:D 59
More information about the Ale
mailing list