Package setserial

A utility for configuring serial ports

http://setserial.sourceforge.net/

Setserial is a basic system utility for displaying or setting serial
port information. Setserial can reveal and allow you to alter the I/O
port and IRQ that a particular serial device is using, and more.

System Administration
Command Description
setserial get/set Linux serial port information