Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| misc:acpi_patch [2025/06/28 22:26] – 92.40.32.213 | misc:acpi_patch [2025/10/29 22:26] (current) – h3artbl33d | ||
|---|---|---|---|
| Line 14: | Line 14: | ||
| ===== Affected Models ===== | ===== Affected Models ===== | ||
| * [[:A1502]] Early 2015 Macbook Pro | * [[:A1502]] Early 2015 Macbook Pro | ||
| - | * Maybe others? | + | * [[:A1466]] Macbook Air ([[https:// |
| + | * [[:A1465]] Early 2015 Macbook Air ([[https:// | ||
| + | |||
| + | ==== Lazy way to fix the ACPI bug ==== | ||
| + | |||
| + | We've prepared a custom image that contains the ACPI patch. If you trust us enough (hint: you shouldn' | ||
| + | |||
| + | https:// | ||
| ==== Patch to fix the ACPI bug ==== | ==== Patch to fix the ACPI bug ==== | ||
| - | < | + | **Download links:** |
| - | Index: sys/ | + | * For OpenBSD 7.7 {{ :misc: |
| - | =================================================================== | + | * For OpenBSD 7.8 {{ :misc:macbook-acpi-patch-78.tar.gz |macbook-acpi-patch-78.tar.gz}} |
| - | RCS file: / | + | |
| - | diff -u -p -u -r1.444 acpi.c | + | |
| - | --- sys/ | + | |
| - | +++ sys/ | + | |
| - | @@ -823,8 +823,8 @@ acpi_pci_set_powerstate(pci_chipset_tag_ | + | |
| - | } | + | |
| - | # | + | |
| - | + | ||
| - | - if (state == ACPI_STATE_D0 && pre) | + | |
| - | - aml_evalname(sc, | + | |
| - | +// if (state == ACPI_STATE_D0 && pre) | + | |
| - | +// | + | |
| - | } | + | |
| - | + | ||
| - | int | + | |
| - | </ | + | |
| ==== How to patch ==== | ==== How to patch ==== | ||