-->Donations via PayPal [External Link Removed for Guests] :guitar
-->Installation/Post Installation Tutorial [Local Link Removed for Guests]
-->Useful Links [Local Link Removed for Guests]
-->Olarila Images - Updated images [Local Link Removed for Guests]
-->Guides and Tutorials [Local Link Removed for Guests]
-->Clover Folder for All Chipsets [Local Link Removed for Guests]
-->DSDT Patch Requests [Local Link Removed for Guests]

Shutdown fix

Post Reply
User avatar
oldnapalm
Olarila Staff
Olarila Staff
Posts: 1225
Joined: 05 Dec 2010, 20:49

Shutdown fix

Post by oldnapalm » 24 Dec 2010, 12:34

Fix para o shutdown, dispensa o uso da kext OpenHaltRestart para o PC desligar corretamente.

Para placas mãe Asus:

Tópico original: [External Link Removed for Guests]

Modifique o método _PTS para não fazer nada se o Arg0 for 0x05 (shutdown)

Code: [Local Link Removed for Guests]

		Method (_PTS, 1, NotSerialized)
		{
			If (LEqual (Arg0, 0x05)) {}
			Else
			{
				... código original
			}
		}
Para placas mãe Gigabyte:

Tópico original: [External Link Removed for Guests]

No método _PTS, onde o Arg0 for 0x05 (shutdown), substitua o código original por esse

Code: [Local Link Removed for Guests]

			Store (Zero, SLPE)
			Sleep (0x10)
e insira esse código no bloco principal

Code: [Local Link Removed for Guests]

    OperationRegion (PMRS, SystemIO, 0x0430, One)
    Field (PMRS, ByteAcc, NoLock, Preserve)
    {
  		,   4, 
     	SLPE,   1
    }
Outras placas podem precisar do patch como o da Gigabyte, mas o PMBASE pode ser diferente
OperationRegion (PMRS, SystemIO, PMBASE+30h, One) Field (PMRS, ByteAcc, NoLock, Preserve) { , 4, SLPE, 1 }
Observe na definição do CPU (se não estiver na DSDT, procure nas SSDT)
Processor (P001, 0x01, 0x00000810, 0x06) {}
PMBASE+10h=0x810
PMBASE=0x800
nesse caso usaria
OperationRegion (PMRS, SystemIO, 0x0830, One)
Post Reply

Return to “DSDT”