-->Donations via PayPal [External Link Removed for Guests] :guitar
-->Installation/Post Installation Tutorial [Local Link Removed for Guests]
-->Useful Links [Local Link Removed for Guests]
-->Olarila Images - Updated images [Local Link Removed for Guests]
-->Guides and Tutorials [Local Link Removed for Guests]
-->Clover Folder for All Chipsets [Local Link Removed for Guests]
-->DSDT Patch Requests [Local Link Removed for Guests]

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

User avatar
onemanosx
Olarila Staff
Olarila Staff
Posts: 1229
Joined: 03 Feb 2018, 05:42
CPU: Intel i7-6700HQ HM170 Chipset
Motherboard: Acer Aspire VN7-592G Laptop
GPU: Intel HD 530 + Nvidia GTX 960M

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by onemanosx » 13 Jan 2019, 03:30

ziomalex, I am using the patched DSDT from Maldon.
[External Link Removed for Guests]
[External Link Removed for Guests]

Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset
Intel i7-6700HQ, 8GB RAM (UEFI Clover Mojave)

MSI B360 Gaming Arctic
Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Mojave)

Gigabyte GA-Z68-D3H-B3 (Retired)
Intel i7-2600 16GB RAM Asus Radeon RX580 (UEFI Clover High Sierra)
ziomalex
Posts: 49
Joined: 16 Aug 2015, 14:18
CPU: intel i5-9600k
Motherboard: gigabyte z390 gaming x
GPU: rx570 8gb
Contact:

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by ziomalex » 13 Jan 2019, 03:36

thank you it is working now perfect so I need to make only sleep wake to work and my laptop will be fully functional as hackintosh
User avatar
onemanosx
Olarila Staff
Olarila Staff
Posts: 1229
Joined: 03 Feb 2018, 05:42
CPU: Intel i7-6700HQ HM170 Chipset
Motherboard: Acer Aspire VN7-592G Laptop
GPU: Intel HD 530 + Nvidia GTX 960M

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by onemanosx » 13 Jan 2019, 03:40

ziomalex, Please upload new send me files for checking. Thanks.

Sleep wake function may or may not work in hackintosh. Its a known issue, I think.
[External Link Removed for Guests]
[External Link Removed for Guests]

Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset
Intel i7-6700HQ, 8GB RAM (UEFI Clover Mojave)

MSI B360 Gaming Arctic
Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Mojave)

Gigabyte GA-Z68-D3H-B3 (Retired)
Intel i7-2600 16GB RAM Asus Radeon RX580 (UEFI Clover High Sierra)
ziomalex
Posts: 49
Joined: 16 Aug 2015, 14:18
CPU: intel i5-9600k
Motherboard: gigabyte z390 gaming x
GPU: rx570 8gb
Contact:

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by ziomalex » 13 Jan 2019, 03:43

ok good to know. I have been trying to make it work but there was no luck, I have been trying even to update to Mojave but not working after boot I have backlighted black screen whatever platform id I choose so I stick whith high Sierra and at least is 98% functional.
Thank you again for helping with battery
User avatar
onemanosx
Olarila Staff
Olarila Staff
Posts: 1229
Joined: 03 Feb 2018, 05:42
CPU: Intel i7-6700HQ HM170 Chipset
Motherboard: Acer Aspire VN7-592G Laptop
GPU: Intel HD 530 + Nvidia GTX 960M

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by onemanosx » 13 Jan 2019, 03:45

ziomalex, No problem.

Update Status for : Dell Inspiron 5577 Battery Status


Image
You do not have the required permissions to view the files attached to this post.
Last edited by onemanosx on 13 Jan 2019, 04:49, edited 2 times in total.
[External Link Removed for Guests]
[External Link Removed for Guests]

Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset
Intel i7-6700HQ, 8GB RAM (UEFI Clover Mojave)

MSI B360 Gaming Arctic
Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Mojave)

