the-braveknight
Moderator
- Joined
- Nov 24, 2015
- Messages
- 1,220
- Motherboard
- Lenovo Legion Y520 (Clover)
- CPU
- i7-7700HQ
- Graphics
- HD 630 (1920x1080) + Nvidia GTX 1060
- Mac
- Mobile Phone
I think I'll just try adding it to a patched _REG and see if I still get that problem.You will need to decide for yourself whether you need the EC related code to execute or not...
It could be that the code you moved is somehow dependent on being executed within the context of the original _OFF.
I have 2 final questions:
1- How will I call original _REG (XREG) code from the new patched _REG?
2- What would be the code to be added to the new/to-be-patched _REG?
This way:
Code:
Method (_REG, 2, NotSerialized)
{
...
If (\ECON)
{
Store (Zero, \_SB.PCI0.LPCB.EC0.GATY)
}
}
Or:
Code:
Method (_REG, 2, NotSerialized)
{
...
If (Arg0 == 3 && Arg1 == 1)
{
Store (Zero, \_SB.PCI0.LPCB.EC0.GATY)
}
}
Or:
Code:
Method (_REG, 2, NotSerialized)
{
...
If (\ECON && (Arg0 == 3 && Arg1 == 1))
{
Store (Zero, \_SB.PCI0.LPCB.EC0.GATY)
}
}
Provided the original code removed from the _OFF method is:
Code:
...
If (\ECON)
{
Store (Zero, \_SB.PCI0.LPCB.EC0.GATY)
}
...