quirks: add Dell / HP / Lenovo catch-all DMI entries (Phase I broader OEM)
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.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user