speakup can now do speakup-r on more recent kernels

covici at ccs.covici.com covici at ccs.covici.com
Tue May 19 14:21:58 EDT 2015


So here is the patch
--- 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,6 +81,7 @@
        __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 */


Samuel Thibault <samuel.thibault at ens-lyon.org> wrote:

> covici at ccs.covici.com, le Tue 19 May 2015 13:30:24 -0400, a écrit :
> > Hi.  I have now fixed speakup so it can do the speakup-r combination on
> > more recent kernels than 3.6.
> 
> Cool!
> 
> > I don't know how to get this into the staging tree,
> 
> See the MAINTAINERS file, STAGING SUBSYSTEM is
> Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> 
> > but if anyone is interested, its a one line change to fakekey.c.
> 
> Well, you can send the patch on the list :)
> 
> Samuel
> _______________________________________________
> Speakup mailing list
> Speakup at linux-speakup.org
> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup

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

         John Covici
         covici at ccs.covici.com


More information about the Speakup mailing list