Can Linux configure the serial devices automagically?

# 10 Can Linux configure the serial devices automagically?

Contents of this section

Yes. To get Linux to detect and set up the serial devices automatically on startup, add the line:

> `

>     /etc/setserial /dev/cua0 auto_irq skip_test autoconfig

> `

to your `/etc/rc.local` or `/etc/rc.serial` file. Do this for every serial port you want to auto configure. Be sure to give the correct location of where your `setserial` program lives, and give a device name that really does exist on your machine.

## 10.1 Notes for multiport boards

For board addresses, and IRQs, look at the `rc.serial` that comes with the `setserial` program. It has a lot of detail on multiport boards, including I/O addresses and device names.

Next Chapter, Previous Chapter

Table of contents of this chapter, General table of contents

Top of the document, Beginning of this Chapter