This is an old revision of the document!


Serial port mapping

See the table below to find out how the physical RS485/RS232 serial port lines are mapped into Linux ports within /dev/.

Patron

Alternatively, all serial ports with N (eg. /dev/ttyNS0) mentioned below are also accessible via /dev/extcomm/Y/X, where Y is the number of section, and X is the number of the serial port. X and Y are counted from 0.


RS485-1 RS232(485)-2 RS485-3 RS485-4
S107ttyNS0ttymxc1ttymxc0x
S117ttyNS0ttymxc2ttymxc1ttymxc0
S167 LTEttyNS0ttymxc0xx
S207ttymxc0xxx

RS485-1.1 RS232(485)-1.2 RS485-1.3 RS485-2.1
M207ttyNS0ttymxc1ttymxc0x
M267 LTEttyNS0ttymxc0xx
M527ttyNS0ttymxc1ttymxc0ttyNS1
M567 LTEttyNS0ttymxc0xttyNS1
L207ttyNS0ttymxc1ttymxc0x
L527ttyNS0ttymxc1ttymxc0ttyNS1

USB converters (FTDI, CH34x, PLxxxx and CPxxxx) are also supported by default. For using other gateways or devices, installation of drivers is necessary.

USB1 /dev/serial/by-port/0
USB2 /dev/serial/by-port/1