dsdt错误求助 添加DTGP函數 Object does not exist(DTGP)
本帖最后由 miao-sang 于 2013-11-8 20:53 编辑和下面帖子一样
https://bbs.pcbeta.com/viewthread-1082722-1-1.html
准备丢掉null so。。。。。。
搜索 0x001F0000 加入下面的
Device (PX40)
{
Name (_ADR, 0x001F0000)
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"device-id",
Buffer (0x04)
{
0x16, 0x29, 0x00, 0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
OperationRegion (PREV, PCI_Config, 0x08, One)
Scope (¥)
{
Field (¥_SB.PCI0.PX40.PREV, ByteAcc, NoLock, Preserve)
{
REV0, 8
}
}
然后就是但遇到错误Object does not exist(DTGP)
dsdt少了DTGP函數 貌似需要在开头处追加DTGP method
求解具体怎么添加DTGP函数
已解决 求删帖
开头加入。。。。
Method (DTGP, 5, NotSerialized)
{
If (LEqual (Arg0, Buffer (0x10)
{
/* 0000 */ 0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44,
/* 0008 */ 0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B
}))
{
If (LEqual (Arg1, One))
{
If (LEqual (Arg2, Zero))
{
Store (Buffer (One)
{
0x03
}, Arg4)
Return (One)
}
If (LEqual (Arg2, One))
{
Return (One)
}
}
}
Store (Buffer (One)
{
0x00
}, Arg4)
Return (Zero)
}已解决 求删帖
本帖最后由 miao-sang 于 2013-11-7 19:53 编辑
忘了上传我的dsl文件了
哎,我都不知道DSDT是干什么的 求删帖。。。。
页:
[1]