Test tty device: stty < /dev/ttyu0 Output example: user@serial:~ $ stty < /dev/ttyu0 speed 115200 baud; lflags: echoe echoke echoctl oflags: tab3 cflags: cs8 -parenb