教程正文
打开你的DSDT.AML文件并查找 Method (_PTS, 1, NotSerialized)
你看到以下代码:
Method (_PTS, 1, NotSerialized) { If (LEqual (Arg0, 0x03)) { Store (0x53, P80H) } And (GIO0, 0xFFFFDFFF, GIO0) If (LEqual (Arg0, 0x04)) { Store (0x54, P80H) CMSW (0x6E, 0x6E) } Or (GPL0, 0x01000000, GPL0) Or (GPL1, 0x0100, GPL1) Return (Zero) }
在第一行
Method (_PTS, 1, NotSerialized)
下面添加
{ If (LEqual (Arg0, 0x05)) {} Else
在收尾代码最后面加一个
}
修改完成后
Method (_PTS, 1, NotSerialized) { If (LEqual (Arg0, 0x05)) {} Esle { If (LEqual (Arg0, 0x03)) { Store (0x53, P80H) } And (GIO0, 0xFFFFDFFF, GIO0) If (LEqual (Arg0, 0x04)) { Store (0x54, P80H) CMSW (0x6E, 0x6E) } Or (GPL0, 0x01000000, GPL0) Or (GPL1, 0x0100, GPL1) Return (Zero) } }
备注解释
添加的代码完整段是这样的
Method (_PTS, 1, NotSerialized) { If (LEqual (Arg0, 0x05)) {} Else { ... original codes... } }
微信公众号
扫一扫随时掌握最新动态

我的微信
官方微博
扫一扫随时掌握最新动态

我的公众号
1F
登录回复
试一试怎么样