Lilu plugin that enhances the available strings for use with the _OSI
function used in DSDT and SSDT for OS detection.
You can use strings like _OSI("Darwin 21")
or _OSI("Monterey")
, allowing you to apply different ACPI patches for different macOS versions.
To patch only macOS in a multi-boot environment, it is recommended to use _OSI("Darwin")
. However, Linux also responds to _OSI("Darwin")
, which can lead to issues. Therefore, "macOS"
is defined as an alternative method to detect any macOS versions.
You can determine the macOS version based on kernel version using strings like "Darwin 21"
. It also supports future macOS releases. ( -osibeta
boot-arg required )
You can detect the macOS version using strings like "macOS 12"
. Refer to interfaces.hpp for the actual set strings.
It also supports future macOS releases as long as the naming convention doesn't change. ( -osibeta
boot-arg required )
You can also use the names of each macOS version. Refer to interfaces.hpp for the actual strings.
For my personal use, the following strings have been introduced to identify available Intel iGPU Framebuffers:
"Skylake Framebuffer"
"Kaby Lake Framebuffer"
"Coffee Lake Framebuffer"
For more information on these uses, see here.
To achieve the functionality of MinKernel
/ MaxKernel
, this kext is provided with SSDT and samples for use in combination.
AcpiInstallInterface
is only implemented in Yosemite (10.10) and later, so you can't use this kext with Mavericks or earlier. It might be possible to replace AcpiOsValidateInterface
from Leopard (10.5) to Mavericks, but this has not been confirmed.