POSIX.1 method of setting serial communications speed above 38400 Baud

POSIX.1 method of setting serial communications speed above 38400 Baud

Post by Wolfgang Birkfellne » Tue, 26 Oct 1999 04:00:00


i am working with lynx 3.0.1, solaris 2.6, and redhat linux 6.0. by
studying the internet resources concerning serial porgramming i have
managed to handle the typical canonical and non-canonical I/O problems.
What I have not been able until now is to set the serial communications
speed above 38400 baud, although the termio.h in the lynx os and the
/usr/include/bits/termios.h both offer these higher baudrates. does
anyone know an answer? or does someone have a piece of code on how the
serial port has to be opened to benefit from the higher baudrate?

many thanks in advance

wolfgang birkfellner, dept. of biomedical engineering and physics,
general hospital, university of vienna


1. Why is 38400 baud my max speed between my 2 UART 16550As?

I'm using kermit and a null modem cable to connect two PCs running
Debian.  On machine 1 I run agetty at a certain baud level; one
machine 2 I set kermit to the same speed and connect.  At bauds of
38400 or less, the connection is fine.  At 57k I get garbage, and have
to reset the terminal.  At 115k, I don't get anything at all.

setserial -a informs me that both serial ports use UART 16550As and
that their base bauds are 115k.

All I can think of is the cable -- where can I get a good cable?  How
do I recognize it in a store?

Using hardware flow control or not does not change anything.

2. Wanted : *STEREO* Mitsumi CD-ROM driver

3. Keywords: Sun, zs serial port, 38400 baud limit, V.34 modem (Win95/NT)

4. connecting sun-solaris with pc-linux

5. SPARC IPX serial port above 38400

6. iptables

7. 38400 serial port speed limit for uucp Devices and asppp

8. No response to PAP authentication-requests

9. serial port speed higher than 38400

10. Serial port speed > 38400 for Solaris 2.5?

11. Ultra Serial Port Speeds > 38400?

12. Serial Speeds over 38400?

13. Serial Port Speeds > 38400