- Joined
- Nov 8, 2015
- Messages
- 33
- Motherboard
- MSi B150M BAZOOKA
- CPU
- i5-6500
- Graphics
- Sapphire Tri-X R9 290X
- Mac
- Classic Mac
- Mobile Phone
If I have the power cable plugged in and I try to shut down, the laptop will automatically restart itself after approx. two seconds.
If I don't have the power cable plugged in, it shuts down normally. I searched and came across two possible solutions. One was applying the shutdown fix v2 patch from RehabMan's repo in MaciASL, but it had no effect (the apply button was always grayed out so I couldn't apply the regular shutdown fix patch)
I then came across a thread about about editing the _PTS overrdie to fix ""auto restart after shutdown" but I need assistance with where to put the following code:
I can see the _PST entry in my .dsl file but I'm confused as to where exactly I need to insert the above code. It makes a reference to _SB.PCI0.XHC.PMEE but this is not in my dsdt.dsl file.
I want to note that the power port on this laptop acts also as an USB port. I have a usb wireless mouse receiver and a USB WiFi adapter in the other 2 regular USB 3.0 ports, which are always plugged in and don't contribute to this problem.
I plugged the wireless USB mouse receiver to the charge port and it shut down normally.
If I don't have the power cable plugged in, it shuts down normally. I searched and came across two possible solutions. One was applying the shutdown fix v2 patch from RehabMan's repo in MaciASL, but it had no effect (the apply button was always grayed out so I couldn't apply the regular shutdown fix patch)
I then came across a thread about about editing the _PTS overrdie to fix ""auto restart after shutdown" but I need assistance with where to put the following code:
Code:
// _PTS override to fix "auto restart after shutdown"
//DefinitionBlock ("", "SSDT", 2, "hack", "hack", 0)
//{
// In DSDT, native _PTS is renamed ZPTS
// As a result, calls to these methods land here.
External(ZPTS, MethodObj)
External(_SB.PCI0.XHC.PMEE, FieldUnitObj)
Method(_PTS, 1)
{
ZPTS(Arg0)
If (5 == Arg0)
{
// avoid "auto restart" after shutdown
\_SB.PCI0.XHC.PMEE = 0
}
}
//}
//EOF
I can see the _PST entry in my .dsl file but I'm confused as to where exactly I need to insert the above code. It makes a reference to _SB.PCI0.XHC.PMEE but this is not in my dsdt.dsl file.
I want to note that the power port on this laptop acts also as an USB port. I have a usb wireless mouse receiver and a USB WiFi adapter in the other 2 regular USB 3.0 ports, which are always plugged in and don't contribute to this problem.
I plugged the wireless USB mouse receiver to the charge port and it shut down normally.
Attachments
Last edited: