Please sign in to comment.
Explicitly add CREAD to c_cflag
CREAD flag is disabled after system boot for some tty devices. For instance, this is a case for /dev/ttyS? managed by 8250_omap linux kernel driver. The flag must be set if we want to read from the device. Reference: http://www.delorie.com/gnu/docs/glibc/libc_364.html """ Macro: tcflag_t CREAD If this bit is set, input can be read from the terminal. Otherwise, input is discarded when it arrives. """ Signed-off-by: Matwey V. Kornilov <firstname.lastname@example.org>
- Loading branch information...