狼的旋律 发表于 2017-3-24 12:33

DSDT还有五个错误实在是搞不定了,求帮忙解决

用Clover提取了DSDT,然后,自己尝试着修改错误,一共14个,还有最后五个错误搞不定。SSDT里面的错误,我看的更晕了。dsdt中搞不定的错误 都在这一段:
9896, 6126, syntax error, unexpected PARSEOP_NAMESEG, expecting '('
9922, 6126, syntax error, unexpected PARSEOP_IF
9925, 6126, syntax error, unexpected PARSEOP_STORE
9927, 6126, syntax error, unexpected PARSEOP_STORE
9946, 6126, syntax error, unexpected PARSEOP_RETURN, expecting $end and premature End-Of-File

             Method (_CRS, 0, NotSerialized)// _CRS: Current Resource Settings
            {
                Name (RBUF, ResourceTemplate ()
                {
                  I2cSerialBusV2 (0x001C, ControllerInitiated, 0x00061A80,
                        AddressingMode7Bit, "\\_SB.PCI0.I2C0",
                        0x00, ResourceConsumer, , Exclusive,
                        )
                })
                Name (IRB0, ResourceTemplate ()
                {
                  Interrupt (ResourceConsumer, Level, ActiveLow, ExclusiveAndWake, ,, _Y3C)
                  {
                        0x00000025,
                  }
                })
                Name (IRB1, ResourceTemplate ()
                {
                  Interrupt (ResourceConsumer, Level, ActiveHigh, ExclusiveAndWake, ,, _Y3D)
                  {
                        0x00000025,
                  }
                })
                Name (IRB2, ResourceTemplate ()
                {
                  Interrupt (ResourceConsumer, Level, ActiveHigh, ExclusiveAndWake, ,, )
                  {
                        0x0000001E,
                  }
                })
                If (LOr (LOr (LEqual (BID, 0x80), LEqual (BID, 0x82)), LEqual (BID, 0x83)))
                {
                  CreateByteField (IRB0, \_SB.PCI0.I2C0.ACD0._CRS._Y3C._INT, VAL1)// _INT: Interrupts
                  Store (0x1E, VAL1)
                  CreateByteField (IRB1, \_SB.PCI0.I2C0.ACD0._CRS._Y3D._INT, VAL3)// _INT: Interrupts
                   Store (0x1E, VAL3)
                }

                If (LEqual (CODS, Zero))
                {
                  Return (ConcatenateResTemplate (RBUF, IRB0))
                }
                ElseIf (LEqual (CODS, One))

                  If (LEqual (BID, 0x31))
                  {
                        Return (ConcatenateResTemplate (RBUF, IRB2))
                  }
                  Else
                  {
                        Return (ConcatenateResTemplate (RBUF, IRB1))
                  }
                }

                Return (RBUF)
            }


改DSDT的时候,参照daxuexinsheng的帖子联合DSDT和SSDT进行反编译——减少DSDT和SSDT错误的尝试,使用MaciASL修改反编译的dsl文件。原始aml文件以及我修改过的dsl文件: 第一次尝试修改DSDT,请大神提供下思路或者可以解决问题的帖子链接,水平太低,自己在论坛里搜出来的结果,实在是搞不定。

狼的旋律 发表于 2017-3-24 21:54

自己顶一下!

limurphy 发表于 2017-3-24 22:07


iasl = 6.1 只改錯誤,補丁自己處理。

狼的旋律 发表于 2017-3-24 22:24

limurphy 发表于 2017-3-24 22:07 https://www.pcbeta.com/static/image/common/back.gif
iasl = 6.1 只改錯誤,補丁自己處理。

谢谢!!!

大神,我的另一个帖子,能帮我看看吗? https://bbs.pcbeta.com/viewthread-1736179-1-1.html

tianhaokill 发表于 2019-12-20 14:22

谢谢分享 不错
页: [1]
查看完整版本: DSDT还有五个错误实在是搞不定了,求帮忙解决