Jump to content
🎉 [ IMPORTANT ] Premium and Donators users 🎉 ×

DSDT for Matebook X Pro 2020 (i5-10210u)


Recommended Posts

Hey guys,

currently running into a kernel panic related to HEWC/ECRD and BAT0. This probably needs battery patching but I cant get my head around it.

Would appreciate some help.

 

Matebook X Pro 2020

Intel i5-10210U

UHD 630

Nvidia MX250

16GB LPDDR3

 

ACPI Error: Method parse/execution failed [\_SB.PCI0.LPCB.EC.ECRD] (Node ffffff8028109390), AE_NOT_EXIST (20160930/psparse-632)
ACPI Error: Method parse/execution failed [\_SB.PCI0.LPCB.EC.BAT0._STA] (Node placeholder), AE_NOT_EXIST (placeholder)
ACPI Error: Result stack is empty!

 

DSDT.aml

Link to comment
Share on other sites

  • Administrators

-Donations-

PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill [email protected]

BTC 1BDzsV4bw3DVCiffFAeNKsdEzqkPXNVrXR

ETH BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9

BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115

USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9

USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ

PicPay @danielnmaldonado

PiX @[email protected]

Problems with Paypal HERE

xcd5u2Y.png

Sign up for a Bybit account and claim exclusive rewards HERE

New ways to earn money with Linkvertise HERE

Link to comment
Share on other sites

5 hours ago, MaLd0n said:

Hey MaLd0n thanks for the answer! Sadly I already tried that but cant save the DSDT, maybe you can figure this out, here is what I did:

 

1. Split the necessary (referenced) 16bit fields into two 8bit fields each:

into device label HWEC code_regex B0VL,\s+16 replace_matched begin VL00,8,VL01,8 end;
into device label HWEC code_regex B0RC,\s+16 replace_matched begin RC00,8,RC01,8 end;
into device label HWEC code_regex B0ST,\s+16 replace_matched begin ST00,8,ST01,8 end;
into device label HWEC code_regex B0CC,\s+16 replace_matched begin CC00,8,CC01,8 end;
into device label HWEC code_regex B0FC,\s+16 replace_matched begin FC00,8,FC01,8 end;
into device label HWEC code_regex B0DC,\s+16 replace_matched begin DC00,8,DC01,8 end;
into device label HWEC code_regex B0DV,\s+16 replace_matched begin DV00,8,DV01,8 end;
into device label HWEC code_regex B0CT,\s+16 replace_matched begin CT00,8,CT01,8 end;
into device label HWEC code_regex B0SN,\s+16 replace_matched begin SN00,8,SN01,8 end;
into device label HWEC code_regex EKVA,\s+16 replace_matched begin KVA0,8,KVA1,8 end;
into device label HWEC code_regex EULV,\s+16 replace_matched begin ULV0,8,ULV1,8 end;
into device label HWEC code_regex ELLV,\s+16 replace_matched begin LLV0,8,LLV1,8 end;
into device label HWEC code_regex CALS,\s+16 replace_matched begin ALS0,8,ALS1,8 end;
into device label HWEC code_regex ELUX,\s+16 replace_matched begin LUX0,8,LUX1,8 end;

 

2. Apply the given patch

 

3. Replace each reference with B1B2 and the corresponding new fields MANUALLY.

B0VL -> B1B2(VL00,VL01)
B0RC -> B1B2(RC00,RC01)
B0ST -> B1B2(ST00,ST01)
B0CC -> B1B2(CC00,CC01)
B0FC -> B1B2(FC00,FC01)
B0DC -> B1B2(DC00,DC01)
B0DV -> B1B2(DV00,DV01)
B0CT -> B1B2(CT00,CT01)
B0SN -> B1B2(SN00,SN01)
EKVA -> B1B2(KVA0,KVA1)
EULV -> B1B2(ULV0,ULV1)
ELLV -> B1B2(LLV0,LLV1)
CALS -> B1B2(ALS0,ALS1)
ELUX -> B1B2(LUX0,LUX1)

 

Now this is where I'm stuck. I can not compile nor save the file because of one of these errors for each replaced reference:

50994, 6126, syntax error, unexpected PARSEOP_CLOSE_PAREN, expecting PARSEOP_EXP_INDEX_LEFT

 

THIS POST by rehabman states that RefOf and B1B2 are not compatible, so what can I do instead?

 

Thanks for your help, would love to figure this out!

 

Bildschirmfoto-2020-07-18-um-22-46-32.pn

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...