Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(SOLVED) SSDT-INIT and SSDT-LED ACPI ERRORS #116

Open
Hasodikis opened this issue Aug 28, 2023 · 1 comment
Open

(SOLVED) SSDT-INIT and SSDT-LED ACPI ERRORS #116

Hasodikis opened this issue Aug 28, 2023 · 1 comment

Comments

@Hasodikis
Copy link

I would just like to ask the purpose of SSDT-INIT.
I my installation on a T480s (https://github.com/Hasodikis/T480S-Hackintosh) this ssdt causes the following ACPI error:

2023-08-25 08:50:37.970023+0300 localhost kernel[0]: (AppleACPIPlatform) ACPI Error:
2023-08-25 08:50:37.970025+0300 localhost kernel[0]: (AppleACPIPlatform) ACPI Error:
2023-08-25 08:50:37.970299+0300 localhost kernel[0]: (AppleACPIPlatform) [OINI]
2023-08-25 08:50:37.970300+0300 localhost kernel[0]: (AppleACPIPlatform) [OINI]
2023-08-25 08:50:37.970436+0300 localhost kernel[0]: (AppleACPIPlatform) Namespace lookup failure, AE_ALREADY_EXISTS
2023-08-25 08:50:37.970437+0300 localhost kernel[0]: (AppleACPIPlatform) Namespace lookup failure, AE_ALREADY_EXISTS
2023-08-25 08:50:37.971440+0300 localhost kernel[0]: (AppleACPIPlatform) (20160930/dswload-462)
2023-08-25 08:50:37.971441+0300 localhost kernel[0]: (AppleACPIPlatform) (20160930/dswload-462)
2023-08-25 08:50:37.975644+0300 localhost kernel[0]: (AppleACPIPlatform) ACPI Exception: AE_ALREADY_EXISTS,
2023-08-25 08:50:37.975645+0300 localhost kernel[0]: (AppleACPIPlatform) ACPI Exception: AE_ALREADY_EXISTS,
2023-08-25 08:50:37.976443+0300 localhost kernel[0]: (AppleACPIPlatform) During name lookup/catalog
2023-08-25 08:50:37.976444+0300 localhost kernel[0]: (AppleACPIPlatform) During name lookup/catalog
2023-08-25 08:50:37.977039+0300 localhost kernel[0]: (AppleACPIPlatform) (20160930/psobject-310)
2023-08-25 08:50:37.977040+0300 localhost kernel[0]: (AppleACPIPlatform) (20160930/psobject-310)
2023-08-25 08:50:37.981311+0300 localhost kernel[0]: (AppleACPIPlatform) ACPI Exception: AE_ALREADY_EXISTS,
2023-08-25 08:50:37.981312+0300 localhost kernel[0]: (AppleACPIPlatform) ACPI Exception: AE_ALREADY_EXISTS,
2023-08-25 08:50:37.982110+0300 localhost kernel[0]: (AppleACPIPlatform) (SSDT: _INIT) while loading table
2023-08-25 08:50:37.982110+0300 localhost kernel[0]: (AppleACPIPlatform) (SSDT: _INIT) while loading table
2023-08-25 08:50:37.982908+0300 localhost kernel[0]: (AppleACPIPlatform) (20160930/tbxfload-319)
2023-08-25 08:50:37.982909+0300 localhost kernel[0]: (AppleACPIPlatform) (20160930/tbxfload-319)

This error is confusing to me, since I cannot file any dublicates. The only mention of this OINI method is in SSDT-INIT.aml.

So since I cannot correct it, I would like to ask what is it purpose. Can it be omitted (deleted) form the configuration?

@Hasodikis
Copy link
Author

Hasodikis commented Sep 2, 2023

OK.

PART 1:
After I lot of searching, trial and error, the OINI ACPI error is no more.
I changed the SSDT-INIT

FROM:
DefinitionBlock ("", "SSDT", 2, "tyler", "_INIT", 0x00001000)
{
External (SB.PCI0, DeviceObj)
External (SB.PCI0.RP09.INIT, MethodObj) // 0 Arguments
External (DPTF, FieldUnitObj)
External (HPTE, FieldUnitObj)
External (OSDW, MethodObj) // 0 Arguments
External (OSYS, FieldUnitObj)
External (WNTF, FieldUnitObj)
External (ZINI, MethodObj) // 0 Arguments

Scope (_SB.PCI0)
{
Method (OINI, 0, NotSerialized)
{
If (OSDW ())
{
Debug = "INIT: Set Variables..."
HPTE = Zero
WNTF = One
DPTF = Zero
OSYS = 0x07DF
}

ZINI ()
If ((OSDW () && CondRefOf (_SB.PCI0.RP09.INIT)))
{
_SB.PCI0.RP09.INIT ()
}
}
}
}

TO:
DefinitionBlock ("", "SSDT", 2, "T480", "INIT", 0x00001000)
{
External (SB.PCI0, DeviceObj)
External (DPTF, FieldUnitObj)
External (HPTE, FieldUnitObj)
External (OSYS, FieldUnitObj)
External (WNTF, FieldUnitObj)

Method (OINI, 0, NotSerialized)
{
If (_OSI ("Darwin"))
{
Debug = "Set Variables..."
HPTE = Zero
OSYS = 0x07DF
}
}
}

PART 2
There is also a second ACPI Error:
08:50:37.989058+0300 localhost kernel[0]: (AppleACPIPlatform) [_TTS]
2023-08-25 08:50:37.989194+0300 localhost kernel[0]: (AppleACPIPlatform) Namespace lookup failure, AE_ALREADY_EXISTS
2023-08-25 08:50:37.989195+0300 localhost kernel[0]: (AppleACPIPlatform) Namespace lookup failure, AE_ALREADY_EXISTS
2023-08-25 08:50:37.990198+0300 localhost kernel[0]: (AppleACPIPlatform) (20160930/dswload-462)
2023-08-25 08:50:37.990199+0300 localhost kernel[0]: (AppleACPIPlatform) (20160930/dswload-462)
2023-08-25 08:50:37.994578+0300 localhost kernel[0]: (AppleACPIPlatform) ACPI Exception: AE_ALREADY_EXISTS, 2023-08-25 08:50:37.994579+0300 localhost kernel[0]: (AppleACPIPlatform) ACPI Exception: AE_ALREADY_EXISTS, 2023-08-25 08:50:37.995376+0300 localhost kernel[0]: (AppleACPIPlatform) During name lookup/catalog
2023-08-25 08:50:37.995377+0300 localhost kernel[0]: (AppleACPIPlatform) During name lookup/catalog
2023-08-25 08:50:37.995970+0300 localhost kernel[0]: (AppleACPIPlatform) (20160930/psobject-310)
2023-08-25 08:50:37.995971+0300 localhost kernel[0]: (AppleACPIPlatform) (20160930/psobject-310)
2023-08-25 08:50:38.000396+0300 localhost kernel[0]: (AppleACPIPlatform) ACPI Exception: AE_ALREADY_EXISTS, 2023-08-25 08:50:38.000397+0300 localhost kernel[0]: (AppleACPIPlatform) ACPI Exception: AE_ALREADY_EXISTS, 2023-08-25 08:50:38.001196+0300 localhost kernel[0]: (AppleACPIPlatform) (SSDT: _Sleep) while loading table
2023-08-25 08:50:38.001196+0300 localhost kernel[0]: (AppleACPIPlatform) (SSDT: _Sleep) while loading table
2023-08-25 08:50:38.001994+0300 localhost kernel[0]: (AppleACPIPlatform) (20160930/tbxfload-319)
2023-08-25 08:50:38.001995+0300 localhost kernel[0]: (AppleACPIPlatform) (20160930/tbxfload-319)
2023-08-25 08:50:38.006896+0300 localhost kernel[0]: (AppleACPIPlatform) ACPI Error:
2023-08-25 08:50:38.006897+0300 localhost kernel[0]: (AppleACPIPlatform) ACPI Error:
2023-08-25 08:50:38.007171+0300 localhost kernel[0]: (AppleACPIPlatform) 2 table load failures, 32 successful
2023-08-25 08:50:38.007172+0300 localhost kernel[0]: (AppleACPIPlatform) 2 table load failures, 32 successful
2023-08-25 08:50:38.007992+0300 localhost kernel[0]: (AppleACPIPlatform) (20160930/tbxfload-342)
2023-08-25 08:50:38.007993+0300 localhost kernel[0]: (AppleACPIPlatform) (20160930/tbxfload-342)

This _TTS ACPI Error disappears only when SSDT-SLEEP is disabled in OC/ACPI.

Sleep seems to work fine without this SSDT.

Do you know what this SSDT does? Why is it necessary for this machine.
The thing is every repo in github for a t480 or a t480s includes this SSDT in its configuration. I have posted issues in this but got no answers yet.

@Hasodikis Hasodikis changed the title SSDT-INIT ACPI ERROR - Purpose(?) SSDT-INIT and SSDT-LED ACPI ERRORS (SSDT-INIT seems to be solved - See second post) Sep 2, 2023
@Hasodikis Hasodikis changed the title SSDT-INIT and SSDT-LED ACPI ERRORS (SSDT-INIT seems to be solved - See second post) (SOLVED) SSDT-INIT and SSDT-LED ACPI ERRORS Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant