A new serial baud rate
Hello !!!
I want to use the 14400 baud rate on a serial port (I have a lot of modems configured to this baud rate) but the define B14400 doesn't exist. What should I do. Is it a matter of simply insert the new define into termbits.h ?
thanks in advance
---
Henrique Gobbi
Set your rate to 57600 then. Except for 2400's that didn't do compression, generally, you set the rate to the highest the modem will support. In this case, either 57600 or 115200, more likely the former. If that doesn't work, then use 38400.
Quoted 15 lines · henrique
Hello !!!
I want to use the 14400 baud rate on a serial port (I have a lot of modems configured to this baud rate) but the define B14400 doesn't exist. What should I do. Is it a matter of simply insert the new define into
termbits.h?thanks in advance
---
Henrique Gobbi-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 5 lines · henrique
Hello !!!
I want to use the 14400 baud rate on a serial port (I have a lot of modems configured to this baud rate) but the define B14400 doesn't exist. What should I do. Is it a matter of simply insert the new define into
termbits.h?
There seem to exist two different approaches to the speed parameter. The classical is to have Bnnnnn constant in the <termios.h> POSIX tc{get|set}attr().
Another is to supply the speed, or at least the divisor explicitely. This is done via TIO[GS]SERIAL ioctl. See setserial(8) for more pointers.
Entirely separate issue is that modem speed of 14400 bauds is roughly 18000 bauds of async speed, without considering any of possible modem link compression effects. Modems do adapt to your computer serial port speed, and to get full modem speed bandwidth into use, your modem-computer link speed needs to more capacitous, than what the modem can feed into it.
Quoted 3 lines
thanks in advance
---
Henrique Gobbi
/Matti Aarnio