[GTALUG] Actual ttyS0 MIA

Stewart C. Russell scruss at gmail.com
Sun May 10 23:40:13 EDT 2020


Hi Karen,

> Would that number go up,  say to USB1 to simulate com 1? 

Kind of. Not quite.

Default situation: The first USB serial device you plug in (it doesn't 
matter which port) appears as /dev/ttyUSB0. The next one becomes 
/dev/ttyUSB1

There's no way of telling which device is what without digging about in 
udev rules or making sure you use distinct hardware for each one (like 
the FTDI, Prolific, QinHeng and Silicon Labs devices I mentioned the 
other day).

Allocation of COM ports under Windows seems to be random. The first 
device I plug in is usually COM6 or COM9. No idea about DOS.

> For example 
> there  are dectalk USB devices, however for  the software to find the 
> item  a port would need to be associated in Linux or likely in a virtual 
> setting as well.


I have a USB DecTalk; well, an EMIC-2 board with an FTDI USB-Serial 
adapter I homebrewed into a small box with a speaker and headphone jack: 
https://scruss.com/blog/2016/02/27/t%c9%92k-b%c9%92ks-a-tiny-hardware-speech-synthesizertts/ 
. FTDI serial interfaces - although briefly vilified by Linux types - 
are the easiest to work with under Linux. Each one has a unique serial 
number, and can be made to appear on a particular port with a little bit 
of configuration.

cheers,
  Stewart


More information about the talk mailing list