Hi onemanosx,
I have followed your guide to patch dsdt for HP Spectre X360 late 2019 laptop but I still cannot see the battery % and status. I have attached RunMe dump onedrive link (file too big to attach). I need battery status working so I can access touchpad settings properly. I2c trackpad and touchscreen work except tap to click and two tap for right clicking but clicking the trackpad physically, works for left mouse clicking.
link - https://1drv.ms/u/s!AgsMleu5IhjT-1pA17DpNG_h1Jrv?e=QrksZ0
Patches applied to dsdt prior to patching for battery status include the following
- remove _DSM methods
- Fix _IRC Error
- Fix ADBG Error
- Add MCHC
- Fix _WAK Arg0 v2
- Fix Mutex
- Fix HPET
- Fix IRQ
- OS Check Fix (Windows 10)
- USB 3_PRW 0X6D Skylake
- Brightness Fix
- GPIO Controller Enable [sKL+]
For battery patching, i did the following
*Variables greater than 8 bytes in EmbeddedControl
SMD0, 256 ——> x ---> Not called elsewhere in EC
BADC, 16 ———>X ----> Not called elsewhere in EC
BFCC, 16 ———> YES
MCUR, 16 ———>YES
MBRM, 16 ———>YES
MBCV, 16 ————>YES
*insert code below to patch window
into device label EC0 code_regex BFCC,\s+16, replace_matched begin FCC0,8,FCC1,8, end;
into device label EC0 code_regex MCUR,\s+16, replace_matched begin CUR0,8,CUR1,8, end;
into device label EC0 code_regex MBRM,\s+16, replace_matched begin BRM0,8,BRM1,8, end;
into device label EC0 code_regex MBCV,\s+16, replace_matched begin BCV0,8,BCV1,8, end;
* manually edit errors
^^PCI0.LPCB.EC0.BFCC -> B1B2(^^PCI0.LPCB.EC0.FCC0,^^PCI0.LPCB.EC0.FCC1) /* \_SB_.PCI0.LPCB.EC0_.BFCC */
^^PCI0.LPCB.EC0.MCUR -> B1B2(^^PCI0.LPCB.EC0.CUR0,^^PCI0.LPCB.EC0.CUR1) /* \_SB_.PCI0.LPCB.EC0_.MCUR */
^^PCI0.LPCB.EC0.MBRM -> B1B2(^^PCI0.LPCB.EC0.BRM0,^^PCI0.LPCB.EC0.BRM1) /* \_SB_.PCI0.LPCB.EC0_.MBRM */
^^PCI0.LPCB.EC0.MBCV -> B1B2(^^PCI0.LPCB.EC0.BCV0,^^PCI0.LPCB.EC0.BCV1) /* \_SB_.PCI0.LPCB.EC0_.MBCV */
*insert code below to patch window
into method label B1B2 remove_entry;
into definitionblock code_regex . insert
begin
Method (B1B2, 2, NotSerialized) { Return(Or(Arg0, ShiftLeft(Arg1, 8))) }\n
end;
*Insert code below in patch window
#utility methods to read/write buffers from/to EC......
No luck, any advice would be greatly appreciated!!
Thank you