viviwxh 发表于 2021-6-25 06:15

DSDT怎么也改不动了出现——XOr (LLVL, One) 错误

Method (_L29, 0, Serialized)// _Lxx: Level-Triggered GPE
      {
            Name (_T_0, Zero)// _T_x: Emitted by ASL Compiler
            Sleep (0xFA)
            Store (One, LIDF)
            Notify (\_SB.FEXT, 0x80)
            If (LNot (SKPF))
            {
                Store (LLVL, LLV2)
                \_SB.PCI0.GFX0.GLID
                XOr (LLVL, One)
                Store (LLVL, LCDS)
                Notify (\_SB.LID, 0x80)
                Sleep (0x07D0)
                While (LNotEqual (LLVL, LLV2))
                {
                  Store (LLVL, LLV2)
                  \_SB.PCI0.GFX0.GLID
                  xOR (LLVL, One)
                  Store (LLVL, LCDS)
                  Notify (\_SB.LID, 0x80)
                  Sleep (0x07D0)
                }
            }
~~~~~~~~
出现xOR (LLVL, One)两次错误,小白新手一枚,只会用// 和/*。大神能帮改改吗?


viviwxh 发表于 2021-6-27 00:50

找了一个完美的efi参照同样字段,原来需要加()来解决

viviwxh 发表于 2021-7-3 01:38

在论坛中闲逛,发现有网友贴了一段dsdt代码,闲来无事。源码是
Method (ADBG, 1, Serialized)
    {
      If (CondRefOf (MDBG))
      {
            Return (MDBG)
            Arg0
      }
我的改法是,把第一个ADBG 改为MDBG。还是容易编译通过的。
用了这个 https://github.com/ic005k/QtiASL
页: [1]
查看完整版本: DSDT怎么也改不动了出现——XOr (LLVL, One) 错误