1、出現(xiàn)錯誤 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、出現(xiàn)錯誤 6215 Error parse error ,
解決方法: 在6215行看一下,結果出現(xiàn)很多行Zero ,把這些Zero行全部刪除即可
#### 3、出現(xiàn)錯誤 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、出現(xiàn)錯誤 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、出現(xiàn) 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、出現(xiàn)錯誤
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、出現(xiàn) 3128 Warning Possible operator timeout is ignored
解決方法: 將 Acquire (MUT0, 0x0FFF)中的0x0FFF替換成0xFFFF
#### 8、出現(xiàn)錯誤: 7880 Error parse error, expecting `'(''
解決方法方法:
將下列代碼中的
````If (CondRefOf (\_SB.PCI0.XHC.PS0X))
{
PS0X
}````
中的PS0X替換成PS0X()
#### 9、出現(xiàn)錯誤: 7880 Error parse error, expecting `'(''
解決方法方法:
將下列代碼中的
````If (CondRefOf (\_SB.PCI0.XHC.PS3X))
{
PS3X
}````
中的PS3X替換成PS3X()
#### 10、出現(xiàn) 錯誤:
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、出現(xiàn)錯誤 10144 Error parse error
解決方法: 將下列代碼
```` If (CondRefOf (MDBG))
{
Return (MDBG)
Arg0
}````
中的Arg0刪除
至此所有的錯誤修改完畢,下面開始修改警告
#### 12、出現(xiàn)警告 7542 Warning Unknown reserved name (_DEP)
解決方法: 將所有的_DEP 替換成DEP
#### 13、出現(xiàn)警告 : 8052 Warning Called method may not always return a value
解決方法: 查找PR2S 方法,在方法末尾添加Return (Zero)
#### 14、出現(xiàn)警告
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、出現(xiàn)警告
7553 Remark Effective AML package length is zero
9060 Remark Effective AML package length is zero
解決方法:
將Return (Package (0x00) {}) 中的0x00替換成0xFF
#### 16、出現(xiàn)警告 12907 Remark Effective AML buffer length is zero
解決方法:
將Name (XMPT, Buffer (0x0000) {}) 中的0x0000替換成0xFFFF
至此DSDT 全部修改完成。