[Bug 253249] USB keyboard: repeated and out of order characters

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Feb 5 16:28:18 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253249

--- Comment #9 from Vladimir Kondratyev <wulf at freebsd.org> ---
Created attachment 222185
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=222185&action=edit
ukbd_rollover.patch

Your patch assumes that keyboard uses boot protocol and all modifier keys are
released (sc->sc_buffer[0] == 0).

I made a patch that does not depend on these assumptions. Could you test it?
It filters entire packet if any array item got the RollOver value. That should
be ok as according to specs "The keyboard must report a phantom state indexing
Usage(ErrorRollOver) in all array fields"

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-usb mailing list