11 Can Linux configure the serial devices automagically? How do I set up my serial ports for higher speeds?

Contents of this section

Use setserial, with the spd_hi flag to configure your serial port to use 57600 bps. Use spd_vhi to use 115200 bps. Then, set your speed to 38400 bps. This is now the new speed you have set. There is no speed named 57600 or 115200. Make sure you have 16550A UARTs :-).

In my /etc/rc.local I set ttyS3 to 115200 bps by doing:

/bin/setserial /dev/cua3 irq 9 spd_vhi

Next Chapter, Previous Chapter

Table of contents of this chapter, General table of contents

Top of the document, Beginning of this Chapter