Gigabyte GA-Z68-D3H-B3 (Retired)
Intel i7-2600 16GB RAM Asus Radeon RX580 (UEFI Clover High Sierra)
ziomalex
Posts: 49
Joined: 16 Aug 2015, 14:18
CPU: intel i5-9600k
Motherboard: gigabyte z390 gaming x
GPU: rx570 8gb
Contact:

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by ziomalex » 13 Jan 2019, 03:56

this the file you asked me
You do not have the required permissions to view the files attached to this post.
ford2201
Geek
Geek
Posts: 115
Joined: 11 Sep 2017, 17:53
CPU: i3-2120
Motherboard: ASUS h61m-k
GPU: Nvidia gts 480

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by ford2201 » 15 Jan 2019, 06:02

yes suces lenovo G570 HIGH SIERRA
User avatar
onemanosx
Olarila Staff
Olarila Staff
Posts: 1229
Joined: 03 Feb 2018, 05:42
CPU: Intel i7-6700HQ HM170 Chipset
Motherboard: Acer Aspire VN7-592G Laptop
GPU: Intel HD 530 + Nvidia GTX 960M

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by onemanosx » 15 Jan 2019, 09:18

:guitar
[External Link Removed for Guests]
[External Link Removed for Guests]

Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset
Intel i7-6700HQ, 8GB RAM (UEFI Clover Mojave)

MSI B360 Gaming Arctic
Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Mojave)

Gigabyte GA-Z68-D3H-B3 (Retired)
Intel i7-2600 16GB RAM Asus Radeon RX580 (UEFI Clover High Sierra)
User avatar
onemanosx
Olarila Staff
Olarila Staff
Posts: 1229
Joined: 03 Feb 2018, 05:42
CPU: Intel i7-6700HQ HM170 Chipset
Motherboard: Acer Aspire VN7-592G Laptop
GPU: Intel HD 530 + Nvidia GTX 960M

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by onemanosx » 14 Mar 2019, 10:54

HP Elitebook 8440P - Success


#16 bits registers

Code: [Local Link Removed for Guests]

into device label EC0 code_regex CVLT,\s+16, replace_matched begin TLV0,8,TLV1,8, end;
into device label EC0 code_regex CCUR,\s+16, replace_matched begin RUC0,8,RUC1,8, end;
into device label EC0 code_regex BDC,\s+16, replace_matched begin CDB0,8,CDB1,8, end;
into device label EC0 code_regex BFC,\s+16, replace_matched begin CFB0,8,CFB1,8, end;
into device label EC0 code_regex BME,\s+16, replace_matched begin EMB0,8,EMB1,8, end;
into device label EC0 code_regex BDV,\s+16, replace_matched begin VDB0,8,VDB1,8, end;
into device label EC0 code_regex BCV1,\s+16, replace_matched begin V1B0,8,V1B1,8, end;
into device label EC0 code_regex BCV2,\s+16, replace_matched begin V2B0,8,V2B1,8, end;
into device label EC0 code_regex BCV3,\s+16, replace_matched begin V3B0,8,V3B1,8, end;
into device label EC0 code_regex BCV4,\s+16, replace_matched begin V4B0,8,V4B1,8, end;
into device label EC0 code_regex BPR,\s+16, replace_matched begin RPB0,8,RPB1,8, end;
into device label EC0 code_regex BCR,\s+16, replace_matched begin RCB0,8,RCB1,8, end;
into device label EC0 code_regex BRC,\s+16, replace_matched begin CRB0,8,CRB1,8, end;
into device label EC0 code_regex BCC,\s+16, replace_matched begin CCB0,8,CCB1,8, end;
into device label EC0 code_regex BPV,\s+16, replace_matched begin VPB0,8,VPB1,8, end;
into device label EC0 code_regex BCL,\s+16, replace_matched begin LCB0,8,LCB1,8, end;
into device label EC0 code_regex BSTS,\s+16, replace_matched begin STS0,8,STS1,8, end;
into device label EC0 code_regex BSN,\s+16, replace_matched begin NSB0,8,NSB1,8, end;
into device label EC0 code_regex BDAT,\s+16, replace_matched begin TAD0,8,TAD1,8, end;
#FIX 16 BITS REGISTERS (Manual Patch)

