Re: [SLUG] USB Serial port devices

From: Eben King (eben01@verizon.net)
Date: Sun Jun 04 2006 - 14:36:11 EDT


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

Your Path May Vary.

-- 
-eben     QebWenE01R@vTerYizUonI.nOetP     royalty.no-ip.org:81
Your pretended fear lest error might step in is like the man who
would keep all wine out of the country lest men should be drunk.
                                               -- Oliver Cromwell
-----------------------------------------------------------------------
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:03 EDT