// _TTS Method (TransitionToState) to fix LED issues like:
// Power Button LED and Red LED blinking after Wake from Sleep
// Save Microphone Mute F4 toggle LED State after Wake from Sleep
// Credits: @junaedahmed (Mic Mute LED) @Sniki (Power LED)

DefinitionBlock ("", "SSDT", 1, "OCLT", "EXT5", 0)
{
    External (_SB.PCI0.LPCB.EC.HKEY.MMTS, MethodObj)
    External (_SB.PCI0.LPCB.EC.LED1, IntObj)
    External (_SI._SST, MethodObj)

    Method (EXT5, 1, NotSerialized)
    {
        // Arg0 contains the system state of transition
        // For wake state it is Zero.

        If (CondRefOf (\_SB.PCI0.LPCB.EC.LED1))
        {
            If (Arg0 == Zero & \_SB.PCI0.LPCB.EC.LED1 == One)
            {
                \_SB.PCI0.LPCB.EC.HKEY.MMTS (0x02)
            }
        }

        If (Arg0 == Zero)
        {
            \_SI._SST(One)
        }
    }
}

results matching ""

    No results matching ""