Contribute
Register

[Guide] How to patch DSDT for working battery status

sorry about that.
here is the file

MacBookPro11,4 is a poor choice. Use MacBookPro11,1.
CPU PM not implemented (guide is linked from the FAQ).
Too many Fixes in config.plist/ACPI/DSDT/Fixes.
You should not be dropping CPU related SSDTs.
Your ACPI configuration is wrong.
You should have used a config.plist from my guide (CPU PM would already be working):
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/
After getting a new config.plist, start over with ACPI patching.
See guide:
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/

Your profile indicates you only have Intel graphics, but your Clover bootlog contradicts (it shows Nvidia):
Code:
0:100  0:000  PCI (00|01:00.00) : 10DE 1392 class=030200
Please fix your profile as per FAQ:
http://www.tonymacx86.com/el-capita...faq-read-first-laptop-frequent-questions.html
 
I made a battery patch for the Lenovo V510-15ikb. Seems to work okay. (Y) You can put it up on your repo RehabMan.
 

Attachments

  • V510-15ikb Battery patch.txt
    7.9 KB · Views: 99
  • DSDT.aml.zip
    39.9 KB · Views: 65
I made a battery patch for the Lenovo V510-15ikb. Seems to work okay. (Y) You can put it up on your repo RehabMan.

As per post #1, all new patches must be accompanied by native DSDT.aml, ... read post #1, "Contributing".
 
MacBookPro11,4 is a poor choice. Use MacBookPro11,1.
CPU PM not implemented (guide is linked from the FAQ).
Too many Fixes in config.plist/ACPI/DSDT/Fixes.
You should not be dropping CPU related SSDTs.
Your ACPI configuration is wrong.
You should have used a config.plist from my guide (CPU PM would already be working):
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/
After getting a new config.plist, start over with ACPI patching.
See guide:
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/

Your profile indicates you only have Intel graphics, but your Clover bootlog contradicts (it shows Nvidia):
Code:
0:100  0:000  PCI (00|01:00.00) : 10DE 1392 class=030200
Please fix your profile as per FAQ:
http://www.tonymacx86.com/el-capita...faq-read-first-laptop-frequent-questions.html

-done. using MacBookPro11,1 now
-looks like my CPU PM already working. im using intel power gadget to see CPU freq. image attached
-ACPI/DSDT/Fixes same as yours now (i'm using "config copy.plist")
-done.
-"Your ACPI configuration is wrong." can you be more spesific about this please? i don't understand whats wrong

and also i already patched my DSDT with common patched in https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/

still got that problem when i sleep my laptop on battery, it sleep normally but when i wake it just reboot.
if i sleep when charger is plugged in, it reboot.
 

Attachments

  • Asus G750.zip
    4.3 MB · Views: 97
  • Screen Shot 2017-12-15 at 15.17.08.png
    Screen Shot 2017-12-15 at 15.17.08.png
    107.3 KB · Views: 94
Last edited:
-done. using MacBookPro11,1 now
-looks like my CPU PM already working. im using intel power gadget to see CPU freq. image attached
-ACPI/DSDT/Fixes same as yours now (i'm using "config copy.plist")
-done.
-"Your ACPI configuration is wrong." can you be more spesific about this please? i don't understand whats wrong

and also i already patched my DSDT with common patched in https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/

still got that problem when i sleep my laptop on battery, it sleep normally but when i wake it just reboot.
if i sleep when charger is plugged in, it reboot.

CPU PM is now working (due to config.plist/ACPI/SSDT/Generate/PluginType=true)

Do not use the Clover feature for choosing a plist other than config.plist. It does not work 100% (and I just haven't bothered to completely investigate and fix it... and neither has anyone else).

Use only config.plist as your plist.

As for ACPI patching/configuration, read the guide:
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
(start with a config.plist from my guide and the latest RehabMan Clover build, only include the SSDTs that need patching in ACPI/patched)

Pay special attention to "Recommended configurations"... because your current setup is not conforming and is wrong (you have dynamic SSDTs in ACPI/patched, SSDTs that don't need patching, AutoMerge=true not present).
 
CPU PM is now working (due to config.plist/ACPI/SSDT/Generate/PluginType=true)

Do not use the Clover feature for choosing a plist other than config.plist. It does not work 100% (and I just haven't bothered to completely investigate and fix it... and neither has anyone else).

Use only config.plist as your plist.

As for ACPI patching/configuration, read the guide:
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
(start with a config.plist from my guide and the latest RehabMan Clover build, only include the SSDTs that need patching in ACPI/patched)

Pay special attention to "Recommended configurations"... because your current setup is not conforming and is wrong (you have dynamic SSDTs in ACPI/patched, SSDTs that don't need patching, AutoMerge=true not present).

using your clover build now (v4359 RehabMan)
already rename "config copy.plist" to config.plist.
now im using partial hotpatch with patched SSDTs
SSDT-5 and SSDT-6 patched for disable discrete graphics.
SSDT-11 for disable nvidia too
SSDT-PNLF for backlight

this is my new files
 

Attachments

  • Asus G750.zip
    3.4 MB · Views: 67
using your clover build now (v4359 RehabMan)
already rename "config copy.plist" to config.plist.
now im using partial hotpatch with patched SSDTs
SSDT-5 and SSDT-6 patched for disable discrete graphics.
SSDT-11 for disable nvidia too
SSDT-PNLF for backlight

this is my new files

Why the "Brcm4360 Wifi" patch in ACPI/DSDT/Patches? (seems like more of a kext patch).
HDAS->HDEF not needed with Haswell (typically only Skylake and later use HDAS)

Your SystemMemory addresses are out-of-sync:
Code:
NUC6i7KYK:patched rehabman$ diff ../origin/ ../patched/|grep SystemMemory
<     OperationRegion (GNVS, SystemMemory, 0x7AAFBC18, 0x02B2)
>     OperationRegion (GNVS, SystemMemory, 0x7AB04C18, 0x02B2)

You probably made a BIOS setting change, BIOS upgrade, or hardware change since you extracted DSDT.aml.
As per ACPI patching guide, you must re-extract, re-patch after any such change (or use hotpatch only).

Why is SSDT-11.aml in ACPI/patched? There is no such file in ACPI/origin.
 
Why the "Brcm4360 Wifi" patch in ACPI/DSDT/Patches? (seems like more of a kext patch).
HDAS->HDEF not needed with Haswell (typically only Skylake and later use HDAS)

Your SystemMemory addresses are out-of-sync:
Code:
NUC6i7KYK:patched rehabman$ diff ../origin/ ../patched/|grep SystemMemory
<     OperationRegion (GNVS, SystemMemory, 0x7AAFBC18, 0x02B2)
>     OperationRegion (GNVS, SystemMemory, 0x7AB04C18, 0x02B2)

You probably made a BIOS setting change, BIOS upgrade, or hardware change since you extracted DSDT.aml.
As per ACPI patching guide, you must re-extract, re-patch after any such change (or use hotpatch only).

Why is SSDT-11.aml in ACPI/patched? There is no such file in ACPI/origin.

Brcm4360 and HDAS>HDEF disabled now.
i never change any BIOS setting or upgrade. is that cause a problem if i use hard disk EFI before then i use USB EFI now ? because im installing your clover build on my USB, not on my harddisk EFI before.

actually SSDT-11 is for disabling nvidia when i first install high sierra. if i delete that SSDT, my screen will garbled. dunno if there is a problem if i delete it now after manually patched my SSDT
 
Back
Top