For this Asus model, it seems like _PS3 is the right method to call:
Method (_PS3, 0, NotSerialized)
{
Store (0xD3, DBG8)
If (LEqual (\OMPR, 0x03))
{
Store ("PS3: Driver wants to power off dGPU", Debug)
If (LEqual (DGPS, Zero))
{
Store (0xC3, DBG8)
\_SB.PCI0.LPCB.EC0.TSDS ()
\_SB.PCI0.PEGR.GFX0.DOFF ()
Store (One, DGPS)
Store (0xC4, DBG8)
}
Store (0x02, \OMPR)
Store ("PS3: OMPR=2 now", Debug)
}
Store (0x03, _PSC)
}
PS0 to power it on:
Method (_PS0, 0, NotSerialized)
{
Store (0xD0, DBG8)
Store (Zero, _PSC)
If (LNotEqual (DGPS, Zero))
{
Store ("PS0: Need to power on dGPU", Debug)
Store (0xC1, DBG8)
\_SB.PCI0.PEGR.GFX0.DON ()
Store (0xC2, DBG8)
Store (Zero, DGPS)
Store (Zero, \_SB.PCI0.PEGR.HDAE)
\_SB.PCI0.LPCB.EC0.TSES ()
}
}
_______________________________________________
Mailing list: https://launchpad.net/~hybrid-graphics-linux
Post to : [email protected]
Unsubscribe : https://launchpad.net/~hybrid-graphics-linux
More help : https://help.launchpad.net/ListHelp