speakup: Add /dev/synthu device
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 4 Feb 2024 15:58:25 +0000 (16:58 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Mar 2024 21:51:23 +0000 (21:51 +0000)
commit807977260ae4de1cf39cfc55713fc0bc56566f7a
tree736d497e9ead12be26054647b62168b912227a35
parentb6c8dafc9d86eb77e502bb018ec4105e8d2fbf78
speakup: Add /dev/synthu device

/dev/synth has always been 8bit, but applications nowadays mostly
expect to be using utf-8 encoding.  This adds /dev/synthu to be able
to synthesize non-latin1 characters.  This however remains limited
to 16bit unicode like the rest of speakup.  Any odd input or input
beyond 16bit is just discarded.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
===================================================================
Link: https://lore.kernel.org/r/20240204155825.ditstifsbqndnce3@begin
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/accessibility/speakup/devsynth.c