Code: [Local Link Removed for Guests]


BDC - B1B2(\_SB.PCI0.LPCB.EC0.CDB0,\_SB.PCI0.LPCB.EC0.CDB1)
BFC - B1B2(\_SB.PCI0.LPCB.EC0.CFB0,\_SB.PCI0.LPCB.EC0.CFB1)
BME - B1B2(\_SB.PCI0.LPCB.EC0.EMB0,\_SB.PCI0.LPCB.EC0.EMB1)
BDV - B1B2(\_SB.PCI0.LPCB.EC0.VDB0,\_SB.PCI0.LPCB.EC0.VDB1)
BCV1 - B1B2(\_SB.PCI0.LPCB.EC0.V1B0,\_SB.PCI0.LPCB.EC0.V1B1)
BCV2 - B1B2(\_SB.PCI0.LPCB.EC0.V2B0,\_SB.PCI0.LPCB.EC0.V2B1)
BCV3 - B1B2(\_SB.PCI0.LPCB.EC0.V3B0,\_SB.PCI0.LPCB.EC0.V3B1)
BCV4 - B1B2(\_SB.PCI0.LPCB.EC0.V4B0,\_SB.PCI0.LPCB.EC0.V4B1)
BPR - B1B2(\_SB.PCI0.LPCB.EC0.RPB0,\_SB.PCI0.LPCB.EC0.RPB1)
BCR - B1B2(\_SB.PCI0.LPCB.EC0.RCB0,\_SB.PCI0.LPCB.EC0.RCB1)
BRC - B1B2(\_SB.PCI0.LPCB.EC0.CRB0,\_SB.PCI0.LPCB.EC0.CRB1)
BCC - B1B2(\_SB.PCI0.LPCB.EC0.CCB0,\_SB.PCI0.LPCB.EC0.CCB1)
BPV - B1B2(\_SB.PCI0.LPCB.EC0.VPB0,\_SB.PCI0.LPCB.EC0.VPB1)
BSN - B1B2(\_SB.PCI0.LPCB.EC0.NSB0,\_SB.PCI0.LPCB.EC0.NSB1)
BDAT - B1B2(\_SB.PCI0.LPCB.EC0.TAD0,\_SB.PCI0.LPCB.EC0.TAD1)
#32 BITS Registers

Code: [Local Link Removed for Guests]

into device label EC0 code_regex S0PW,\s+32 replace_matched begin WP00,8,WP01,8,WP02,8,WP03,8 end;
into device label EC0 code_regex S0CT,\s+32 replace_matched begin TC00,8,TC01,8,TC02,8,TC03,8 end;
into device label EC0 code_regex SXPW,\s+32 replace_matched begin WPX0,8,WPX1,8,WPX2,8,WPX3,8 end;
into device label EC0 code_regex SXCT,\s+32 replace_matched begin TCX0,8,TCX1,8,TCX2,8,TCX3,8 end;
into device label EC0 code_regex M1CT,\s+32 replace_matched begin TC10,8,TC11,8,TC12,8,TC13,8 end;
into device label EC0 code_regex MOCT,\s+32 replace_matched begin TCM0,8,TCM1,8,TCM2,8,TCM3,8 end;
into device label EC0 code_regex BTY,\s+32 replace_matched begin YTB0,8,YTB1,8,YTB2,8,YTB3,8 end;
#FIX 32 BITS Registers

Code: [Local Link Removed for Guests]

S0PW - B1B4(^^PCI0.LPCB.EC0.WP00,^^PCI0.LPCB.EC0.WP01,^^PCI0.LPCB.EC0.WP02,^^PCI0.LPCB.EC0.WP03)
S0CT - B1B4(^^PCI0.LPCB.EC0.TC00,^^PCI0.LPCB.EC0.TC01,^^PCI0.LPCB.EC0.TC02,^^PCI0.LPCB.EC0.TC03)
SXPW - B1B4(^^PCI0.LPCB.EC0.WPX0,^^PCI0.LPCB.EC0.WPX1,^^PCI0.LPCB.EC0.WPX2,^^PCI0.LPCB.EC0.WPX3)
SXCT - B1B4(^^PCI0.LPCB.EC0.TCX0,^^PCI0.LPCB.EC0.TCX1,^^PCI0.LPCB.EC0.TCX2,^^PCI0.LPCB.EC0.TCX3)
M1CT - B1B4(^^PCI0.LPCB.EC0.TC10,^^PCI0.LPCB.EC0.TC11,^^PCI0.LPCB.EC0.TC12,^^PCI0.LPCB.EC0.TC13)
MOCT - B1B4(^^PCI0.LPCB.EC0.TCM0,^^PCI0.LPCB.EC0.TCM1,^^PCI0.LPCB.EC0.TCM2,^^PCI0.LPCB.EC0.TCM3)
BTY - B1B4(^^PCI0.LPCB.EC0.YTB0,^^PCI0.LPCB.EC0.YTB1,^^PCI0.LPCB.EC0.YTB2,^^PCI0.LPCB.EC0.YTB3)
#Standard Patching Methods

Code: [Local Link Removed for Guests]


into method label B1B2 remove_entry;
into definitionblock code_regex . insert
begin
Method (B1B2, 2, NotSerialized) { Return(Or(Arg0, ShiftLeft(Arg1, 8))) }\n
end;

into method label B1B4 remove_entry;
into definitionblock code_regex . insert
begin
Method (B1B4, 4, NotSerialized)\n
{\n
    Store(Arg3, Local0)\n
    Or(Arg2, ShiftLeft(Local0, 8), Local0)\n
    Or(Arg1, ShiftLeft(Local0, 8), Local0)\n
    Or(Arg0, ShiftLeft(Local0, 8), Local0)\n
    Return(Local0)\n
}\n
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
	{
		Store(RE1B(Arg0), Index(TEMP, Local0))\n
		Increment(Arg0)\n
		Increment(Local0)\n
	}\n
	Return(TEMP)\n
}\n
end;

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;
Added in 7 minutes 7 seconds:
Lenovo Ideapad 310 - Success

#16-bit registers

Code: [Local Link Removed for Guests]

into device label EC0 code_regex BFUD,\s+16, replace_matched begin DUF0,8,DUF1,8, end;
into device label EC0 code_regex B1RC,\s+16, replace_matched begin CR10,8,CR11,8, end;
into device label EC0 code_regex B1SN,\s+16, replace_matched begin NS10,8,NS11,8, end;
into device label EC0 code_regex B1FV,\s+16, replace_matched begin VF10,8,VF11,8, end;
into device label EC0 code_regex B1DV,\s+16, replace_matched begin VD10,8,VD11,8, end;
into device label EC0 code_regex B1DC,\s+16, replace_matched begin CD10,8,CD11,8, end;
into device label EC0 code_regex B1FC,\s+16, replace_matched begin CF10,8,CF11,8, end;
into device label EC0 code_regex B1CR,\s+16, replace_matched begin RC10,8,RC11,8, end;
into device label EC0 code_regex B1AC,\s+16, replace_matched begin CA10,8,CA11,8, end;
into device label EC0 code_regex B1CC,\s+16, replace_matched begin CC10,8,CC11,8, end;
into device label EC0 code_regex B1SM,\s+16, replace_matched begin MS10,8,MS11,8, end;
into device label EC0 code_regex B1C1,\s+16, replace_matched begin AC10,8,AC11,8, end;
into device label EC0 code_regex B1C2,\s+16, replace_matched begin BC10,8,BC11,8, end;
into device label EC0 code_regex B1C3,\s+16, replace_matched begin CC10,8,CC11,8, end;
into device label EC0 code_regex B1C4,\s+16, replace_matched begin DC10,8,DC11,8, end;
into device label EC0 code_regex B1DA,\s+16, replace_matched begin AD10,8,AD11,8, end;
#FIX 16 BIT REGISTERS - Manual Patching

