linux/drivers/staging/speakup
Okash Khawaja 1c5973675c staging: speakup: flush tty buffers and ensure hardware flow control
This patch fixes the issue where TTY-migrated synths would take a while
to shut up after hitting numpad enter key. When calling synth_flush,
even though XOFF character is sent as high priority, data buffered in
TTY layer is still sent to the synth. This patch flushes that buffered
data when synth_flush is called.

It also tries to ensure that hardware flow control is enabled, by
setting CRTSCTS using tty's termios.

Reported-by: John Covici <covici@ccs.covici.com>
Signed-off-by: Okash Khawaja <okash.khawaja@gmail.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-05-16 14:19:41 +02:00
..
buffers.c speakup: extend synth buffer to 16bit unicode characters 2017-03-09 17:28:20 +01:00
DefaultKeyAssignments
devsynth.c Staging: speakup: Remove space after cast 2016-08-15 19:14:53 +02:00
fakekey.c staging: speakup: Remove the explicit NULL comparison 2017-03-27 14:00:41 +02:00
i18n.c staging: speakup: i18n.c: Refactor conditionals in spk_msg_set 2017-03-12 15:27:45 +01:00
i18n.h
Kconfig Staging: speakup: Fix allyesconfig build on mn10300 2016-02-01 13:05:44 -08:00
keyhelp.c staging: speakup: Clean up if conditions 2017-03-06 09:39:54 +01:00
kobjects.c staging: speakup: Removed Unnecessary parentheses. 2017-03-23 14:20:41 +01:00
main.c staging: speakup: Remove the explicit NULL comparison 2017-03-27 14:00:41 +02:00
Makefile staging: speakup: add tty-based comms functions 2017-05-16 14:05:42 +02:00
selection.c staging: speakup: Match alignment with open parenthesis. 2017-03-23 14:20:41 +01:00
serialio.c staging: speakup: flush tty buffers and ensure hardware flow control 2017-05-16 14:19:41 +02:00
serialio.h staging: speakup: add send_xchar, tiocmset and input functionality for tty 2017-05-16 14:19:41 +02:00
speakup_acnt.h
speakup_acntpc.c Annotation of module parameters that specify device settings 2017-05-10 19:13:03 -07:00
speakup_acntsa.c staging: speakup: migrate acntsa, bns, dummy and txprt to ttyio 2017-05-16 14:19:41 +02:00
speakup_apollo.c staging: speakup: migrate apollo, ltlk, audptr, decext, dectlk and spkout 2017-05-16 14:19:41 +02:00
speakup_audptr.c staging: speakup: flush tty buffers and ensure hardware flow control 2017-05-16 14:19:41 +02:00
speakup_bns.c staging: speakup: move those functions which do outgoing serial comms, into serialio.c 2017-03-17 15:19:09 +09:00
speakup_decext.c staging: speakup: flush tty buffers and ensure hardware flow control 2017-05-16 14:19:41 +02:00
speakup_decpc.c staging: speakup: fix unnecessary long line 2017-05-15 12:44:20 +02:00
speakup_dectlk.c staging: speakup: flush tty buffers and ensure hardware flow control 2017-05-16 14:19:41 +02:00
speakup_dtlk.c staging: speakup: make input functionality swappable 2017-05-15 12:31:43 +02:00
speakup_dtlk.h drivers/staging/speakup: Align block comments at * 2017-05-15 12:44:20 +02:00
speakup_dummy.c staging: speakup: migrate acntsa, bns, dummy and txprt to ttyio 2017-05-16 14:19:41 +02:00
speakup_keypc.c Annotation of module parameters that specify device settings 2017-05-10 19:13:03 -07:00
speakup_ltlk.c staging: speakup: migrate apollo, ltlk, audptr, decext, dectlk and spkout 2017-05-16 14:19:41 +02:00
speakup_soft.c staging: speakup: make input functionality swappable 2017-05-15 12:31:43 +02:00
speakup_spkout.c staging: speakup: flush tty buffers and ensure hardware flow control 2017-05-16 14:19:41 +02:00
speakup_txprt.c staging: speakup: migrate acntsa, bns, dummy and txprt to ttyio 2017-05-16 14:19:41 +02:00
speakup.h staging: speakup: spaces preferred around operator 2017-03-23 14:20:41 +01:00
speakupmap.h
speakupmap.map
spk_priv_keyinfo.h staging: speakup: spk_priv_keyinfo.h Space around operator 2016-11-23 10:05:39 +01:00
spk_priv.h staging: speakup: add send_xchar, tiocmset and input functionality for tty 2017-05-16 14:19:41 +02:00
spk_ttyio.c staging: speakup: flush tty buffers and ensure hardware flow control 2017-05-16 14:19:41 +02:00
spk_types.h staging: speakup: flush tty buffers and ensure hardware flow control 2017-05-16 14:19:41 +02:00
spkguide.txt Staging: speakup: Remove FSF mailing address 2016-01-28 22:40:31 -08:00
synth.c staging: speakup: flush tty buffers and ensure hardware flow control 2017-05-16 14:19:41 +02:00
thread.c staging: speakup: thread.c align on parenthesis 2016-11-21 11:05:29 +01:00
TODO staging: speakup: TODO Correct email 2016-11-21 11:05:29 +01:00
varhandlers.c staging: speakup: fixes braces {} should be used on all arms of this statement 2017-03-23 14:20:41 +01:00