Re: [SLUG] USB Serial port devices

From: Bob Stia (rnr@sanctum.com)
Date: Tue Jun 06 2006 - 00:43:59 EDT


On Monday 05 June 2006 10:27, Chuck Hast wrote:
> 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.
>
I don't have this problem but this has been discussed many times on the SuSE
mailing lists and there are solutions. Don't know what distro you are running
but it probably would be handled the same way.

Try and do a search at http://marc.theaimsgroup.com

Also, Google is your friend!

Try something like:

site:lists.suse.com SLE (year) (subject)

Or, search the list archives on google with:

site:list.suse.com <arg1> <arg2> <arg3> ...

Each additional arg will help narrow the search. If you add [SLE] as an
arg it will keep the search to the suse linux-e list. At least that has been
my experience.

Good Luck, the answer is there and if I remember correctly it was not that
complicated.

Bob S.
-----------------------------------------------------------------------
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:57 EDT