This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ttyS1 serial port on DM368

Hello,

I am writing an application that uses terminal and I am able to communicate with device /dev/tty. Now we have added a second serial port on UART1. How do I set up the serial port to work with UART1?

I checked the available devices in my embedded system and this what I have.

/dev/tty /dev/tty 5 0 system:/dev/tty
/dev/console /dev/console 5 1 system:console
/dev/ptmx /dev/ptmx 5 2 system
/dev/vc/0 /dev/vc/0 4 0 system:vtmaster
serial /dev/ttyS 4 64-65 serial
pty_slave /dev/pts 136 0-1048575 pty:slave
pty_master /dev/ptm 128 0-1048575 pty:master
unknown /dev/tty 4 1-63 console

Please help, I don't know were to go from here.