ukbd key repeat behaviour changed?

James Wright james.wright at jigsawdezign.com
Thu Mar 5 01:50:56 UTC 2020



> On 4 Mar 2020, at 21:29, Hans Petter Selasky <hps at selasky.org> wrote:
> 
> On 2020-03-04 19:46, James Wright wrote:
>>> On 4 Mar 2020, at 08:49, Hans Petter Selasky <hps at selasky.org> wrote:
>>> 
>>>> However, to confirm it's not just my typing, I booted into my old kernel (r357365) and I don't see the issue as in the newer revision (r358484).
>>>> I think it may be something to do with the latest version not resetting the initial repeat delay when another key is pressed, e.g.
>>>> 1) Hold down the 'a' key.
>>>> 2) Wait a split second just before the 'a' key should start repeating, and press 'l' key whilst still holding the 'a' key.
>>>> 3) There should be a renewed initial delay before the 'l' key starts repeating, but I think it starts repeating almost immediately (as if it were still counting from the press of the 'a' key).
>>>> Hope that makes some sense! :-)
>>> 
>>> Hi,
>>> 
>>> Can you try the attached patch?
>>> 
>>> Does it solve the issue?
>>> 
>>> --HPS
>>> <ukbd.diff>
>> Thanks for the patch!
>> Is there any way of easily testing it without rebuilding the whole kernel, as ukbd seems built in by default?
> 
> Hi,
> 
> make buildkernel -jX -DNO_CLEAN
> 
> might save you some time.
> 
> --HPS
> 

The patch does indeed fix the issue.

Thanks for sorting it out so quickly, do you need me to raise a bugzilla ticket for this?

James



More information about the freebsd-usb mailing list