The 8042 emulation found on Chromebooks does not support the RESET command,
authormiod <miod@openbsd.org>
Sun, 13 Aug 2023 21:54:02 +0000 (21:54 +0000)
committermiod <miod@openbsd.org>
Sun, 13 Aug 2023 21:54:02 +0000 (21:54 +0000)
commitdfb3b89c3c8f7be544280afe44a669f9e0012e27
treebd3ff73351347f728ed6855f996f1d0b93163ad0
parent7fe78b3f6ecc793110e7684d60e67d4a482fec4d
The 8042 emulation found on Chromebooks does not support the RESET command,
for no good reason, and causes pckbc not to attach. However, sending a `get
keyboard id' works, so this can be used as a second check to give those
fawlty pieces of hardware a chance to work.

Based on a diff submitted by, and tested by,  Vladimir 'phcoder' Serbinenko.
sys/dev/pckbc/pckbd.c
sys/dev/pckbc/pckbdreg.h