Code: [Local Link Removed for Guests]

BFUD - B1B2(\_SB.PCI0.LPCB.EC0.DUF0,\_SB.PCI0.LPCB.EC0.DUF1)
B1RC - B1B2(\_SB.PCI0.LPCB.EC0.CR10,\_SB.PCI0.LPCB.EC0.CR11)
B1SN - B1B2(\_SB.PCI0.LPCB.EC0.NS10,\_SB.PCI0.LPCB.EC0.NS11)
B1FV - B1B2(\_SB.PCI0.LPCB.EC0.VF10,\_SB.PCI0.LPCB.EC0.VF11)
B1DV - B1B2(\_SB.PCI0.LPCB.EC0.VD10,\_SB.PCI0.LPCB.EC0.VD11)
B1DC - B1B2(\_SB.PCI0.LPCB.EC0.CD10,\_SB.PCI0.LPCB.EC0.CD11)
B1FC - B1B2(\_SB.PCI0.LPCB.EC0.CF10,\_SB.PCI0.LPCB.EC0.CF11)
B1CR - B1B2(\_SB.PCI0.LPCB.EC0.RC10,\_SB.PCI0.LPCB.EC0.RC11)
B1AC - B1B2(\_SB.PCI0.LPCB.EC0.CA10,\_SB.PCI0.LPCB.EC0.CA11)
B1CC - B1B2(\_SB.PCI0.LPCB.EC0.CC10,\_SB.PCI0.LPCB.EC0.CC11)
B1SM - B1B2(\_SB.PCI0.LPCB.EC0.MS10,\_SB.PCI0.LPCB.EC0.MS11)
B1C1 - B1B2(\_SB.PCI0.LPCB.EC0.AC10,\_SB.PCI0.LPCB.EC0.AC11)
B1C2 - B1B2(\_SB.PCI0.LPCB.EC0.BC10,\_SB.PCI0.LPCB.EC0.BC11)
B1C3 - B1B2(\_SB.PCI0.LPCB.EC0.CC10,\_SB.PCI0.LPCB.EC0.CC11)
B1C4 - B1B2(\_SB.PCI0.LPCB.EC0.DC10,\_SB.PCI0.LPCB.EC0.DC11)
B1DA - B1B2(\_SB.PCI0.LPCB.EC0.AD10,\_SB.PCI0.LPCB.EC0.AD11)
#LARGER THAN 32 BIT REGISTERS

Code: [Local Link Removed for Guests]

into device label EC0 code_regex (FWBT,)\s+(64) replace_matched begin FWBX,%2,//%1%2 end;
into device label EC0 code_regex (SMDA,)\s+(256) replace_matched begin SMDX,%2,//%1%2 end;
into device label EC0 code_regex (BMN0,)\s+(72) replace_matched begin BMNX,%2,//%1%2 end;
into device label EC0 code_regex (BDN0,)\s+(64) replace_matched begin BDNX,%2,//%1%2 end;
#FIX LARGER THAN 32 BIT REGISTERS - Manual Patching

Code: [Local Link Removed for Guests]

FWBT -  \_SB.PCI0.LPCB.EC0.RECB(0X14,64)
SMDA -  \_SB.PCI0.LPCB.EC0.RECB(0X64,256)
BMN0 -  \_SB.PCI0.LPCB.EC0.RECB(0X8F,72)
BDN0 -  \_SB.PCI0.LPCB.EC0.RECB(0X98,64)
#Standard Patching Methods

Code: [Local Link Removed for Guests]

#STANDARD B1B2 PATCH
into method label B1B2 remove_entry;
into definitionblock code_regex . insert
begin
Method (\B1B2, 2, NotSerialized)\n
{\n
	ShiftLeft (Arg1, 8, Local0)\n
	Or (Arg0, Local0, Local0)\n
	Return (Local0)\n
}\n
end;

#Standard utility methods to read/write buffers from/to EC

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
	{
		Store(RE1B(Arg0), Index(TEMP, Local0))\n
		Increment(Arg0)\n
		Increment(Local0)\n
	}\n
	Return(TEMP)\n
}\n
end;

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;
[External Link Removed for Guests]
[External Link Removed for Guests]

Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset
Intel i7-6700HQ, 8GB RAM (UEFI Clover Mojave)

MSI B360 Gaming Arctic
Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Mojave)

Gigabyte GA-Z68-D3H-B3 (Retired)
Intel i7-2600 16GB RAM Asus Radeon RX580 (UEFI Clover High Sierra)
User avatar
MaLd0n
Site Admin
Site Admin
Posts: 13624
Joined: 05 Dec 2010, 19:35
CPU: i9-9900K
Motherboard: GA Z390 M GAMING
GPU: RX 590 8 GB
Location: Rio de Janeiro, Brazil
Contact:

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by MaLd0n » 14 Mar 2019, 12:18

onemanosx, :guitar :guitar :guitar
:guitar[External Link Removed for Guests]:guitar-[Local Link Removed for Guests]:guitar

Problems with Paypal Donate? Check [Local Link Removed for Guests]

-Donated? Send me one PM-
User avatar
Wizzard
Posts: 68
Joined: 16 Feb 2019, 06:31
CPU: Intel m3-7Y30
Motherboard: Teclast F6 Pro
GPU: Intel HD 615

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by Wizzard » 24 Mar 2019, 21:10

Sorry for the question, but where do I get my AML when my notebook is not on the list? When I use just some generic file, will it work?
User avatar
onemanosx
Olarila Staff
Olarila Staff
Posts: 1229
Joined: 03 Feb 2018, 05:42
CPU: Intel i7-6700HQ HM170 Chipset
Motherboard: Acer Aspire VN7-592G Laptop
GPU: Intel HD 530 + Nvidia GTX 960M

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by onemanosx » 25 Mar 2019, 00:20

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]
24 Mar 2019, 21:10
Sorry for the question, but where do I get my AML when my notebook is not on the list? When I use just some generic file, will it work?
if your notebook is not in the list, you will then need to do your own custom patch
[External Link Removed for Guests]
[External Link Removed for Guests]

Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset
Intel i7-6700HQ, 8GB RAM (UEFI Clover Mojave)

MSI B360 Gaming Arctic
Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Mojave)

Gigabyte GA-Z68-D3H-B3 (Retired)
Intel i7-2600 16GB RAM Asus Radeon RX580 (UEFI Clover High Sierra)
User avatar
Wizzard
Posts: 68
Joined: 16 Feb 2019, 06:31
CPU: Intel m3-7Y30
Motherboard: Teclast F6 Pro
GPU: Intel HD 615

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by Wizzard » 25 Mar 2019, 06:09

I understand, but when I use given example AML, it means that all unsupported notebooks will use this AML as well so they should use the same patch?
User avatar
onemanosx
Olarila Staff
Olarila Staff
Posts: 1229
Joined: 03 Feb 2018, 05:42
CPU: Intel i7-6700HQ HM170 Chipset
Motherboard: Acer Aspire VN7-592G Laptop
GPU: Intel HD 530 + Nvidia GTX 960M

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by onemanosx » 25 Mar 2019, 06:12

The example aml is meant for tutorial purposes. You shld use your laptop dsdt file. Method is same for most laptops.
[External Link Removed for Guests]
[External Link Removed for Guests]

Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset
Intel i7-6700HQ, 8GB RAM (UEFI Clover Mojave)

MSI B360 Gaming Arctic
Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Mojave)

Gigabyte GA-Z68-D3H-B3 (Retired)
Intel i7-2600 16GB RAM Asus Radeon RX580 (UEFI Clover High Sierra)
User avatar
Wizzard
Posts: 68
Joined: 16 Feb 2019, 06:31
CPU: Intel m3-7Y30
Motherboard: Teclast F6 Pro
GPU: Intel HD 615

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by Wizzard » 25 Mar 2019, 21:59

Okay, so I can get my DSDT.aml from RunMe app, right? I tried to patch it accorging to guide, but do not have battery status yet. What could be wrong?
You do not have the required permissions to view the files attached to this post.
User avatar
onemanosx
Olarila Staff
Olarila Staff
Posts: 1229
Joined: 03 Feb 2018, 05:42
CPU: Intel i7-6700HQ HM170 Chipset
Motherboard: Acer Aspire VN7-592G Laptop
GPU: Intel HD 530 + Nvidia GTX 960M

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by onemanosx » 26 Mar 2019, 10:56

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]
25 Mar 2019, 21:59
Okay, so I can get my DSDT.aml from RunMe app, right? I tried to patch it accorging to guide, but do not have battery status yet. What could be wrong?
No idea. For a start you can upload a full dump using run.me app and try to explain in steps what you did.
[External Link Removed for Guests]
[External Link Removed for Guests]

Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset
Intel i7-6700HQ, 8GB RAM (UEFI Clover Mojave)

MSI B360 Gaming Arctic
Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Mojave)

Gigabyte GA-Z68-D3H-B3 (Retired)
Intel i7-2600 16GB RAM Asus Radeon RX580 (UEFI Clover High Sierra)
User avatar
Wizzard
Posts: 68
Joined: 16 Feb 2019, 06:31
CPU: Intel m3-7Y30
Motherboard: Teclast F6 Pro
GPU: Intel HD 615

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by Wizzard » 26 Mar 2019, 11:32

This is my older dump, I think it is the same as the latest. I just followed the instructions and had no compile errors.
You do not have the required permissions to view the files attached to this post.
User avatar
onemanosx
Olarila Staff
Olarila Staff
Posts: 1229
Joined: 03 Feb 2018, 05:42
CPU: Intel i7-6700HQ HM170 Chipset
Motherboard: Acer Aspire VN7-592G Laptop
GPU: Intel HD 530 + Nvidia GTX 960M

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by onemanosx » 26 Mar 2019, 11:37

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]
26 Mar 2019, 11:32
This is my older dump, I think it is the same as the latest. I just followed the instructions and had no compile errors.
no compile errors doesnt mean patch is done correctly. I cant help if you wont share what exactly you did. Maybe you can share your 16 bit integers and how you solved them.
[External Link Removed for Guests]
[External Link Removed for Guests]

Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset
Intel i7-6700HQ, 8GB RAM (UEFI Clover Mojave)

MSI B360 Gaming Arctic
Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Mojave)

Gigabyte GA-Z68-D3H-B3 (Retired)
Intel i7-2600 16GB RAM Asus Radeon RX580 (UEFI Clover High Sierra)
User avatar
Wizzard
Posts: 68
Joined: 16 Feb 2019, 06:31
CPU: Intel m3-7Y30
Motherboard: Teclast F6 Pro
GPU: Intel HD 615

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by Wizzard » 26 Mar 2019, 11:51

Thanks much, I will check at home and upload everything.
User avatar
onemanosx
Olarila Staff
Olarila Staff
Posts: 1229
Joined: 03 Feb 2018, 05:42
CPU: Intel i7-6700HQ HM170 Chipset
Motherboard: Acer Aspire VN7-592G Laptop
GPU: Intel HD 530 + Nvidia GTX 960M

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by onemanosx » 26 Mar 2019, 12:33

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]
26 Mar 2019, 11:32
This is my older dump, I think it is the same as the latest. I just followed the instructions and had no compile errors.


You did not have patched DSDT in clover/acpi/patched folder. Neither do you have any battery kext in your clover/kexts other folder.
Cant expect things to work without these 2 items.
[External Link Removed for Guests]
[External Link Removed for Guests]

Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset
Intel i7-6700HQ, 8GB RAM (UEFI Clover Mojave)

MSI B360 Gaming Arctic
Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Mojave)

Gigabyte GA-Z68-D3H-B3 (Retired)
Intel i7-2600 16GB RAM Asus Radeon RX580 (UEFI Clover High Sierra)
Post Reply

Return to “Guides and tutorials”