HomeFreeBSD

atkbdc: Add additional heurstic for Chromebook keyboards

Description

atkbdc: Add additional heurstic for Chromebook keyboards

It turns out that that heurstic used to determine if we have a Google
coreboot, and thus have the i8042 emulation bugs, is incorrect. At least
one Acer "Peppy" Chromebook has an issue because Acer space'd out the
smbios.bios.version string we're using as part of the heuristic. So, if
the version starts with a space, then enable the workarounds if the
smbios.bios.reldate is 2018 or earlier. While not perfect, it should be
a reasonable dividing line and still allow newer core boot-based
machines that aren't Chromebooks to not have the workaround.

Tested by: Matthias Apitz
Sponsored by: Netflix
MFC After: 3 days (14.0 candiate)

Details

Provenance
impAuthored on Sep 9 2023, 2:18 AM
Parents
rG5657e065bcf0: procdesc: Remove stray references to pdwait4
Branches
Unknown
Tags
Unknown