From: Dave Platt <dplatt@radagast.org>
To: Gordon JC Pearce <gordonjcp@gjcp.net>
Cc: Miroslav Skoric <skoric@eunet.rs>, linux-hams@vger.kernel.org
Subject: Re: RS232-USB conversion
Date: Tue, 18 Oct 2011 14:16:39 -0700 [thread overview]
Message-ID: <4E9DECB7.6050500@radagast.org> (raw)
In-Reply-To: <20111018212126.3a1053bd.gordonjcp@gjcp.net>
> If you use a USB-to-serial adaptor, it will appear as something like /dev/ttyUSB0 in Linux. In Windows it's a bit hit-or-miss.
Some USB-to-serial adapters (e.g. those from FTDI) come with
individual machine-readable serial numbers scribed into each
individual chip, which can be read out by the host software.
This can be a definite advantage in Linux (and perhaps in Windows
as well) because it's possible to arrange for each specific
physical USB-to-serial adapter, to be assigned the same
device name in /dev each time it is connected. On modern
Linux distributions you can use the "udev" scripts to
assign a name-alias, if you wish... so, for example, the
adapter you have connected to your TNC might always
be /dev/ttyTNC0.
Without a unique ID in the chip, device-name assignment is much
more hit-or-miss. If you have two or more such adapters connected,
they may change "names" each time you reboot... it'll depend on just
what order your USB hubs and devices are recognized ("enumerated")
at boot time. On Linux they'll swap /dev names around, on Windows
they will have different "virtual serial port" COM names.
The Prolific CP2103 USB-to-serial adapter chips (quite popular)
don't generally have IDs in them... I believe this chip *can*
be used with an external (I2C or SPI) EEPROM chip that holds
an ID, but very few manufacturers use this feature.
Interesting note - FTDI now makes a USB-to-serial adapter
which is built into a shell that's the same size as a
DB-9 male or female PC-mount connector, and has the
same pinout. If you have a device which has a DB-9 RS-232
connector mounted on its PC board, you can unsolder this,
solder in the corresponding FTDI adapter, and your device
now has a USB-serial connection rather than RS-232.
Unfortunately they don't seem to make these to fit the
older DB-25 connector standard.
next prev parent reply other threads:[~2011-10-18 21:16 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-11 8:18 Compiling FBB f6bvp
2011-10-14 22:10 ` Miroslav Skoric
2011-10-14 22:20 ` Dave Platt
2011-10-15 7:55 ` Bernard, f6bvp
2011-10-15 10:00 ` Marc Coevoet
2011-10-17 11:25 ` Bernard, f6bvp
2011-10-18 20:07 ` RS232-USB conversion (was: Compiling FBB) Miroslav Skoric
2011-10-18 20:21 ` Gordon JC Pearce
2011-10-18 21:16 ` Dave Platt [this message]
2011-10-18 21:00 ` RS232-USB conversion Bruno Tréguier
2011-10-21 4:02 ` Compiling FBB David Ranch
2011-10-21 10:15 ` Bernard, f6bvp
2011-10-21 17:11 ` Lee Woldanski
2011-10-21 12:04 ` Thomas Osterried
2011-11-08 20:05 ` Patrick Ouellette
2011-11-08 20:12 ` Thomas Osterried
2011-11-08 21:22 ` Ralf Baechle DL5RB
2011-11-08 21:39 ` Bill Vodall
2011-11-08 22:09 ` Patrick Ouellette
2011-11-09 1:22 ` David Ranch
2011-11-09 7:09 ` Marc Coevoet
2011-11-09 9:31 ` Thomas Osterried
2011-11-09 9:36 ` Marco Di Martino (IW2OHX)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E9DECB7.6050500@radagast.org \
--to=dplatt@radagast.org \
--cc=gordonjcp@gjcp.net \
--cc=linux-hams@vger.kernel.org \
--cc=skoric@eunet.rs \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.