Verify serial setting on the USB serial converter


#1

Hi,

I recently purchased two USB serial convertes and I mostly operate these units on Ubuntu 16.04 LTS. I am wondering if you have a best practice for checking the state of the converter and too see if the converters use the correct serial settings (baud rate, Parity, N. of bits)
the lsusb part is already very helpfull, but I want to confirm that my application is sending the correct strings.

With best regards,

Marc LUIS
Luxembourg


#2

Hi Marc,

Thank you for contacting us about your serial adapter.

The baud rate, parity, and other settings are set by the software that is using the port, and it depends on how the port is being used.

You can discover the ports you have with:

dmesg | grep tty

For example, my Debian Mint computer has the adapter as /dev/ttyUSB0

You can get basic information on ports with:

sudo setserial -a /dev/ttyUSB0 (or whatever port you are using)

If you don’t have setserial, you can download it with:

sudo apt-get install setserial

If you install it, you can find out more about setserial by typing:

man setserial

I hope this helps,

David
Plugable Support


#3

I am closing this thread. Please contact us directly at support@plugable.com if you have any other questions. Thanks!


#4