Configuring the serial port under Linux

I discovered that this new computer has its physical serial port at address Ox3F8 but on IRQ 10.  I wasn’t sure how to correct this problem so I dug deeper.  This is specifically for Slackware Linux but this should apply to other Linux distros because I am using common tools.

With Slackware, I took a look at /etc/rc.d/rc.serial and noticed that it had a rather complicated auto-configuration setup.  So I moved the original file to and then put the following into a new file called rc.serial:

setserial /dev/ttyS0 port 0x3f8 irq 10
stty -F /dev/ttyS0 38400

That did the trick.  My Yaesu FT-450D has a standard DB-9 serial port connector and I have that connected to the serial port in my HP EliteDesk 705 SFF.  fldigi and flrig work nicely.

Don’t forget to chmod -x and chmod +x rc.serial.


About Sean

I'm Sean KD5COL. I'm an active amateur radio operator and hold my Extra class license. I am an ARRL-accredited VE. I enjoy many aspects of amateur radio but my favorite aspects are chasing DX, working special event stations, and building my own wire antennas.
This entry was posted in Shack Work. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *