[Bug 271737] Purism coreboot keyboard non-functional due to quirks mode

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 30 May 2023 21:32:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271737

            Bug ID: 271737
           Summary: Purism coreboot keyboard non-functional due to quirks
                    mode
           Product: Base System
           Version: 13.2-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: jon@thesoo.org

On Purism coreboot systems the quirks mode in atkbdc prevents built in Keyboard
from being used. Following patch fixes problem. 


diff --git a/sys/dev/atkbdc/atkbdc.c b/sys/dev/atkbdc/atkbdc.c
index c3c53f98e491..f24c3d883351 100644
--- a/sys/dev/atkbdc/atkbdc.c
+++ b/sys/dev/atkbdc/atkbdc.c
@@ -114,6 +114,7 @@ struct atkbdc_quirks {

 static struct atkbdc_quirks quirks[] = {
     {"coreboot", "System76", NULL, 0},
+    {"coreboot", "Purism", NULL, 0},
     {"coreboot", NULL, NULL,
        KBDC_QUIRK_KEEP_ACTIVATED | KBDC_QUIRK_IGNORE_PROBE_RESULT |
        KBDC_QUIRK_RESET_AFTER_PROBE | KBDC_QUIRK_SETLEDS_ON_INIT},

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