Commit Graph

5 Commits

Author SHA1 Message Date
Harald Welte 31313a6cf7 cuart_[fsm]_test: Avoid hard-coded 'ttyUSB5'; use command line arg
Change-Id: I0b66ed7c037376e4a5a9283cb972012594bc35d2
2019-10-09 22:30:31 +02:00
Harald Welte 6603d95119 card_uart_tx: Allow caller to specify if Rx should be active after Tx
This reverts commit 02dd911163.

Change-Id: Ibe02d283701dbfff5ab47e1b8195369c134cde03
2019-10-09 22:30:30 +02:00
Harald Welte 02dd911163 card_uart_tx: Remove last argument (we always have the receiver active)
Change-Id: I8f82e9108d0eae86bbe4535403ccc680b7379a0e
2019-10-09 18:09:57 +02:00
Harald Welte 18ec32218a cuart_driver_tty: Work around linux kernel bug ignoring CREAD
Almost all linux USB serial drivers are ignoring CREAD and hence
cannot disable the receiver hardware, see https://bugzilla.kernel.org/show_bug.cgi?id=205033

We therefore have to receive every byte we transmit before notifying the
user of transmit completion.

Change-Id: Id3cca29f78ee5469a1142aaa1ff754cc0427ec93
2019-10-09 18:08:10 +02:00
Harald Welte a40c8e502d 'cuart' Card-UART abstraction + driver for simple serial reader
Change-Id: Ic7e324d99f78b3bfb98fc667d9a1b7fa363f092d
2019-10-09 18:08:07 +02:00