Re: keyboard repeat rate, increase ceiling?

H. Peter Anvin (hpa@transmeta.com)
24 Mar 1998 05:28:43 GMT


Followup to: <19980324000034.41088@vaxerdec.dyn.ml.org>
By author: Scott McDermott <vaxerdec@frontiernet.net>
In newsgroup: linux.dev.kernel
>
> I am wondering if the cieling to the keyboard repeat rate value is
> hardware or kernel imposed; using `kbdrate' at its highest setting,
> which is apparently based on the kernel, yields an unsatisfactory rate.
> Is there some way that I might be able to artificially increase this
> rate?
>

It's hardware. Each key normally sends the kernel a <MAKE> code when
pressed and a <BREAK> code when released. When the keyboard repeats,
it sends <MAKE> codes without intervening <BREAK>s. You *could* get
around it by rewriting the keyboard driver to do repeats in software,
but please be aware that it is not a trivial thing to do.

-hpa

-- 
    PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD  1E DF FE 69 EE 35 BD 74
    See http://www.zytor.com/~hpa/ for web page and full PGP public key
        I am Bahá'í -- ask me about it or see http://www.bahai.org/
   "To love another person is to see the face of God." -- Les Misérables

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu