]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Some devices take undesired actions when RTS and DTR are
authorshurd <shurd@FreeBSD.org>
Wed, 12 Jun 2019 18:07:04 +0000 (18:07 +0000)
committershurd <shurd@FreeBSD.org>
Wed, 12 Jun 2019 18:07:04 +0000 (18:07 +0000)
commit59fa6d1f5b628c947c887eaf113c0cc31a6e316d
treea16bee1d7069dfb81f667ff7dcbee04f821f542c
parent244c9287741ecb45ed9e0810f714a4e37f68f8a8
Some devices take undesired actions when RTS and DTR are
asserted. Some development boards for example will reset on DTR,
and some radio interfaces will transmit on RTS.

This patch allows "stty -f /dev/ttyu9.init -rtsdtr" to prevent
RTS and DTR from being asserted on open(), allowing these devices
to be used without problems.

Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D20031
bin/stty/modes.c
bin/stty/print.c
bin/stty/stty.1
share/man/man4/termios.4
sys/dev/uart/uart_tty.c
sys/dev/usb/serial/umcs.c
sys/dev/usb/serial/usb_serial.c
sys/kern/tty.c
sys/sys/_termios.h