Page MenuHomeFreeBSD

atkbd: Flip the default for 'coreboot' to being normal
AbandonedPublic

Authored by imp on Jun 28 2023, 5:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 27, 1:16 AM
Unknown Object (File)
Tue, Apr 23, 8:32 PM
Unknown Object (File)
Mon, Apr 22, 8:51 AM
Unknown Object (File)
Dec 25 2023, 12:52 PM
Unknown Object (File)
Dec 23 2023, 3:53 AM
Unknown Object (File)
Dec 12 2023, 3:40 AM
Unknown Object (File)
Sep 4 2023, 10:17 PM
Unknown Object (File)
Aug 14 2023, 4:32 AM
Subscribers

Details

Summary

This reverts commit 599a4548f8f1758afe1d33c53e9a56e42c5f3e30.
Revert "Adds support for Purism coreboot keyboards"

This reverts commit 07030f3362a75380f12fc82e68fba2b34ee2e32c.
Revert "atkbdc(4): Add quirk for "System76 lemur Pro" laptops."

This reverts commit 013da020e2c4974871caed321a29506582c73aed.
Revert "Assume all coreboot BIOSes have the need for these workarounds because"

Revert to only applying this quirk for really old Acer Peppy systems.
The dragonfly code that was ported over has since evolved to rearrange
the order of probing / resetting to better cope with this picky
system. However, ancient chromebooks are much less relevant today, so
default to no quirks for coreboot, except this specific ancient
chromebook. It turned out that my assuming all coreboot systems were
chromebook and needed the fix was in error and does hurt things now.

Add an UPDATING entry for people with different, but still old-enough to
need the quirk, chromebooks to contact me.

I'll note that Dragonfly has reworked the atkbd/atkbdc probing code so
many of these quirks (all?) are no longer necessary. That's beyond the
scope of what I have time for, but would make a good project for
someone, perhaps in combination of eliminating GIANT in the kbd/mouse
subsystem.

Relnotes: yes
Sponsored by: Netflix

Test Plan

Also seeing if I can find a way to see if there's a generic way to detect the old, broken code with the coreboot folks.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 52315
Build 49206: arc lint + arc unit

Event Timeline

imp requested review of this revision.Jun 28 2023, 5:47 PM
imp created this revision.
imp added reviewers: jon_thesoo.org, grembo, wulf, kevans, jhb.
rpokala added a subscriber: rpokala.

I don't have any particular context for this issue, but the description makes sense, and the code change implements it.

This revision is now accepted and ready to land.Jun 28 2023, 5:55 PM

This is too flawed. Found a better way in D40789.