'Dave B' g8kbvdave-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org [linuxham]
2014-10-07 10:49:17 UTC
Anti flame suit at the ready...
I've done my Googling (or whatever you want to call it) regarding this, and
though I can find lots of information, none of what I've tried so far, works how I
would like it to. I do know it's been mentioned here before, so here's a
question for the collective...
I need two(maybe three) indipendant serial ports, I have the hardware, and
software (GPS, TH-D7, other rig control etc, all for use with YAAC. "Yet Another
APRS Client" for an upcomming 4x4 trip away next month.)
One of the "problems" seems to be, that I'm using two identical USB/RS232
devices, so the maker and product name data are the same. (Prolific.)
Plus. Just to add insult, the USB GPS RX, also uses an embedded Prolific chip!
All the USB VID/PID numbers are the same as a result. Just the individual
device serial number are different, and as yet, I can't find a way to get Linux to
diferentiate between them, in a predictable way.
I would greatly like to not have to plug the gadgetry in, in a set order after the
OS boots just to make sure that they "appear" to the application in the same
order they were, before a power down the day before.
ttyUSB0 = GPS, ttyUSB1 = TH-D7, ttyUSB2 = HF rig PTT control for example.
So, how to make sure they "Always" appear at the same /ttyUSBx address where
they were last seen.
When manually inserted in order, then all works well, all devices are recognised,
and the software uses them all just fine. Just that as above, I'd like them to
"come back" in the same places they were before the shutdown the day before.
(Easy to fix with that "Other" OS!)
I'm using Lubuntu 13.x.x LTS on an Acer One netbook. It's different enough
from Ubuntu/Debian, that though I can see much of what many pages talk
about, I'm still missing some understanding, as many times when the machine is
started from cold with everyting connected, the individual devices re-appear at
different ttyUSBx addresses, causing "Utter Mayhem" within YAAC (and the D7)
to say the least.
Can this be done easily, or, do I have to keep messing about with
unplugging/replugging the things etc? USB connectors in hostile mobile
environments are less than reliable too I find, but not a lot of choice at present,
other than to duct-tape all the cables etc, and that makes the
unplug/boot/replug thing even more difficult!
In a cramped mobile environment, that's "less than ideal!", especially for the
first start of the day, when the wetware grey cell may not yet be fully up to
speed itself ! ;-)
Posted by: "Dave B" <g8kbvdave-gM/Ye1E23mwNfirstname.lastname@example.org>