Closed Qonfused closed 1 year ago
It seems that an ambient light sensor is needed for backlight to function (since macOS 15 Catalina). The SMCLightSensor kext handles reporting actual SMC values or dummy values; if there is no ambient light sensor I'd have to remove the ALS0 kext (since there is no physical device to define).
Edit: I can't find an ambient light sensor in the schematic, so I'm ommiting reporting SMC values and instead using dummy values.
Another note: SSDT-PLUG is no longer needed on Monterey 12.3+
IMEI SSDT is not necessary:
More info in https://dortania.github.io/Getting-Started-With-ACPI/Universal/imei.html.
ACPI spec for PTS is "prepare to sleep"; it's possible that the PTS SSDT may be needed for some S0-S5 signal?
Edit: More info in https://dortania.github.io/OpenCore-Post-Install/usb/misc/shutdown.html confirms a plausible S5 patch.
Posting this resource for later documentation: https://5t33z0.gitbook.io/oc-litte-translated/oc-little/acpi/acpi-basics
Will only have to document this repo's ACPI.
Fix issue status
SSDT-DTGP.aml is required to be used with SSDT-TB3.aml since the Device (UPSB) in SSDT-TB3.aml is calling the _DSM method. (for UX582 model)
It seems that without SSDT-PTS.aml, on UX582, the shutdown or restart on macOS would fail sometimes. But this problem only existed a long time ago when I initially pushed the OC EFI to GitHub; not sure if it has been fixed by other patches.
Do you have a working NVRAM on your model? (saves the boot disk in OpenCore)
SSDT-DTGP.aml is required to be used with SSDT-TB3.aml since the Device (UPSB) in SSDT-TB3.aml is calling the _DSM method. (for UX582 model)
My initial comments on DTGP were misled; the DTGP method may be necessary in order to inject device properties during earlier parts of macOS's initialization. I'd see if you can use device property injection instead, but it may not reliably inject w/o using DTGP.
I'm not familiar with the thunderbolt SSDTs/patches, though I have a z490i system with thunderbolt 3 I can test with. It may be more involved on a laptop with multiple thunderbolt controllers.
It seems that without SSDT-PTS.aml, on UX582, the shutdown or restart on macOS would fail sometimes. But this problem only existed a long time ago when I initially pushed the OC EFI to GitHub; not sure if it has been fixed by other patches.
I'd still verify whether you still need this SSDT. Reviewing this SSDT, all it seems to do is power down a USB controller, which can conflict with shutdown/restart (possibly sleep as well).
Do you have a working NVRAM on your model? (saves the boot disk in OpenCore)
NVRAM does work natively on my model. I was unsure when I was first investigating it, but macOS does correctly read the csr-active-config
NVRAM variable, and custom boot entry creation was tested as working.
A basic breakdown of each file is given below: