Jump to content
oldnapalm

Shutdown fix

Recommended Posts

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

 

Para placas mãe Asus:

 

Tópico original: http://www.projectosx.com/forum/index.php?showtopic=904

 

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

		Method (_PTS, 1, NotSerialized)
	{
		If (LEqual (Arg0, 0x05)) {}
		Else
		{
			... código original
		}
	}
 

Para placas mãe Gigabyte:

 

Tópico original: http://www.insanelymac.com/forum/index.php?showtopic=192518

 

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

			Store (Zero, SLPE)
		Sleep (0x10)
 

e insira esse código no bloco principal

    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, [color=#FF0000]PMBASE+30h[/color], 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, [color=#FF0000]0x00000810[/color], 0x06) {}
 

PMBASE+10h=0x810

PMBASE=0x800

nesse caso usaria

OperationRegion (PMRS, SystemIO, [color=#FF0000]0x0830[/color], One)
 

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.





×
  • Create New...