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:17] – tweaks 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 ==== | ||
| Line 159: | Line 150: | ||
| Now we have: | Now we have: | ||
| - | - The latest update files stored away safely | + | * The latest update files stored away safely |
| - | - The latest kernel, compiled with our own patch | + | |
| So it is time to move on to the installation. | So it is time to move on to the installation. | ||
| Line 177: | Line 168: | ||
| # cp / | # cp / | ||
| # cp bsd.rd / | # cp bsd.rd / | ||
| - | # cp bsd /bsd.sp # You might not even have this file, relatively safe to skip this last one | + | # cp bsd /bsd.sp # You might not even have this file, relatively safe to skip this last one if you do not intend to run in single-processor mode |
| </ | </ | ||