I would like to connect to a serial Console server to the beagelboard X15 serial debug port, can’t use a Prolific or FTDI protocol converter. This a true serial console server. Using a cut serial female cable - DB9 female end connects to the console server. The other end connects to the X15. DB9 Pin 3 connects to pin 4 on the x15, DB9 Pin 2 connects to pin 5 on the x15. The Rx from the console server goes to the TX of the X15, The Tx from the console server goes to the Rx on the X15. It responds just fine and typing is reflected real time. The key strokes show up scrambled. The serial settings are set to on the console server and the X15 and Linux ( stty and agetty ) 115200, 8, N, 1 ,No hardware or software flow control is used. I have an XM that works just fine and have mimicked the three wires that are used on the XM native serial RS232 port. When I run stty I can set the baud rate, But I believe it is false indicator. When I run set serial I get a completely different answer
setserial /dev/ttyS2 baud_base 115200, this comes back just fine, but if I check again
setserial /dev/ttyS2 -a
/dev/ttyS2, Line 2, UART: 8250, Port: 0x0000, IRQ: 301
Baud_base: 3000000, close_delay: 50, divisor: 0
Output of stty:
stty -aF /dev/ttyS2 speed 115200 baud; rows 24; columns 80; line = 0;
I believe my issue is here. I need to get setserial to coincide with stty and agetty and lower the baud rate so that I can connect it directly to the tty server.
Any hints would be appreciated.