Contribute
Register

[Guide] How to patch DSDT for working battery status

SMD0 offset:
Code:
                Offset (0x5D),
                ENIB,   16, //5d
                ENDD,   8, //5f
                SMPR,   8, //60
                SMST,   8, //61
                SMAD,   8, //62
                SMCM,   8, //63
                SMD0,   256, //64
Thank you, if I get it to work, I´ll post the resulting patch!
 
Thank you, if I get it to work, I´ll post the resulting patch!

There may be an existing patch in the repo that already matches your DSDT...
 
Hi,
I have a Hp Probook 450 g4. So Kaby Lake.

I've successfully installed Sierra 10.12.3. All is ok. WiFi got working with Broadcom BCM94352Z DW1560 NGFF chip.

The only thing I can't get working are battery status and relative cpu power management.

I've tried to patch my dsdt with dsdt/ssdt guide but without any result.

Here my dsdt EmbeddedControl:

OperationRegion (ERAM, EmbeddedControl, Zero, 0xFF)
Field (ERAM, ByteAcc, NoLock, Preserve)
{
Offset (0xF5),
VBPS, 8
}

......

If (LEqual (^^PCI0.LPCB.EC0.GBNT (^^PCI0.LPCB.EC0.VBPS, 0x06), Zero))
{
Or (Local1, 0x04, Local1)
}
Else
{
And (Local1, 0xFFFFFFFFFFFFFFFB, Local1)
}


If I've understood the guide the problem must be if variable VBPS is more than 8 bit. Not this case I think.

So I can't go on.

In attached file it's present also dsdt.dsl where I tried to apply standard patches, such as IRQ Fix, RTC Fix, ecc.

Can someone help me?

Thanks :)

P.S.
Excuse my bad english :)
 

Attachments

  • Config.zip
    832.3 KB · Views: 93
Last edited:
Hi,
I have a Hp Probook 450 g4. So Kaby Lake.

I've successfully installed Sierra 10.12.3. All is ok. WiFi got working with Broadcom BCM94352Z DW1560 NGFF chip.

The only thing I can't get working are battery status and relative cpu power management.

I've tried to patch my dsdt with dsdt/ssdt guide but without any result.

Here my dsdt EmbeddedControl:

OperationRegion (ERAM, EmbeddedControl, Zero, 0xFF)
Field (ERAM, ByteAcc, NoLock, Preserve)
{
Offset (0xF5),
VBPS, 8
}

......

If (LEqual (^^PCI0.LPCB.EC0.GBNT (^^PCI0.LPCB.EC0.VBPS, 0x06), Zero))
{
Or (Local1, 0x04, Local1)
}
Else
{
And (Local1, 0xFFFFFFFFFFFFFFFB, Local1)
}


If I've understood the guide the problem must be if variable VBPS is more than 8 bit. Not this case I think.

So I can't go on.

In attached file it's present also dsdt.dsl where I tried to apply standard patches, such as IRQ Fix, RTC Fix, ecc.

Can someone help me?

Thanks :)

P.S.
Excuse my bad english :)

Your laptop has a guide:
https://www.tonymacx86.com/threads/...book-using-clover-uefi-hotpatch-10-11.189416/
 
Great! Battery management now works correctly.

Conexant audio stop working after that.

To make it work, i removed Fake PIID Intel Audio and changed id 13 in config.plist in volumes section. Using VoodooHDA.kext it works.

Thanks a lot Rehabman for your works!
 
Great! Battery management now works correctly.

Conexant audio stop working after that.

To make it work, i removed Fake PIID Intel Audio and changed id 13 in config.plist in volumes section. Using VoodooHDA.kext it works.

Thanks a lot Rehabman for your works!

My guide does not use VoodooHDA.kext.
If you have an issue, reply in the guide thread and be sure to attach the required files as per guide post #1 "Problem Reporting".
Further discussion here is off-topic.
 
Patch for Acer-Aspire-4830T battery works great on Packard Bell TS11HR. Confirmed. Thanks for a great guide and work!
 
Patch for Acer-Aspire-4830T battery works great on Packard Bell TS11HR. Confirmed. Thanks for a great guide and work!

I will add a comment to that effect. Thanks...
 
Back
Top