Re: [SLUG] USB Serial port devices

From: Chuck Hast (wchast@gmail.com)
Date: Mon Jun 05 2006 - 10:27:16 EDT


On 6/5/06, Levi Bard <taktaktaktaktaktaktaktaktaktak@gmail.com> wrote:
> > I have external devices that are connected to these things and need to make
> > sure that the same hardware device comes on line as TTYUSB0, and the
> > second one always comes up as TTYUSB1 etc. Does anyone have a idea
> > of how to make sure that a given device always comes up with the same
> > serial port assignment.
>
> Another option you may want to explore is writing a little script to
> detect which physical device is linked to which serial port, by
> looking at /proc/bus/usb/devices (iirc), and then taking the
> appropriate action, perhaps by making a symlink (/dev/TTYUSB0 ->
> /dev/MyTTY1, /dev/TTYUSB1 -> /dev/MyTTY0 if they come up in reverse
> order, for example). I did something similar to this a while ago for
> Tosha's wacom tablet (before the driver improved and it became no
> longer necessary).
>

OK, I am getting the impression that no one thought about this particular
issue when they designed usb... Making sure each device comes up on
the right port just does not appear to be something that was thought out
or if it was it has been kept quite obscure, I have noticed that even on the
other OS there are similar problems if not worse.

Chuck Hast -- KP4DJT --
To paraphrase my flight instructor;
"the only dumb question is the one you DID NOT ask resulting in my going
out and having to identify your bits and pieces in the midst of torn
and twisted metal."
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:03:21 EDT