Remapping Linux serial port device names
Posted
by davefiddes
on Server Fault
See other posts from Server Fault
or by davefiddes
Published on 2010-04-30T13:25:30Z
Indexed on
2010/04/30
13:29 UTC
Read the original article
Hit count: 401
I have a server running Debian Linux which has a built in serial port which is coming up as ttyS0. I have a plug in PCI card with two serial ports that are being registered with Linux as ttyS2 and ttyS3.
Unfortunately I am trying to run some software which assumes that ttyS0 and ttyS1 are available. Is it possible to remap the serial port device names (using a udev rule?) such that ttyS0 remains as it is and ttyS2 becomes ttyS1?
© Server Fault or respective owner