Thanks for the fix, I ran into this problem as well.How to patch DSDT for working battery status
The only problem I found was in this line in _BTP:
Store (Local0, ^^PCI0.LPCB.H_EC.BTPC)
Needs this patch:
into method label _BTP code_regex Store\s\((.*),\s\^\^PCI0\.LPCB\.H_EC\.BTPC\) replace_matched begin Store(ShiftRight(%1,8), ^^PCI0.LPCB.H_EC.BPC1) Store(%1, ^^PCI0.LPCB.H_EC.BPC1) end;
The other patch related to _BTP is not effective and so I removed it.
Offset is used to change the offset of the next field.
By definition, any field that directly follows Offset(X) is at offset X.
Read the ACPI specification.
Wrong. BCT0 is at offset 0x2f (0x20 + (120/8)).
Can you share your EFI? I can't solve the battery display problem.Ok for the past few days I have been trying everything I can to get as much working on my HP EliteBook x360 1030 G3 with an i7-8650U and Clover. However I never figured out the battery Indicator and the Webcam. So I went after Open Core and OMG is totally different beast.
I did find someone's config from another HP with a similar CPU and I started messing with that config, it was for Big Sur but I added the EFI to my Catalina USB and started to mess with it. After a lot of messing around with the config.plist and using his ACPI files and adding some more ACPI files and kexts I managed to get.
Catalina with latest update working with
Sound with boot arguments in config.plist and AppleALC.kext
Intel HD Graphics 620 with some stuff added to config.plist
Internal Wifi with itlwm.kext
Bluetooth with IntelBluetoothFirmware.kext and IntelBluetoothInjector.kext
TouchPad worked great with that EFI and the kexts files that were in it
Touch Screen worked out of the box with the settings and kext files in the EFI folder
Brightness and Volume hot keys working
Battery Indicator working
Webcam - with USBInjectAll.kext I can see it and the system sees it but anything that wants to use it can't use it. It just shows a black screen
Really the only thing I would like to fix is the webcam now but I can't figured it out, Not sure which kexts or settings take care of it. I'm using OpenCore now
#Maintained by: RehabMan for: Laptop Patcheshello, can someone help me please, i just started hackintosh on my hp 14dq1077wm Intel core i3-1005G1.
I am unable to get battery status on macOS Catalina.
I attached my DSDT, can someone please build the patch for me.
I am a newbie in hackintosh and trying to understand patching but is too afraid to deal with it by myself in fear to break my windows (yes i have dualboot Catalina alongside win10).
If i can get the battery status working with the touchpad i am converting my HP to a full hackintosh. bye bye win10.
Hope to be able to get by this battery patch first.
Thanks in advance to all the good samaritans of the hackintosh community.