radiokk6
Posts: 18
Joined: Sun Jul 09, 2017 1:09 am

unable to get agetty to work at 115200 baud

Fri Sep 22, 2017 3:09 am

I have a Rpi3B and I'm running Raspbian Stretch.

My goal is login via USB-to-serial adapter using ssh at 115200. This is working but only at 9600. When I attempt to login at 115200, no prompt appears. My ssh session is blank.

I have done the following:

0. apt-get update, apt-get upgrade, apt-get dist-update already done.
1. /boot/config.txt already contains enable_uart=1
2. agetty is used as a service: ExecStart=-/sbin/agetty --keep-baud 115200,38400,9600 %I $TERM
3. /dev/ttyUSB0 explicitly set to 115200: sudo stty -F /dev/ttyUSB0 115200
4. I know /dev/ttyUSB0 is working at 115200 because if I just connect minicom to /dev/ttyUSB0, I can send and receive characters at 115200.

Any ideas for a solution or next step?

regards,radiokk6

Return to “Raspberry Pi OS”