Scroll to navigation

SERPORT(9) HAL Component SERPORT(9)

NAME

serport - Hardware driver for the digital I/O bits of the 8250 and 16550 serial port.

SYNOPSIS

loadrt serport io=addr[,addr...]

The pin numbers refer to the 9-pin serial pinout. Keep in mind that these ports generally use rs232 voltages, not 0/5V signals.

Specify the I/O address of the serial ports using the module parameter io=addr[,addr...]. These ports must not be in use by the kernel. To free up the I/O ports after bootup, install setserial and execute a command like:

sudo setserial /dev/ttyS0 uart none
but it is best to ensure that the serial port is never used or configured by the Linux kernel by setting a kernel commandline parameter or not loading the serial kernel module if it is a modularized driver.

FUNCTIONS

PINS

Also called DCD (data carrier detect); pin 8 on the 25-pin serial pinout
Also called DSR (data set ready); pin 6 on the 25-pin serial pinout
Also called CTS (clear to send); pin 5 on the 25-pin serial pinout
Also called RI (ring indicator); pin 22 on the 25-pin serial pinout
Inverted version of pin-1-in
Inverted version of pin-6-in
Inverted version of pin-8-in
Inverted version of pin-9-in
Also called TX (transmit data); pin 2 on the 25-pin serial pinout
Also called DTR (data terminal ready); pin 20 on the 25-pin serial pinout
Also called RTS (request to send); pin 4 on the 25-pin serial pinout

PARAMETERS




LICENSE

GPL

2022-04-06 LinuxCNC Documentation