I want to use the two USB ports on Aster carrier board as serial inputs from device such as Arduino, which is printing data on serial port. I will be using QSerialPort library to access it. How can I configure the linux system to have the USB ports visible as e.g. /dev/ttyS0?
I am using angstrom-qt5-x11-image
with appended Qt modules.
Hi @v34
Thanks for writing to the Toradex Support.
I don’t know if I understand you correctly but you just need connect two USB/UART converters between the AsterBoard and input device, where USB will on Aster Side and UART on input device.
You don’t need to configure anything, if the USB/UART converter is recognized by the kernel, it will automatically mapped to /dev/ttyUSBx
.
Best regards,
Jaski
Hi @v34,
I agree with my colleague @jaski.tx.
This is already OK within Linux if you consider the naming “/dev/ttyUSBx”, with x being the number of the Serial port, starting from 0.
Is this OK?
Best regards,
André Curvello
Thank you a lot for your answers. I will try it and give you feedback.
You are welcome. We will wait your feedback.
Best regards,
Jaski
Hi @jaski.tx and @andrecurvello.tx,
You are correct. The device is recognized and mapped to /dev/ttyACMx
.
Thank you
Perfect that it works. Thanks for the feedback.