1、出现错误 484 Error Object does not exist (LNKF)
解决方法: 在前面 DefinitionBlock (“dsdt.aml”, “DSDT”, 2, “ALASKA”, “A M I”, 0x00000088) 下的括号里添加
External (LNKA),即可解决,同样的类似的错误还需要添加
External (LNKC)
External (LNKD)
External (LNKF)
External (LNKG)
External (LNKH)
External (PICM)
External (LTRE)
External (OBFF)
External (LMSL)
External (LNSL)````
#### 2、出现错误 6215 Error parse error ,
解决方法: 在6215行看一下,结果出现很多行Zero ,把这些Zero行全部删除即可
#### 3、出现错误 Error Object not found or not accessible from scope
1999 Error Object not found or not accessible from scope ( XHC.CUID)
2001 Error Object not found or not accessible from scope ( XHC.POSC)
2009 Error Object not found or not accessible from scope ( XHC.XSEL)
解决方法:
头部添加:
````External (\_SB.PCI0.XHC.CUID,MethodObj)
External (\_SB.PCI0.XHC.POSC,MethodObj)
External (\_SB.PCI0.XHC.XSEL,MethodObj)````
#### 4、出现错误 Error Object does not exist
2031 Error Object does not exist (NHPG)
2035 Error Object does not exist (NPME)
3287 Error Object does not exist (RDMA)
3292 Error Object does not exist (RRIO)
3657 Error Object does not exist (GPRW)
解决方法:在头部添加
````External (GPRW,MethodObj)
External (RDMA,MethodObj)
External (RRIO,MethodObj)
External (NHPG,MethodObj)
External (NPME,MethodObj)````
#### 5、出现 4359 Remark Use of compiler reserved name (_T_1)
4360 Remark Use of compiler reserved name (_T_0)
类似的错误很多
解决方法: 把 _T_1换成T_1,把_T_0换成T_0即可
#### 6、出现错误
6232 Error Object does not exist (\_SB.PCI0.LPCB.SIOH)
13090 Error Object does not exist (\_SB.PCI0.LPCB.SPTS)
13091 Error Object does not exist (\_SB.PCI0.NPTS)
13097 Error Object does not exist (\_SB.PCI0.LPCB.SWAK)
13098 Error Object does not exist (\_SB.PCI0.NWAK)
解决方法: 在头部添加
````External (\_SB.PCI0.LPCB.SIOH, MethodObj)
External (\_SB.PCI0.LPCB.SPTS, MethodObj)
External (\_SB.PCI0.NPTS, MethodObj)
External (\_SB.PCI0.LPCB.SWAK, MethodObj)
Ex`ternal (\_SB.PCI0.NWAK, MethodObj)````
#### 7、出现 3128 Warning Possible operator timeout is ignored
解决方法: 将 Acquire (MUT0, 0x0FFF)中的0x0FFF替换成0xFFFF
#### 8、出现错误: 7880 Error parse error, expecting `'(''
解决方法方法:
将下列代码中的
````If (CondRefOf (\_SB.PCI0.XHC.PS0X))
{
PS0X
}````
中的PS0X替换成PS0X()
#### 9、出现错误: 7880 Error parse error, expecting `'(''
解决方法方法:
将下列代码中的
````If (CondRefOf (\_SB.PCI0.XHC.PS3X))
{
PS3X
}````
中的PS3X替换成PS3X()
#### 10、出现 错误:
7879 Error Not a control method, cannot invoke (PS0X is a Untyped)
7933 Error Not a control method, cannot invoke (PS3X is a Untyped)
这个错误是上面的连带错误
解决方法:
在头部有个
````External (PS3X, MethodObj) // 0 Arguments
External (PS0X, MethodObj) // 0 Arguments````
把这两句屏蔽掉
然后在把这两句
```` External (\_SB_.PCI0.XHC_.PS3X)
External (\_SB_.PCI0.XHC_.PS0X)````
修改成
````External (\_SB.PCI0.XHC.PS3X, MethodObj) // 0 Arguments
External (\_SB.PCI0.XHC.PS0X, MethodObj) // 0 Arguments````
#### 11、出现错误 10144 Error parse error
解决方法: 将下列代码
```` If (CondRefOf (MDBG))
{
Return (MDBG)
Arg0
}````
中的Arg0删除
至此所有的错误修改完毕,下面开始修改警告
#### 12、出现警告 7542 Warning Unknown reserved name (_DEP)
解决方法: 将所有的_DEP 替换成DEP
#### 13、出现警告 : 8052 Warning Called method may not always return a value
解决方法: 查找PR2S 方法,在方法末尾添加Return (Zero)
#### 14、出现警告
7775 Warning Not all control paths return a value (_PS0)
7886 Warning Not all control paths return a value (_PS3)
10618 Warning Not all control paths return a value (SPL1)
12537 Warning Not all control paths return a value (_HID)
解决方法: 查找PR2S 方法,在方法末尾添加Return (Zero)
#### 15、出现警告
7553 Remark Effective AML package length is zero
9060 Remark Effective AML package length is zero
解决方法:
将Return (Package (0x00) {}) 中的0x00替换成0xFF
#### 16、出现警告 12907 Remark Effective AML buffer length is zero
解决方法:
将Name (XMPT, Buffer (0x0000) {}) 中的0x0000替换成0xFFFF
至此DSDT 全部修改完成。