patch to make speakup-r work in recent kernels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here is a patch to make speakup-r work on recent kernels.
Acked-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
Signed-off-by: John Covici <covici@xxxxxxxxxxxxxx>
--- drivers/staging/speakup/fakekey.c.~1~       2013-09-02 16:46:10.000000000 -0400
+++ drivers/staging/speakup/fakekey.c   2015-05-14 18:16:44.303691773 -0400
@@ -81,4 +81,5 @@
        __this_cpu_write(reporting_keystroke, true);
        input_report_key(virt_keyboard, KEY_DOWN, PRESSED);
        input_report_key(virt_keyboard, KEY_DOWN, RELEASED);
+       input_sync(virt_keyboard);
        __this_cpu_write(reporting_keystroke, false);

        /* reenable preemption */
-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@xxxxxxxxxxxxxx
_______________________________________________
Speakup mailing list
Speakup@xxxxxxxxxxxxxxxxx
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup

[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux