Re: patch to make speakup-r work in recent kernels

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

 



speakup-r is a function which allows continuous reading of a document
and when you stop reading, the  cursor is where you left off.  This
stopped working in kernel 3.6 because of this commit
4369c64c79a22b98d3b7eff9d089196cd878a10a is the first bad commit
commit 4369c64c79a22b98d3b7eff9d089196cd878a10a
Author: Henrik Rydberg <rydberg@xxxxxxxxxxx>
Date:   Sat Sep 15 15:23:35 2012 +0200

    Input: Send events one packet at a time

    On heavy event loads, such as a multitouch driver, the irqsoff latency
    can be as high as 250 us.  By accumulating a frame worth of data
    before passing it on, the latency can be dramatically reduced.  As a
    side effect, the special EV_SYN handling can be removed, since the
    frame is now atomic.

    This patch adds the events() handler callback and uses it if it
    exists. The latency is improved by 50 us even without the callback.

    Cc: Daniel Kurtz <djkurtz@xxxxxxxxxxxx>
    Tested-by: Benjamin Tissoires <benjamin.tissoires@xxxxxxx>
    Tested-by: Ping Cheng <pingc@xxxxxxxxx>
    Tested-by: Sedat Dilek <sedat.dilek@xxxxxxxxx>
    Acked-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
    Signed-off-by: Henrik Rydberg <rydberg@xxxxxxxxxxx>

:040000 040000 9ff0ae120a6a0c5f81678f60c020136ca3b4f56f 2708951fb2572ebe91f70115632bd85ad5fdce09 M      drivers
:040000 040000 c9c7f25822de01c00809d4a99def341495ce1b0a eab83ca81d51bb2b5227c0de47bffe81378b577c M      include

The problem was that the fakekey.c routine to fake a down arrow no
longer functioned properly and putting the input_sync fixed it.

I hope that helps.

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:

> On Wed, May 20, 2015 at 05:44:11AM -0400, covici@xxxxxxxxxxxxxx wrote:
> > 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>
> 
> Can you provide a changelog that says why this is needed and what it
> does?  "make it work" just isn't all that descriptive, sorry.
> 
> And what is "recent kernels"?  When did this break?  What broke?
> 
> thanks,
> 
> greg k-h

-- 
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