Jump to content

yandong31

Members
  • Posts

    3
  • Joined

  • Last visited

yandong31's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Method (_ON, 0, NotSerialized) // _ON_: Power On { M000 (0x30D0) M460 (" OEM-ASL-\\_SB.PCI0.GPP1.P0NV._ON\n", Zero, Zero, Zero, Zero, Zero, Zero) Store (G017, Local0) Store (0x02, Local2) Store (\PWGS (Zero), Local5) M460 (" OEM-ASL-\\_SB.PCI0.GPP1.P0NV._ON D3Cold = 0x%X WD3C First = 0x%X SI3V = 0x%X\n", Local0, WD3C, Local5, Zero, Zero, Zero) If (LEqual (Local0, One)) { PWEN () } If (LOr (LEqual (WD3C, One), LEqual (Local5, Zero))) { RPCF () Sleep (0x0A) If (CondRefOf (\UPWD)) { \UPWD () } Store (Zero, WD3C) } Store (One, D0NV) M000 (0x30D1) } Given that the variables G000 to G020 and three methods have been deleted in the cpvs section previously,Is it correct to modify this code as follows? Method (_ON, 0, NotSerialized) // _ON_: Power On { M000 (0x30D0) M460 (" OEM-ASL-\\_SB.PCI0.GPP1.P0NV._ON\n", Zero, Zero, Zero, Zero, Zero, Zero) Store (0x02, Local2) If (LEqual (WD3C, One)) { RPCF () Sleep (0x0A) Store (Zero, WD3C) } Store (One, D0NV) M000 (0x30D1) }
  2. I just tried to modify it manually following your post, but what should I do with this kind of code? G001 isn't even defined. I'm wondering if I should keep the content in the else block. If (LEqual (G001, One)) { M460 (" OEM-ASL-\\_SB.GPIO._AEI return BUNP (MS)\n", Zero, Zero, Zero, Zero, Zero, Zero) Return (BUNP) } Else { M460 (" OEM-ASL-\\_SB.GPIO._AEI return BUFF (S3)\n", Zero, Zero, Zero, Zero, Zero, Zero) Return (BUFF) } Attached is my original DSDT DSDT.aml.zip
  3. ycg31@ycg31deiMac-Pro ~ % python3 /Users/ycg31/Downloads/DSDT-Analysis-Tool-macOS-Linux/DSDT-Analysis-Tool-macOS-Linux.pyc RuntimeError: Bad magic number in .pyc file ycg31@ycg31deiMac-Pro ~ % Excuse me, how to solve the following error when using this tool。
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.