jarek1100 Posted December 30, 2016 Share Posted December 30, 2016 I have a problem with the patch DSDT. Here I have a screenshot of the information about the error. Attached is a file with my patch. Who will help me? DSDT.dsl.zip Link to comment https://www.insanelymac.com/forum/topic/319743-problem-dsdt-lenovo-thinkpad-yoga-s1-battery-fix/ Share on other sites More sharing options...
SavageAUS Posted December 30, 2016 Share Posted December 30, 2016 Did you disassemble all ssdt's with your dsdt after you extracted them? What patches have you applied? Sent from my SM-G930F using Tapatalk Link to comment https://www.insanelymac.com/forum/topic/319743-problem-dsdt-lenovo-thinkpad-yoga-s1-battery-fix/#findComment-2341329 Share on other sites More sharing options...
nawcom Posted December 30, 2016 Share Posted December 30, 2016 On line 8430-8431: Return (MDBG) Arg0 that's not a correct statement. it should be: Store (Arg0, MDBG) Return and on line 8461: Method (HRPR, 0, NotSerialized) { OperationRegion (HRPE, SystemMemory, \_GPE.MMTB (0x04), Field (HRPE, DWordAcc, Lock, Preserve) { VDPC, 32 }) should be Method (HRPR, 0, NotSerialized) { OperationRegion (HRPE, SystemMemory, \_GPE.MMTB, 0x04) Field (HRPE, DWordAcc, Lock, Preserve) { VDPC, 32 } fixed version attached DSDT.aml.zip Link to comment https://www.insanelymac.com/forum/topic/319743-problem-dsdt-lenovo-thinkpad-yoga-s1-battery-fix/#findComment-2341350 Share on other sites More sharing options...
MaLd0n Posted December 30, 2016 Share Posted December 30, 2016 fix all errors and warnings and aplly the essencial DSDT.jarek1100.zip Link to comment https://www.insanelymac.com/forum/topic/319743-problem-dsdt-lenovo-thinkpad-yoga-s1-battery-fix/#findComment-2341590 Share on other sites More sharing options...
RehabMan Posted December 30, 2016 Share Posted December 30, 2016 On line 8430-8431: Return (MDBG) Arg0 that's not a correct statement. it should be: Store (Arg0, MDBG) Return No. MDBG is actually a method that takes a single argument. You would need to change the External declaration appropriately: External (MDBG, MethodObj)And fix the code in ADBG: Return(MDBG(Arg0))You can use the iasl -fe option (during disassembly) and provide it with a refs.txt: External(MDBG, MethodObj, 1) It will then never have that issue... Or, since we know that CondRefOf(MDBG) is always false, you can simply remove the code within the CondRefOf block, such that ADBG reads: Method (ADBG, 1, Serialized) { Return (Zero) } Link to comment https://www.insanelymac.com/forum/topic/319743-problem-dsdt-lenovo-thinkpad-yoga-s1-battery-fix/#findComment-2341614 Share on other sites More sharing options...
artur_pt Posted December 30, 2016 Share Posted December 30, 2016 hello should work now ur bat status use rehabman kext for bat https://bitbucket.org/RehabMan/os-x-acpi-battery-driver/downloads DSDT.aml.zip good hack Link to comment https://www.insanelymac.com/forum/topic/319743-problem-dsdt-lenovo-thinkpad-yoga-s1-battery-fix/#findComment-2341629 Share on other sites More sharing options...
nawcom Posted December 31, 2016 Share Posted December 31, 2016 Thanks for correcting that, Rehabman 1 Link to comment https://www.insanelymac.com/forum/topic/319743-problem-dsdt-lenovo-thinkpad-yoga-s1-battery-fix/#findComment-2341661 Share on other sites More sharing options...
Recommended Posts