Killuminati91 Posted July 18, 2020 Posted July 18, 2020 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
Administrators MaLd0n Posted July 18, 2020 Administrators Posted July 18, 2020 check here https://www.olarila.com/topic/5673-guide-laptop-battery-indicator-the-dsdt-patching-horror/ -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE
Killuminati91 Posted July 18, 2020 Author Posted July 18, 2020 5 hours ago, MaLd0n said: check here https://www.olarila.com/topic/5673-guide-laptop-battery-indicator-the-dsdt-patching-horror/ 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!
Talp Negre Posted August 4, 2020 Posted August 4, 2020 Did you succed @Killuminati91 ? I'm planning to do dual boot in a matebook x pro as well.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now