- Joined
- Jul 6, 2011
- Messages
- 111
- Motherboard
- Slimbook Pro2
- CPU
- i5-8250U
- Graphics
- UHD 620, 3200x1800
- Mobile Phone
Wow! :-O I'll give it a try...!You would want something like this:
Code:// SSDT-ACAP.dsl // // Some AC adapter ACPI implementations do not notify the ACPI host // of changes to AC adapter status. // // This SSDT can be used to fix that by pairing with ACPIPoller.kext. // ACPIPoller.kext will attach to this object, call FCPU each second. // The FCPU method below, will detect changes in AC adapter status (_PSR), // and notify the AC adapter object as needed. // // Note: Change the ACPI path of the AC adapter as appropriate. // DefinitionBlock("", "SSDT", 2, "hack", "_ACAP", 0) { External(_SB.ADP1, DeviceObj) External(_SB.ADP1._PSR, MethodObj) Device(_SB.ADP1.ACAP) { Name(_HID, "FAN00000") // for matching with ACPIPoller.kext // FCPU will be executed each second by ACPIPoller.kext Name(LPSR, Ones) Method(FCPU) { Local0 = ^^_PSR() If (Local0 != LPSR) { LPSR = Local0 Notify(^^, 0x80) // Notifies _SB.ADP1 } } } } //EOF
Last edited: