Re: [SLUG] USB Serial port devices

From: Chuck Hast (wchast@gmail.com)
Date: Sun Jun 04 2006 - 13:42:56 EDT


On 6/4/06, Eben King <eben01@verizon.net> wrote:
> On Sun, 4 Jun 2006, Chuck Hast wrote:
>
> > I have found that USB serial ports on linux work with no questions asked
> > (knock on wood, at least I do not get asked dumb questions about needing
> > drivers like that other OS does).
> >
> > The one issue I have run into is if I have a usb serial port and add a 2nd
> > one, the second one may on reboot come up as the first one and visaversa.
> >
> > 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.
>
> The order is probably consistent if you start from "no modules loaded" every
> time. So just make sure the hotplug script (I guess) unloads ehci_hcd,
> uhci_hcd, and usbcore in the "stop" section, and always connect the cables
> in the same order (or at least have them connected when the script starts).
>

Where do I find the script. I am trying to get a handle on this, as these
machines in some cases may have as many as 8 or more serial devices
connected to them and each port goes to a radio and must always come
on line as the assigned port for that device.

-- 
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:01:46 EDT