git: atkbd: Fix first keystroke force reset
Michael Neumann
mneumann at crater.dragonflybsd.org
Sun Jun 1 15:28:00 PDT 2025
commit f0dd2afff203c65de3b0eed1b65d7875a0201212
Author: Michael Neumann <mneumann at ntecs.de>
Date: Sun Jun 1 23:41:14 2025 +0200
atkbd: Fix first keystroke force reset
Some i8042 falsely return KBD_ACK for ECHO command which cause the
keyboard echo test to fail.
Without passing echo test, the keyboard is considered as unconfigured.
Although this is incorrect behavior, we still consider it correct to
prevent the forced reset (a step to configure a keyboard) of the entire
keyboard when the first key interrupt is reached.
This should fix keyboard probing at least for Framework Laptop [1].
Taken-from: FreeBSD [2] (minus typos)
[1]: https://reviews.freebsd.org/D50498
[2]: https://github.com/freebsd/freebsd-src/commit/cba5d7ab32fd0b4e9c4312cc967baf137377f812
Summary of changes:
sys/dev/misc/kbd/atkbd.c | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f0dd2afff203c65de3b0eed1b65d7875a0201212
--
DragonFly BSD source repository
More information about the Commits
mailing list