Re: [SLUG] USB Serial port devices

From: Chuck Hast (wchast@gmail.com)
Date: Sun Jun 04 2006 - 14:46:08 EDT


On 6/4/06, Eben King <eben01@verizon.net> wrote:
> On Sun, 4 Jun 2006, Chuck Hast wrote:
>
> > 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.
>
> Yeah, I get that with my USB hard drive. Sometimes it's /dev/sde, sometimes
> /dev/sdb.
>
> >> > 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.
>
> /etc/init.d/hotplug
>

It is there, but looks like it calls other control files to start up
chunks.. I do not
see a clear one for USB so it must be in one of the oher files.

-- 
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:02:09 EDT