Fixing keyboard chatter in Linux

Valdis Kl=?utf-8?Q?=c4=93?=tnieks valdis.kletnieks at vt.edu
Sat Oct 3 23:54:28 EDT 2020


On Sat, 03 Oct 2020 22:15:08 -0000, Ave Milia said:
> Hello,
>
> I have a faulty key switch on the keyboard that apparently sends multiple
> signals upon a single press. And apparently this is called keyboard chatter.

> Since no such software exists (or if it does, please share it), I would like
>  to ask for your advice on how to implement this. I more or less know C, but I
> have no idea where to start on this problem:
> * what do I need to know about Linux kernel to solve this?
> * at which point of Linux input logic can I put this filter?
> * does the filter have to be in kernel mode or it can be in user mode (I'd
>    prefer not to work in kernel mode)?
> * do I need to write a special input driver to implement this filter (the key
>   board is a USB keyboard controlled by usbhid)?
>
> So, I just need some basic directions and where to start.

Step 0:  Decide if that amount of effort is even worth it rather than just
replacing the keyboard.

Step 1: Design your software solution to be able to deal with multiple wonky
keys, because if one is broken, there's probably others that are going to give
out soon.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20201003/7c3981d2/attachment.sig>


More information about the Kernelnewbies mailing list