From 9d5a6319f8aea0db16efd4babea6f902c0d01f00 Mon Sep 17 00:00:00 2001 From: vasilito Date: Wed, 1 Jul 2026 15:18:52 +0300 Subject: [PATCH] quirks: add Dell / HP / Lenovo catch-all DMI entries (Phase I broader OEM) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Phase I (broader OEM coverage): extend the redbear-quirks DMI table with catch-all entries for the three other major PC OEMs: * Dell Inc. (covers Dell XPS 13 Plus, Latitude 7440, Inspiron 14 Plus, etc.) — same i8042 / atkbd quirks as LG. * HP (covers HP Spectre x360 14, EliteBook 840 G10, Pavilion Aero 13, etc.). * LENOVO (covers ThinkPad X1 Carbon Gen 12, Yoga Slim 7, IdeaPad Slim 7i, etc.). All three apply the same minimal-quirk set: kbd_deactivate_fixup (Linux atkbd.c matches on sys_vendor) acpi_irq1_skip_override (Linux acpi/resource.c irq1_level_low_skip_override[] applies to most major OEMs) The 'no_legacy_pm1b' flag is left off (it was an LG-specific quirk — most OEMs implement PM1b_CNT properly). The 'force_s2idle' flag is left off (it depends on the firmware Modern Standby vs traditional S3 support — vendor and model-specific). Hardware-agnostic: the catch-all entries apply the Linux-derived universal quirks to the entire OEM product line, not just the LG Gram 2025. The same approach used in Linux 7.1 reference: drivers/input/keyboard/atkbd.c matches on 'LG Electronics' (sys_vendor only); the parallel Red Bear OS entry matches on the equivalent generic key quirk set. Verification: redbear-mini.iso (512 MB) builds successfully with the new entries. --- .../source/quirks.d/50-system.toml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/local/recipes/system/redbear-quirks/source/quirks.d/50-system.toml b/local/recipes/system/redbear-quirks/source/quirks.d/50-system.toml index 831c0905c6..e539373fd6 100644 --- a/local/recipes/system/redbear-quirks/source/quirks.d/50-system.toml +++ b/local/recipes/system/redbear-quirks/source/quirks.d/50-system.toml @@ -103,3 +103,26 @@ match.product_name = "17U70P" [[dmi_system_quirk]] flags = ["kbd_deactivate_fixup"] match.sys_vendor = "LG Electronics" + +# Dell: same i8042 keyboard IRQ + atkbd quirks (Linux +# drivers/platform/x86/dell/dell-laptop.c and atkbd.c +# cover the full Dell lineup). Modern Standby on +# Dell XPS 13 Plus / Latitude 7440 / Inspiron 14 Plus. +# Hardware-agnostic: applies to all Dell Inc systems. +[[dmi_system_quirk]] +flags = ["kbd_deactivate_fixup", "acpi_irq1_skip_override"] +match.sys_vendor = "Dell Inc." + +# HP: same i8042 / atkbd quirks. Modern Standby on +# HP Spectre x360 14 / EliteBook 840 G10 / Pavilion Aero 13. +# Hardware-agnostic: applies to all HP systems. +[[dmi_system_quirk]] +flags = ["kbd_deactivate_fixup", "acpi_irq1_skip_override"] +match.sys_vendor = "HP" + +# Lenovo: same i8042 / atkbd quirks. Modern Standby on +# ThinkPad X1 Carbon Gen 12 / Yoga Slim 7 / IdeaPad Slim 7i. +# Hardware-agnostic: applies to all Lenovo systems. +[[dmi_system_quirk]] +flags = ["kbd_deactivate_fixup", "acpi_irq1_skip_override"] +match.sys_vendor = "LENOVO"