华硕R556LD笔记本,X555主板,ALC233声卡,基本完美。触摸板和电量未解决
已经用了一周时间了,没发现其他bug。触摸板只能单指,电量不显示。有需要驱动的朋友留言,我发给你。不过看样子,我这个机型比较冷门,应该没人需要
如果有朋友能解决电量和触摸板的问题,非常希望能帮助我一下 #Maintained by: RehabMan for: Laptop Patches
#battery_ASUS-G75vw.txt
# created by Zackptg5 1/2014
# modified by RehabMan 2014-11-24
# works for:
#ASUS G75vw
#ASUS S400
#ASUS G750 JW (probably works for Asus G750 JX and JH also)
#ASUS PRO PU401LA
#ASUS K56CM
#ASUS Q550LF
#ASUS X450C
#ASUS X83vm-x1
#ASUS F550L
#ASUS N551 (per shutt1e)
#ASUS T300LA-DH51T (per maromi)
#ASUS X551CA
#ASUS G51Jx-a1 (per elkis75)
#ASUS A555LD
#ASUS X751LD (per tj3000)
#ASUS G771JM (per ouija)
#ASUS F3SV (per conath)
#ASUS R510JK (per renardn)
#Convert 16 bit to 8 bit registers
into device label EC0 code_regex TAH0,\s+16, replace_matched begin AH00,8,AH01,8, end;
into device label EC0 code_regex TAH1,\s+16, replace_matched begin AH10,8,AH11,8, end;
into device label EC0 code_regex B0PN,\s+16, replace_matched begin B0P0,8,B0P1,8, end;
into device label EC0 code_regex B0VL,\s+16, replace_matched begin B0V0,8,B0V1,8, end;
into device label EC0 code_regex B0RC,\s+16, replace_matched begin B0R0,8,B0R1,8, end;
into device label EC0 code_regex B0FC,\s+16, replace_matched begin B0F0,8,B0F1,8, end;
into device label EC0 code_regex B0MD,\s+16, replace_matched begin B0M0,8,B0M1,8, end;
into device label EC0 code_regex B0ST,\s+16, replace_matched begin B0S0,8,B0S1,8, end;
into device label EC0 code_regex B0CC,\s+16, replace_matched begin B0C0,8,B0C1,8, end;
into device label EC0 code_regex B0DC,\s+16, replace_matched begin B0D0,8,B0D1,8, end;
into device label EC0 code_regex B0DV,\s+16, replace_matched begin B0D2,8,B0D3,8, end;
into device label EC0 code_regex B0TM,\s+16, replace_matched begin B0T0,8,B0T1,8, end;
into device label EC0 code_regex B0C1,\s+16, replace_matched begin B010,8,B011,8, end;
into device label EC0 code_regex B0C2,\s+16, replace_matched begin B020,8,B021,8, end;
into device label EC0 code_regex B0C3,\s+16, replace_matched begin B030,8,B031,8, end;
into device label EC0 code_regex B0C4,\s+16, replace_matched begin B040,8,B041,8, end;
into device label EC0 code_regex B1PN,\s+16, replace_matched begin B1P0,8,B1P1,8, end;
into device label EC0 code_regex B1VL,\s+16, replace_matched begin B1V0,8,B1V1,8, end;
into device label EC0 code_regex B1RC,\s+16, replace_matched begin B1R0,8,B1R1,8, end;
into device label EC0 code_regex B1FC,\s+16, replace_matched begin B1F0,8,B1F1,8, end;
into device label EC0 code_regex B1MD,\s+16, replace_matched begin B1M0,8,B1M1,8, end;
into device label EC0 code_regex B1ST,\s+16, replace_matched begin B1S0,8,B1S1,8, end;
into device label EC0 code_regex B1CC,\s+16, replace_matched begin B1C0,8,B1C1,8, end;
into device label EC0 code_regex B1DC,\s+16, replace_matched begin B1D0,8,B1D1,8, end;
into device label EC0 code_regex B1DV,\s+16, replace_matched begin B1D2,8,B1D3,8, end;
into device label EC0 code_regex B1TM,\s+16, replace_matched begin B1T0,8,B1T1,8, end;
into device label EC0 code_regex B1C1,\s+16, replace_matched begin B110,8,B111,8, end;
into device label EC0 code_regex B1C2,\s+16, replace_matched begin B120,8,B121,8, end;
into device label EC0 code_regex B1C3,\s+16, replace_matched begin B130,8,B131,8, end;
into device label EC0 code_regex B1C4,\s+16, replace_matched begin B140,8,B141,8, end;
into device label EC0 code_regex B0SN,\s+16, replace_matched begin B0N0,8,B0N1,8, end;
into device label EC0 code_regex B1SN,\s+16 replace_matched begin B1N0,8,B1N1,8, end;
into device label EC0 code_regex DT2B,\s+16 replace_matched begin T2B0,8,T2B1,8, end;
into device label EC0 code_regex B1DV,\s+16 replace_matched begin B1D2,8,B1D3,8 end;
#Create B1B2 Method
into method label B1B2 remove_entry;
into definitionblock code_regex . insert
begin
Method (B1B2, 2, NotSerialized) { Return(Or(Arg0, ShiftLeft(Arg1, 8))) }\n
end;
#Fix 16 bit registers
into method label TACH code_regex \(TAH0, replaceall_matched begin (B1B2(AH00,AH01), end;
into method label TACH code_regex \(TAH1, replaceall_matched begin (B1B2(AH10,AH11), end;
into method label BIFA code_regex \(B0SN, replaceall_matched begin (B1B2(B0N0,B0N1), end;
into method label BIFA code_regex \(B1SN, replaceall_matched begin (B1B2(B1N0,B1N1), end;
into method label SMBR code_regex \(DT2B, replaceall_matched begin (B1B2(T2B0,T2B1), end;
into method label SMBW code_regex Store\s+\((.*),\s+DT2B\) replace_matched
begin
Store(%1, T2B0) Store(ShiftRight(%1,8), T2B1)
end;
#And more...
into_all method code_regex \(B0MD, replaceall_matched begin (B1B2(B0M0,B0M1), end;
into_all method code_regex \(B1MD, replaceall_matched begin (B1B2(B1M0,B1M1), end;
into_all method code_regex \(B0DC, replaceall_matched begin (B1B2(B0D0,B0D1), end;
into_all method code_regex \(B1DC, replaceall_matched begin (B1B2(B1D0,B1D1), end;
into_all method code_regex \(B0FC, replaceall_matched begin (B1B2(B0F0,B0F1), end;
into_all method code_regex \(B1FC, replaceall_matched begin (B1B2(B1F0,B1F1), end;
into_all method code_regex \(B0DV, replaceall_matched begin (B1B2(B0D2,B0D3), end;
into_all method code_regex \(B1DV, replaceall_matched begin (B1B2(B1D2,B1D3), end;
into_all method code_regex \(B0ST, replaceall_matched begin (B1B2(B0S0,B0S1), end;
into_all method code_regex \(B1ST, replaceall_matched begin (B1B2(B1S0,B1S1), end;
into_all method code_regex \(B0CC, replaceall_matched begin (B1B2(B0C0,B0C1), end;
into_all method code_regex \(B1CC, replaceall_matched begin (B1B2(B1C0,B1C1), end;
into_all method code_regex \(B0RC, replaceall_matched begin (B1B2(B0R0,B0R1), end;
into_all method code_regex \(B1RC, replaceall_matched begin (B1B2(B1R0,B1R1), end;
into_all method code_regex \(B0VL, replaceall_matched begin (B1B2(B0V0,B0V1), end;
into_all method code_regex \(B1VL, replaceall_matched begin (B1B2(B1V0,B1V1), end;
into method label WMNB code_regex \(\^\^PCI0\.LPCB\.EC0\.B0RC, replaceall_matched begin (B1B2(^^PCI0.LPCB.EC0.B0R0,^^PCI0.LPCB.EC0.B0R1), end;
into method label WMNB code_regex \(\^\^PCI0\.LPCB\.EC0\.B1RC, replaceall_matched begin (B1B2(^^PCI0.LPCB.EC0.B1R0,^^PCI0.LPCB.EC0.B1R1), end;
into method label WMNB code_regex \^\^PCI0\.LPCB\.EC0\.B1RC\), replaceall_matched begin B1B2(^^PCI0.LPCB.EC0.B1R0,^^PCI0.LPCB.EC0.B1R1)), end;
into method label WMNB code_regex \(\^\^PCI0\.LPCB\.EC0\.B0DV, replaceall_matched begin (B1B2(^^PCI0.LPCB.EC0.B0D0,^^PCI0.LPCB.EC0.B0D1), end;
into method label WMNB code_regex \(\^\^PCI0\.LPCB\.EC0\.B1DV, replaceall_matched begin (B1B2(^^PCI0.LPCB.EC0.B1D0,^^PCI0.LPCB.EC0.B1D1), end;
into method label WMNB code_regex \^\^PCI0\.LPCB\.EC0\.B1DV\), replaceall_matched begin B1B2(^^PCI0.LPCB.EC0.B1D0,^^PCI0.LPCB.EC0.B1D1)), end;
into method label WMNB code_regex \(\^\^PCI0\.LPCB\.EC0\.B0FC, replaceall_matched begin (B1B2(^^PCI0.LPCB.EC0.B0F0,^^PCI0.LPCB.EC0.B0F1), end;
into method label WMNB code_regex \(\^\^PCI0\.LPCB\.EC0\.B1FC, replaceall_matched begin (B1B2(^^PCI0.LPCB.EC0.B1F0,^^PCI0.LPCB.EC0.B1F1), end;
into method label WMNB code_regex \^\^PCI0\.LPCB\.EC0\.B1FC\), replaceall_matched begin B1B2(^^PCI0.LPCB.EC0.B1F0,^^PCI0.LPCB.EC0.B1F1)), end;
into_all method code_regex \^\^LPCB\.EC0\.B0DV, replaceall_matched begin B1B2(^^LPCB.EC0.B0D2,^^LPCB.EC0.B0D3), end;
into_all method code_regex \^\^LPCB\.EC0\.B1DV, replaceall_matched begin B1B2(^^LPCB.EC0.B1D2,^^LPCB.EC0.B1D3), end;
# added for T300LA-DH51T
into method label OLPM code_regex \(\\_SB\.PCI0\.LPCB\.EC0\.B0DC, replace_matched begin (B1B2(\\_SB.PCI0.LPCB.EC0.B0D0,\\_SB.PCI0.LPCB.EC0.B0D1), end;
#G750JW requires this fix to compile
into method label _BIX code_regex \(\^\^LPCB\.EC0\.B0C3, replaceall_matched begin (B1B2(^^LPCB.EC0.B030,^^LPCB.EC0.B031), end;
#Change name of 256 bit registers
into device label EC0 code_regex BDAT,\s+256, replace_matched begin BDAX, 256, end;
into device label EC0 code_regex BDA2,\s+256, replace_matched begin BDAY, 256, end;
# utility methods to read/write buffers from/to EC
into method label RE1B parent_label EC0 remove_entry;
into method label RECB parent_label EC0 remove_entry;
into device label EC0 insert
begin
Method (RE1B, 1, NotSerialized)\n
{\n
OperationRegion(ERAM, EmbeddedControl, Arg0, 1)\n
Field(ERAM, ByteAcc, NoLock, Preserve) { BYTE, 8 }\n
Return(BYTE)\n
}\n
Method (RECB, 2, Serialized)\n
{\n
ShiftRight(Arg1, 3, Arg1)\n
Name(TEMP, Buffer(Arg1) { })\n
Add(Arg0, Arg1, Arg1)\n
Store(0, Local0)\n
While (LLess(Arg0, Arg1))\n
{\n
Store(RE1B(Arg0), Index(TEMP, Local0))\n
Increment(Arg0)\n
Increment(Local0)\n
}\n
Return(TEMP)\n
}\n
end;
#utility method to write to EC buffers
into method label WE1B parent_label EC0 remove_entry;
into method label WECB parent_label EC0 remove_entry;
into device label EC0 insert
begin
Method (WE1B, 2, NotSerialized)\n
{\n
OperationRegion(ERAM, EmbeddedControl, Arg0, 1)\n
Field(ERAM, ByteAcc, NoLock, Preserve) { BYTE, 8 }\n
Store(Arg1, BYTE)\n
}\n
Method (WECB, 3, Serialized)\n
{\n
ShiftRight(Arg1, 3, Arg1)\n
Name(TEMP, Buffer(Arg1) { })\n
Store(Arg2, TEMP)\n
Add(Arg0, Arg1, Arg1)\n
Store(0, Local0)\n
While (LLess(Arg0, Arg1))\n
{\n
WE1B(Arg0, DerefOf(Index(TEMP, Local0)))\n
Increment(Arg0)\n
Increment(Local0)\n
}\n
}\n
end;
#Note: offsets are based on actual DSDT.Please verify if you have a different model.
#fix 256 bit registers
into method label SMBR code_regex Store\s+\((.*),\s+BDAT\) replaceall_matched begin WECB(0x1c,256,%1) end;
into method label SMBW code_regex Store\s+\((.*),\s+BDAT\) replaceall_matched begin WECB(0x1c,256,%1) end;
into method label ECSB code_regex Store\s+\((.*),\s+BDAT\) replaceall_matched begin WECB(0x1c,256,%1) end;
into method label ECSB code_regex Store\s+\((.*),\s+BDA2\) replaceall_matched begin WECB(0x44,256,%1) end;
into method label ECSB code_regex \(BDAT, replaceall_matched begin (RECB(0x1c,256), end;
into method label ECSB code_regex \(BDA2, replaceall_matched begin (RECB(0x44,256), end;
into method label SMBR code_regex \(BDAT, replaceall_matched begin (RECB(0x1c,256), end;
#fix logic error in some newer ASUS DSDTs (issue #23)
into method label FBST code_regex If\s\(CHGS\s\(Zero\)\)[\s]+\{[\s]+Store\s\(0x02,\sLocal0\)[\s]+\}[\s]+Else[\s]+\{[\s]+Store\s\(One,\sLocal0\)[\s]+\} replaceall_matched
begin
If (CHGS (Zero))\n
{\n
Store (0x02, Local0)\n
}\n
Else\n
{\n
Store (Zero, Local0)\n
}
end;
电池可以尝试一下 这个但是不保证可以
或者这个
#Maintained by: RehabMan for: Laptop Patches
#battery_ASUS-G75vw.txt
# created by Zackptg5 1/2014
# modified by RehabMan 2014-11-24
# works for:
#ASUS G75vw
#ASUS S400
#ASUS G750 JW (probably works for Asus G750 JX and JH also)
#ASUS PRO PU401LA
#ASUS K56CM
#ASUS Q550LF
#ASUS X450C
#ASUS X83vm-x1
#ASUS F550L
#ASUS N551 (per shutt1e)
#ASUS T300LA-DH51T (per maromi)
#ASUS X551CA
#ASUS G51Jx-a1 (per elkis75)
#ASUS A555LD
#ASUS X751LD (per tj3000)
#ASUS G771JM (per ouija)
#ASUS F3SV (per conath)
#ASUS R510JK (per renardn)
#Convert 16 bit to 8 bit registers
into device label EC0 code_regex TAH0,\s+16, replace_matched begin AH00,8,AH01,8, end;
into device label EC0 code_regex TAH1,\s+16, replace_matched begin AH10,8,AH11,8, end;
into device label EC0 code_regex B0PN,\s+16, replace_matched begin B0P0,8,B0P1,8, end;
into device label EC0 code_regex B0VL,\s+16, replace_matched begin B0V0,8,B0V1,8, end;
into device label EC0 code_regex B0RC,\s+16, replace_matched begin B0R0,8,B0R1,8, end;
into device label EC0 code_regex B0FC,\s+16, replace_matched begin B0F0,8,B0F1,8, end;
into device label EC0 code_regex B0MD,\s+16, replace_matched begin B0M0,8,B0M1,8, end;
into device label EC0 code_regex B0ST,\s+16, replace_matched begin B0S0,8,B0S1,8, end;
into device label EC0 code_regex B0CC,\s+16, replace_matched begin B0C0,8,B0C1,8, end;
into device label EC0 code_regex B0DC,\s+16, replace_matched begin B0D0,8,B0D1,8, end;
into device label EC0 code_regex B0DV,\s+16, replace_matched begin B0D2,8,B0D3,8, end;
into device label EC0 code_regex B0TM,\s+16, replace_matched begin B0T0,8,B0T1,8, end;
into device label EC0 code_regex B0C1,\s+16, replace_matched begin B010,8,B011,8, end;
into device label EC0 code_regex B0C2,\s+16, replace_matched begin B020,8,B021,8, end;
into device label EC0 code_regex B0C3,\s+16, replace_matched begin B030,8,B031,8, end;
into device label EC0 code_regex B0C4,\s+16, replace_matched begin B040,8,B041,8, end;
into device label EC0 code_regex B1PN,\s+16, replace_matched begin B1P0,8,B1P1,8, end;
into device label EC0 code_regex B1VL,\s+16, replace_matched begin B1V0,8,B1V1,8, end;
into device label EC0 code_regex B1RC,\s+16, replace_matched begin B1R0,8,B1R1,8, end;
into device label EC0 code_regex B1FC,\s+16, replace_matched begin B1F0,8,B1F1,8, end;
into device label EC0 code_regex B1MD,\s+16, replace_matched begin B1M0,8,B1M1,8, end;
into device label EC0 code_regex B1ST,\s+16, replace_matched begin B1S0,8,B1S1,8, end;
into device label EC0 code_regex B1CC,\s+16, replace_matched begin B1C0,8,B1C1,8, end;
into device label EC0 code_regex B1DC,\s+16, replace_matched begin B1D0,8,B1D1,8, end;
into device label EC0 code_regex B1DV,\s+16, replace_matched begin B1D2,8,B1D3,8, end;
into device label EC0 code_regex B1TM,\s+16, replace_matched begin B1T0,8,B1T1,8, end;
into device label EC0 code_regex B1C1,\s+16, replace_matched begin B110,8,B111,8, end;
into device label EC0 code_regex B1C2,\s+16, replace_matched begin B120,8,B121,8, end;
into device label EC0 code_regex B1C3,\s+16, replace_matched begin B130,8,B131,8, end;
into device label EC0 code_regex B1C4,\s+16, replace_matched begin B140,8,B141,8, end;
into device label EC0 code_regex B0SN,\s+16, replace_matched begin B0N0,8,B0N1,8, end;
into device label EC0 code_regex B1SN,\s+16 replace_matched begin B1N0,8,B1N1,8, end;
into device label EC0 code_regex DT2B,\s+16 replace_matched begin T2B0,8,T2B1,8, end;
into device label EC0 code_regex B1DV,\s+16 replace_matched begin B1D2,8,B1D3,8 end;
#Create B1B2 Method
into method label B1B2 remove_entry;
into definitionblock code_regex . insert
begin
Method (B1B2, 2, NotSerialized) { Return(Or(Arg0, ShiftLeft(Arg1, 8))) }\n
end;
#Fix 16 bit registers
into method label TACH code_regex \(TAH0, replaceall_matched begin (B1B2(AH00,AH01), end;
into method label TACH code_regex \(TAH1, replaceall_matched begin (B1B2(AH10,AH11), end;
into method label BIFA code_regex \(B0SN, replaceall_matched begin (B1B2(B0N0,B0N1), end;
into method label BIFA code_regex \(B1SN, replaceall_matched begin (B1B2(B1N0,B1N1), end;
into method label SMBR code_regex \(DT2B, replaceall_matched begin (B1B2(T2B0,T2B1), end;
into method label SMBW code_regex Store\s+\((.*),\s+DT2B\) replace_matched
begin
Store(%1, T2B0) Store(ShiftRight(%1,8), T2B1)
end;
#And more...
into_all method code_regex \(B0MD, replaceall_matched begin (B1B2(B0M0,B0M1), end;
into_all method code_regex \(B1MD, replaceall_matched begin (B1B2(B1M0,B1M1), end;
into_all method code_regex \(B0DC, replaceall_matched begin (B1B2(B0D0,B0D1), end;
into_all method code_regex \(B1DC, replaceall_matched begin (B1B2(B1D0,B1D1), end;
into_all method code_regex \(B0FC, replaceall_matched begin (B1B2(B0F0,B0F1), end;
into_all method code_regex \(B1FC, replaceall_matched begin (B1B2(B1F0,B1F1), end;
into_all method code_regex \(B0DV, replaceall_matched begin (B1B2(B0D2,B0D3), end;
into_all method code_regex \(B1DV, replaceall_matched begin (B1B2(B1D2,B1D3), end;
into_all method code_regex \(B0ST, replaceall_matched begin (B1B2(B0S0,B0S1), end;
into_all method code_regex \(B1ST, replaceall_matched begin (B1B2(B1S0,B1S1), end;
into_all method code_regex \(B0CC, replaceall_matched begin (B1B2(B0C0,B0C1), end;
into_all method code_regex \(B1CC, replaceall_matched begin (B1B2(B1C0,B1C1), end;
into_all method code_regex \(B0RC, replaceall_matched begin (B1B2(B0R0,B0R1), end;
into_all method code_regex \(B1RC, replaceall_matched begin (B1B2(B1R0,B1R1), end;
into_all method code_regex \(B0VL, replaceall_matched begin (B1B2(B0V0,B0V1), end;
into_all method code_regex \(B1VL, replaceall_matched begin (B1B2(B1V0,B1V1), end;
into method label WMNB code_regex \(\^\^PCI0\.LPCB\.EC0\.B0RC, replaceall_matched begin (B1B2(^^PCI0.LPCB.EC0.B0R0,^^PCI0.LPCB.EC0.B0R1), end;
into method label WMNB code_regex \(\^\^PCI0\.LPCB\.EC0\.B1RC, replaceall_matched begin (B1B2(^^PCI0.LPCB.EC0.B1R0,^^PCI0.LPCB.EC0.B1R1), end;
into method label WMNB code_regex \^\^PCI0\.LPCB\.EC0\.B1RC\), replaceall_matched begin B1B2(^^PCI0.LPCB.EC0.B1R0,^^PCI0.LPCB.EC0.B1R1)), end;
into method label WMNB code_regex \(\^\^PCI0\.LPCB\.EC0\.B0DV, replaceall_matched begin (B1B2(^^PCI0.LPCB.EC0.B0D0,^^PCI0.LPCB.EC0.B0D1), end;
into method label WMNB code_regex \(\^\^PCI0\.LPCB\.EC0\.B1DV, replaceall_matched begin (B1B2(^^PCI0.LPCB.EC0.B1D0,^^PCI0.LPCB.EC0.B1D1), end;
into method label WMNB code_regex \^\^PCI0\.LPCB\.EC0\.B1DV\), replaceall_matched begin B1B2(^^PCI0.LPCB.EC0.B1D0,^^PCI0.LPCB.EC0.B1D1)), end;
into method label WMNB code_regex \(\^\^PCI0\.LPCB\.EC0\.B0FC, replaceall_matched begin (B1B2(^^PCI0.LPCB.EC0.B0F0,^^PCI0.LPCB.EC0.B0F1), end;
into method label WMNB code_regex \(\^\^PCI0\.LPCB\.EC0\.B1FC, replaceall_matched begin (B1B2(^^PCI0.LPCB.EC0.B1F0,^^PCI0.LPCB.EC0.B1F1), end;
into method label WMNB code_regex \^\^PCI0\.LPCB\.EC0\.B1FC\), replaceall_matched begin B1B2(^^PCI0.LPCB.EC0.B1F0,^^PCI0.LPCB.EC0.B1F1)), end;
into_all method code_regex \^\^LPCB\.EC0\.B0DV, replaceall_matched begin B1B2(^^LPCB.EC0.B0D2,^^LPCB.EC0.B0D3), end;
into_all method code_regex \^\^LPCB\.EC0\.B1DV, replaceall_matched begin B1B2(^^LPCB.EC0.B1D2,^^LPCB.EC0.B1D3), end;
# added for T300LA-DH51T
into method label OLPM code_regex \(\\_SB\.PCI0\.LPCB\.EC0\.B0DC, replace_matched begin (B1B2(\\_SB.PCI0.LPCB.EC0.B0D0,\\_SB.PCI0.LPCB.EC0.B0D1), end;
#G750JW requires this fix to compile
into method label _BIX code_regex \(\^\^LPCB\.EC0\.B0C3, replaceall_matched begin (B1B2(^^LPCB.EC0.B030,^^LPCB.EC0.B031), end;
#Change name of 256 bit registers
into device label EC0 code_regex BDAT,\s+256, replace_matched begin BDAX, 256, end;
into device label EC0 code_regex BDA2,\s+256, replace_matched begin BDAY, 256, end;
# utility methods to read/write buffers from/to EC
into method label RE1B parent_label EC0 remove_entry;
into method label RECB parent_label EC0 remove_entry;
into device label EC0 insert
begin
Method (RE1B, 1, NotSerialized)\n
{\n
OperationRegion(ERAM, EmbeddedControl, Arg0, 1)\n
Field(ERAM, ByteAcc, NoLock, Preserve) { BYTE, 8 }\n
Return(BYTE)\n
}\n
Method (RECB, 2, Serialized)\n
{\n
ShiftRight(Arg1, 3, Arg1)\n
Name(TEMP, Buffer(Arg1) { })\n
Add(Arg0, Arg1, Arg1)\n
Store(0, Local0)\n
While (LLess(Arg0, Arg1))\n
{\n
Store(RE1B(Arg0), Index(TEMP, Local0))\n
Increment(Arg0)\n
Increment(Local0)\n
}\n
Return(TEMP)\n
}\n
end;
#utility method to write to EC buffers
into method label WE1B parent_label EC0 remove_entry;
into method label WECB parent_label EC0 remove_entry;
into device label EC0 insert
begin
Method (WE1B, 2, NotSerialized)\n
{\n
OperationRegion(ERAM, EmbeddedControl, Arg0, 1)\n
Field(ERAM, ByteAcc, NoLock, Preserve) { BYTE, 8 }\n
Store(Arg1, BYTE)\n
}\n
Method (WECB, 3, Serialized)\n
{\n
ShiftRight(Arg1, 3, Arg1)\n
Name(TEMP, Buffer(Arg1) { })\n
Store(Arg2, TEMP)\n
Add(Arg0, Arg1, Arg1)\n
Store(0, Local0)\n
While (LLess(Arg0, Arg1))\n
{\n
WE1B(Arg0, DerefOf(Index(TEMP, Local0)))\n
Increment(Arg0)\n
Increment(Local0)\n
}\n
}\n
end;
#Note: offsets are based on actual DSDT.Please verify if you have a different model.
#fix 256 bit registers
into method label SMBR code_regex Store\s+\((.*),\s+BDAT\) replaceall_matched begin WECB(0x1c,256,%1) end;
into method label SMBW code_regex Store\s+\((.*),\s+BDAT\) replaceall_matched begin WECB(0x1c,256,%1) end;
into method label ECSB code_regex Store\s+\((.*),\s+BDAT\) replaceall_matched begin WECB(0x1c,256,%1) end;
into method label ECSB code_regex Store\s+\((.*),\s+BDA2\) replaceall_matched begin WECB(0x44,256,%1) end;
into method label ECSB code_regex \(BDAT, replaceall_matched begin (RECB(0x1c,256), end;
into method label ECSB code_regex \(BDA2, replaceall_matched begin (RECB(0x44,256), end;
into method label SMBR code_regex \(BDAT, replaceall_matched begin (RECB(0x1c,256), end;
#fix logic error in some newer ASUS DSDTs (issue #23)
into method label FBST code_regex If\s\(CHGS\s\(Zero\)\)[\s]+\{[\s]+Store\s\(0x02,\sLocal0\)[\s]+\}[\s]+Else[\s]+\{[\s]+Store\s\(One,\sLocal0\)[\s]+\} replaceall_matched
begin
If (CHGS (Zero))\n
{\n
Store (0x02, Local0)\n
}\n
Else\n
{\n
Store (Zero, Local0)\n
}
end;
你的声卡怎么样?完美?电池驱动和触摸板我有,我的声卡很烂,外放ok,插耳机烂到大街 xuanqingda 发表于 2016-5-28 20:56 https://www.pcbeta.com/static/image/common/back.gif
你的声卡怎么样?完美?电池驱动和触摸板我有,我的声卡很烂,外放ok,插耳机烂到大街
声卡我用的万能驱动,我对音质没啥要求,也不用耳机,所以这个对我影响不大。另外,如果方便的话,能不能分享一下触摸板和电池的驱动? 我非常需要这个,谢谢 东风依秀 发表于 2016-5-28 21:30 https://www.pcbeta.com/static/image/common/back.gif
声卡我用的万能驱动,我对音质没啥要求,也不用耳机,所以这个对我影响不大。另外,如果方便的话,能不能 ...
不方便,,,,, 魔道逆天地 发表于 2016-5-28 21:48 https://www.pcbeta.com/static/image/common/back.gif
不方便,,,,,
好的,依然感谢。 电量是需要 DSDT 配合的,二楼已经给出了电池的 dsdt 补丁,触控板,可以用 ApplePS2SmartTouchPad 4.6
触控板驱动和电池驱动我有,给你好了。这种东西有什么不方便分享的那,真是不知道既然不方便分享,那他又是怎么从别人那里方便的搞到的那
不错多谢分享 关云长羽 发表于 2016-5-28 22:18 https://www.pcbeta.com/static/image/common/back.gif
触控板驱动和电池驱动我有,给你好了。这种东西有什么不方便分享的那,真是不知道既然不方便分享,那他又 ...
这个楼已经给出了。dsdt那里补进,就能显示电量了 支持楼主! 楼主你的声卡怎么驱动的,能发一下声卡驱动吗?我的alc233用各种驱动都不行。 谢谢分享啊啊 点赞,你成功了 学习学习 谢谢分享 亲你有华硕x555的四叶草配置文件吗我就配置不好要么卡死要么重启一直头疼装的是原版10.11.6 wo zhu ban ye shi x555l 求声卡驱动
页:
[1]
2