Contribute
Register

[solved]HP OMEN 15-dc Battery error

Status
Not open for further replies.
Hi RehabMan,

Attached please find is for:
  • EmuVariableUefi-64.efi
  • Less DSDT patch: Battery, Darwin
sleep, restart, power off function are normal.

The battery problem is still pending.
Your kextcache output proves kexts are not installed correctly.
All kexts you need must be installed to the system volume.
Read post #2 of the Clover guide for details:
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/

Did not check anything else.
 
I have the same problem as you. I think we have the same motherboard mine is 84DA. Same bios,chipset, but different OS X (I have Mojave).

Maybe we can help each other.

Now I am waiting for ideas to come out because I tried everything.

Can you also screen the fault and upload your debug files?
 
Hi RehabMan, I think the reason for the battery failure is that the EC data has been modified.
 
Last edited:
Hi RehabMan, I think the reason for the battery failure is that the EC data has been modified.

After you fix your kext installation, you can reply again with updated PR files.
 
Hi RehabMan, Thank you very much!

Recent, I learned many things from your guide, such as "hot patch".


Status update of this thread:

The EC data 0x69 is the key data of battery status. If it's "00", that can lead to battery failure.

Your tools "ACPIDebug" is really cool. :thumbup: My first solution is backup and restore it , worked, but it's bypass.

IMG_3365_EE5EF818488A.PNG

屏幕快照 2018-11-09 下午10.51.33.png



Final solution:
Code:
into method label INIT parent_label ACEL remove_entry;
into device label ACEL insert
begin
            Method (INIT, 0, Serialized)\n
            {\n
                //If (_STA ())\n
                //{\n
                  //  ^^LPCB.EC0.SMWR (0xC6, 0x50, 0x20, 0x8F)\n
                  //  ^^LPCB.EC0.SMWR (0xC6, 0x50, 0x21, 0x32)\n
                  //  ^^LPCB.EC0.SMWR (0xC6, 0x50, 0x32, 0x20)\n
                  //  ^^LPCB.EC0.SMWR (0xC6, 0x50, 0x33, 0x30)\n
                  //  ^^LPCB.EC0.SMWR (0xC6, 0x50, 0x30, 0x95)\n
                  //  ^^LPCB.EC0.SMWR (0xC6, 0x50, 0x36, 0x07)\n
                  //  ^^LPCB.EC0.SMWR (0xC6, 0x50, 0x37, 0x50)\n
                  //  ^^LPCB.EC0.SMWR (0xC6, 0x50, 0x34, 0x7F)\n
                  //  ^^LPCB.EC0.SMRD (0xC7, 0x50, 0x24, RefOf (Local0))\n
                  //  And (Local0, 0xBF, Local0)\n
                  //  Or (Local0, 0x02, Local0)\n
                  //  ^^LPCB.EC0.SMWR (0xC6, 0x50, 0x24, Local0)\n
                  //  Store (0xFF, CNST)\n
                  //  ADJT ()\n
                //}\n
            }\n
end;
 
Hi RehabMan,
Next, I plan to fix brightness, Can you give me some guidance?
 

Attachments

  • debug_16990.zip
    3.6 MB · Views: 513
Final solution:
Code:
into method label INIT parent_label ACEL remove_entry;
into device label ACEL insert
begin
            Method (INIT, 0, Serialized)\n
            {\n
                //If (_STA ())\n
                //{\n
                  //  ^^LPCB.EC0.SMWR (0xC6, 0x50, 0x20, 0x8F)\n
                  //  ^^LPCB.EC0.SMWR (0xC6, 0x50, 0x21, 0x32)\n
                  //  ^^LPCB.EC0.SMWR (0xC6, 0x50, 0x32, 0x20)\n
                  //  ^^LPCB.EC0.SMWR (0xC6, 0x50, 0x33, 0x30)\n
                  //  ^^LPCB.EC0.SMWR (0xC6, 0x50, 0x30, 0x95)\n
                  //  ^^LPCB.EC0.SMWR (0xC6, 0x50, 0x36, 0x07)\n
                  //  ^^LPCB.EC0.SMWR (0xC6, 0x50, 0x37, 0x50)\n
                  //  ^^LPCB.EC0.SMWR (0xC6, 0x50, 0x34, 0x7F)\n
                  //  ^^LPCB.EC0.SMRD (0xC7, 0x50, 0x24, RefOf (Local0))\n
                  //  And (Local0, 0xBF, Local0)\n
                  //  Or (Local0, 0x02, Local0)\n
                  //  ^^LPCB.EC0.SMWR (0xC6, 0x50, 0x24, Local0)\n
                  //  Store (0xFF, CNST)\n
                  //  ADJT ()\n
                //}\n
            }\n
