Files
RedBear-OS/local
vasilito e3c41b834d quirks: ACPI DMI runtime data (R11 part 2)
Phase R11 (2026-06-07) — ACPI DMI data side. Four runtime
TOML files land in quirks.d/, each populated with
real Linux 7.1 DMI table entries:

  45-acpi-osi.toml    — currently empty (no rules landed;
                        placeholder for concrete hardware
                        bugs to be added on real targets)
  46-acpi-sleep.toml  — 13 entries from sleep.c
                        (HP xw4600, ASUS M2N8L, Matsushita
                        CF51-2L, ASUS A8N-SLI DELUXE,
                        Sony VAIO VGN-FW/VPC series,
                        Everex StepNote, AVERATEC 1000)
                        covering SLEEP_OLD_ORDERING and
                        SLEEP_NVS_NOSAVE
  47-acpi-button.toml — 4 entries from button.c (Insyde
                        T701, CherryTrail M882, Lenovo 82BG,
                        MEDION E2215T) covering LID_INIT
                        flags
  48-acpi-battery.toml — 1 entry from battery.c (NEC
                        LZ750/LS) covering BATTERY_BIX_BROKEN

Each entry uses the new [[dmi_acpi_quirk]] table type
landed in the previous commit (5d06b0fa0). The
match sub-table is the same DmiMatchRule shape
used by [[dmi_system_quirk]] and [[dmi_xhci_system_quirk]]
(sys_vendor, product_name, board_vendor, board_name,
bios_version, etc).

The data covers 18 DMI rules total. Per the audit,
the compiled-in DMI_ACPI_QUIRK_RULES table stays
empty — runtime TOML is the data surface. As more
hardware bugs are reported on real Red Bear targets,
new entries can be appended to these files without
rebuilding.

Consumer-side: no consumer reads AcpiQuirkFlags yet.
The lookup is wired through load_dmi_acpi_quirks()
which is callable from any acpid / acpi-handler
process. Wiring the consumer is R12.
2026-06-07 21:25:52 +03:00
..