本帖最后由 gordongg123 于 2016-3-30 20:35 编辑
我看见很少人提到这个dsdt的改法,我就在这唠叨几句:这个是给笔记本用的。
下面的更改都在Device (ATKD) 下进行
键盘背光: 警告:由于每个笔记本的dsdt会有略微的不同,请先搜索SLKB,如果有,先看看这个方法里的”^^PCI0.LPCB.EC0.WRAM (0xxxx, Local1)“,复制下来,替换掉下面代码相同的字段。 Name (BOFF, Zero) Method (SKBL, 1, NotSerialized) { If (Or (LEqual (Arg0, 0xED), LEqual (Arg0, 0xFD))) { If (And (LEqual (Arg0, 0xED), LEqual (BOFF, 0xEA))) { Store (Zero, Local0) Store (Arg0, BOFF) } Else { If (And (LEqual (Arg0, 0xFD), LEqual (BOFF, 0xFA))) { Store (Zero, Local0) Store (Arg0, BOFF) } Else { Return (BOFF) } } } Else { If (Or (LEqual (Arg0, 0xEA), LEqual (Arg0, 0xFA))) { Store (KBLV, Local0) Store (Arg0, BOFF) } Else { Store (Arg0, Local0) Store (Arg0, KBLV) } }
Store (DerefOf (Index (PWKB, Local0)), Local1) //这里就是可能需要替换的地方 ^^PCI0.LPCB.EC0.WRAM (0x04B1, Local1) // Haswell/Ivy //如果你的CPU是Sandy Bridge系列的,请把这一行删掉,把下面那行前面的两个//删掉 //^^PCI0.LPCB.EC0.WRAM (0x044B, Local1) // Sandy/Ivy Return (Local0) }
Method (GKBL, 1, NotSerialized) { If (LEqual (Arg0, 0xFF)) { Return (BOFF) }
Return (KBLV) }
F5、F6调整亮度的dsdt代码(有的话删掉他,补上这一段,别手软): Method (_Q0E, 0, NotSerialized) { If (ATKP) { \_SB.ATKD.IANE (0x20) //注意:如果加了没效果,尝试修改成 Notify (ATKD, 0xXX), 下面一样 } } Method (_Q0F, 0, NotSerialized) { If (ATKP) { \_SB.ATKD.IANE (0x10) } }
翻译自: http://forum.osxlatitude.com/index.php?/topic/1968-fn-hotkey-and-als-sensor-driver-for-asus-notebooks/
http://forum.osxlatitude.com/index.php?/topic/5966-details-about-the-smart-touchpad-driver-features/page-2#entry32299
最后,附上最新的2.5版本(请支持原作者):
|