end;

That patch is in the "HP G6 2221ss" patch but disabled by default.
Note comments:
Code:
# Note: some may require this patch
# it is commented out because it is really not the correct fix
# and is not needed by all
#into method label INIT parent_label ACEL replace_content begin // code removed\n end;
 
Hi RehabMan, Thank you very much!

Recent, I learned many things from your guide, such as "hot patch".


Status update of this thread:

The EC data 0x69 is the key data of battery status. If it's "00", that can lead to battery failure.

Your tools "ACPIDebug" is really cool. :thumbup: My first solution is backup and restore it , worked, but it's bypass.

View attachment 364333
View attachment 364355


Final solution:
Code:
into method label INIT parent_label ACEL remove_entry;
into device label ACEL insert
begin
            Method (INIT, 0, Serialized)\n
            {\n
                //If (_STA ())\n
                //{\n
                  //  ^^LPCB.EC0.SMWR (0xC6, 0x50, 0x20, 0x8F)\n
                  //  ^^LPCB.EC0.SMWR (0xC6, 0x50, 0x21, 0x32)\n
                  //  ^^LPCB.EC0.SMWR (0xC6, 0x50, 0x32, 0x20)\n
                  //  ^^LPCB.EC0.SMWR (0xC6, 0x50, 0x33, 0x30)\n
                  //  ^^LPCB.EC0.SMWR (0xC6, 0x50, 0x30, 0x95)\n
                  //  ^^LPCB.EC0.SMWR (0xC6, 0x50, 0x36, 0x07)\n
                  //  ^^LPCB.EC0.SMWR (0xC6, 0x50, 0x37, 0x50)\n
                  //  ^^LPCB.EC0.SMWR (0xC6, 0x50, 0x34, 0x7F)\n
                  //  ^^LPCB.EC0.SMRD (0xC7, 0x50, 0x24, RefOf (Local0))\n
                  //  And (Local0, 0xBF, Local0)\n
                  //  Or (Local0, 0x02, Local0)\n
                  //  ^^LPCB.EC0.SMWR (0xC6, 0x50, 0x24, Local0)\n
                  //  Store (0xFF, CNST)\n
                  //  ADJT ()\n
                //}\n
            }\n
end;
Hi
I have the same laptop, but with nvidia 1070 graphics
I tried your battery fix, but the battery status is fixed at it's initial value and I keep getting the battery error when restarting.
Did the patching work well for you?
Thanks
 
Hi
I have the same laptop, but with nvidia 1070 graphics
I tried your battery fix, but the battery status is fixed at it's initial value and I keep getting the battery error when restarting.
Did the patching work well for you?
Thanks
Finally I used the DSDT you posted, the one called DSDTv3debugnoinit.aml
That was the only one that worked for me. After the first time, patching my own DSDT breaks my system, it does not boot.
Now I have no battery problems, sleep/wake/shutdown/restart works well, native power management working ok.
I also disabled nvme with nvme=-1 arg at boot, so Im just booting with secondary SSD that does not show on bio (I have to manually select the EFI file).
 
Hi RehabMan

Recently, I installed 10.13.6 on the SATA HD of the HP laptop OMEN 15.

Once entering the macOS, the laptop will detect errors as attached. Whether or not it has been shut down or reboot, this mistake has always been shown. To clear this error, I found that this error message was cleared if BIOS was upgraded or press "power button" 3 seconds after the computer crashed.
View attachment 361779


I guess the fault may be related to "EC", so I follow up your guide to fix the DSDT for battery display. The working battery status is ok, but this problem is still pending. I need your help to find out the root cause.

Hardware detail:
  • HM370
  • I7 8750H
  • GTX 1060 6GB
  • NVME PM981 (removed)
  • SATA 1T
  • Thunderbolt III
  • Sound ALC295
  • LAN RTL8168/8111

Thank you very much!

Could you pass me your EFI installation folder, I am wanting to install in my laptop and I am not able to do it, the characteristics are equal to your laptop the difference that my nvidia is 1050
 
Status
Not open for further replies.
Back
Top