adamantinum Posted October 23, 2018 Share Posted October 23, 2018 Hi, one of last issues occurred during the configuration of my laptop is about the battery percentage: I installed ACPIBatteryMemory kext in EFI/CLOVER/kexts/Other and the battery icon is displayed, although it show always 0% if not in charging. Can I modify some parameters in the config.plist to make it working before I try to patch the DSDT? Thank you in advance. Link to comment https://www.insanelymac.com/forum/topic/336126-battery-percentage/ Share on other sites More sharing options...
foskvs Posted October 23, 2018 Share Posted October 23, 2018 Better to patch the DSDT. Link to comment https://www.insanelymac.com/forum/topic/336126-battery-percentage/#findComment-2642651 Share on other sites More sharing options...
Allan Posted October 23, 2018 Share Posted October 23, 2018 1 hour ago, adamantinum said: Can I modify some parameters in the config.plist to make it working Check if this option are enabled: https://clover-wiki.zetam.org/Configuration/SystemParameters#systemparameters_injectkexts Link to comment https://www.insanelymac.com/forum/topic/336126-battery-percentage/#findComment-2642669 Share on other sites More sharing options...
adamantinum Posted October 23, 2018 Author Share Posted October 23, 2018 (edited) Thank you for your replies! Sadly I have to patch the DSDT. I disassembled the DSDT and the SSDTs, but I don't know what patch I have to apply. I suppose one of the two for ASUS laptop, but which? Edited October 23, 2018 by adamantinum Link to comment https://www.insanelymac.com/forum/topic/336126-battery-percentage/#findComment-2642689 Share on other sites More sharing options...
styrian Posted October 23, 2018 Share Posted October 23, 2018 Hello! I would try the patch for the N.... Look in preview if the patches are being accepted and noone is rejected. Boot with the compiled DSDT.aml. Also AC fix could be needed. Before you patch your battery you should do mor common patches and save the aml or dsl files after you have instered a patch afer successfully compiling the next table. If the first mentioned patch is not working, try the one for the Rog laptops. Have fun. 1 Link to comment https://www.insanelymac.com/forum/topic/336126-battery-percentage/#findComment-2642697 Share on other sites More sharing options...
foskvs Posted October 24, 2018 Share Posted October 24, 2018 11 hours ago, adamantinum said: Thank you for your replies! Sadly I have to patch the DSDT. I disassembled the DSDT and the SSDTs, but I don't know what patch I have to apply. I suppose one of the two for ASUS laptop, but which? If you need help, attach your original ACPI tables an we can point you in the right direction. Kerp in mind that pre-existing patches might not be appropriate for your laptop. Link to comment https://www.insanelymac.com/forum/topic/336126-battery-percentage/#findComment-2642769 Share on other sites More sharing options...
adamantinum Posted October 24, 2018 Author Share Posted October 24, 2018 Ok, thanks, I really need help! Here my ACPI! Since I have to patch the DSDT, I also need to add the patch for the I2C HID touchpad because the kexts don't work. In Maciasl I tryed to add the patch for N, but during compilation I received two "syntax error unexpected PARSEOP_ZERO" and a "syntax error unexpected PARSEOP_SCOPE, expecting $end and premature End-Of-File". I fix with the aggressive fix for PARSEOP_ZERO, but then I received a "syntax error PARSEOP_INTEGER". What can I do?. Thank you again! ACPI.zip Link to comment https://www.insanelymac.com/forum/topic/336126-battery-percentage/#findComment-2642827 Share on other sites More sharing options...
foskvs Posted October 24, 2018 Share Posted October 24, 2018 (edited) You first need to correct errors from your original DSDT. These errors occur when variables are called without doing anything to them. Often they are preceded by Return(...) which means an early exit from scope. As those lones won’t be accessed anyway, you can remove them. I’ll take a look at you DSDT when i have some free time. Edit: This is your DSDT without errors (no patch added). Try with this. DSDT.aml.zip Edited October 24, 2018 by foskvs Added DSDT 1 Link to comment https://www.insanelymac.com/forum/topic/336126-battery-percentage/#findComment-2642855 Share on other sites More sharing options...
adamantinum Posted October 24, 2018 Author Share Posted October 24, 2018 2 hours ago, foskvs said: You first need to correct errors from your original DSDT. These errors occur when variables are called without doing anything to them. Often they are preceded by Return(...) which means an early exit from scope. As those lones won’t be accessed anyway, you can remove them. I’ll take a look at you DSDT when i have some free time. Edit: This is your DSDT without errors (no patch added). Try with this. DSDT.aml.zip Thank you very much! Now the battery indicator works! About the touchpad I don't know which of the I2C patches is what I need for my HID... Last question: in ACPI/patched I have a SSDT to disable discrete graphic card, if I use the Clover to boot another system different from MacOS, will the discrete GPU work? Link to comment https://www.insanelymac.com/forum/topic/336126-battery-percentage/#findComment-2642895 Share on other sites More sharing options...
styrian Posted October 24, 2018 Share Posted October 24, 2018 Hello! Yes for sure. Have fun. Link to comment https://www.insanelymac.com/forum/topic/336126-battery-percentage/#findComment-2642897 Share on other sites More sharing options...
adamantinum Posted October 25, 2018 Author Share Posted October 25, 2018 Perfect, thank you! The last thing I have tho do is applying the Voodoo I2C patch, although I receive a PARSEOP_SCOPE error. I know it should be a parenthesis error, but I don't know how to fix it... I ask you all for a last help for it! DSDT.dsl Link to comment https://www.insanelymac.com/forum/topic/336126-battery-percentage/#findComment-2643050 Share on other sites More sharing options...
foskvs Posted October 26, 2018 Share Posted October 26, 2018 Here you go DSDT.dsl.zip Link to comment https://www.insanelymac.com/forum/topic/336126-battery-percentage/#findComment-2643142 Share on other sites More sharing options...
adamantinum Posted October 26, 2018 Author Share Posted October 26, 2018 10 hours ago, foskvs said: Here you go DSDT.dsl.zip Than you! I've applied also the GPIO Controller Enable patch, but touchpad still doesn't work... Link to comment https://www.insanelymac.com/forum/topic/336126-battery-percentage/#findComment-2643239 Share on other sites More sharing options...
foskvs Posted October 26, 2018 Share Posted October 26, 2018 You might need to apply "Windows 10" patch too. Link to comment https://www.insanelymac.com/forum/topic/336126-battery-percentage/#findComment-2643260 Share on other sites More sharing options...
adamantinum Posted October 27, 2018 Author Share Posted October 27, 2018 Done, but it doesn't work. Maybe there is something wrong in the EFI? Link to comment https://www.insanelymac.com/forum/topic/336126-battery-percentage/#findComment-2643378 Share on other sites More sharing options...
Allan Posted October 27, 2018 Share Posted October 27, 2018 Did you clear your NVRam and rebuilding the system cache? Link to comment https://www.insanelymac.com/forum/topic/336126-battery-percentage/#findComment-2643382 Share on other sites More sharing options...
gengik84 Posted October 27, 2018 Share Posted October 27, 2018 1 hour ago, adamantinum said: Done, but it doesn't work. Maybe there is something wrong in the EFI? Attach ioreg and efi folder Link to comment https://www.insanelymac.com/forum/topic/336126-battery-percentage/#findComment-2643388 Share on other sites More sharing options...
adamantinum Posted October 27, 2018 Author Share Posted October 27, 2018 Ok, the EFI is in my signature, here is the IOReg! Thanks! MacBook Pro.ioreg Link to comment https://www.insanelymac.com/forum/topic/336126-battery-percentage/#findComment-2643397 Share on other sites More sharing options...
gengik84 Posted October 27, 2018 Share Posted October 27, 2018 Try.. CLOVER.zip btw I add VoodooI2c kexts in clover folder... Link to comment https://www.insanelymac.com/forum/topic/336126-battery-percentage/#findComment-2643400 Share on other sites More sharing options...
adamantinum Posted October 27, 2018 Author Share Posted October 27, 2018 Thank you very much, it works! Tho only problem is that when I can't drag anything: I'can only do it with the same finger I use to physical click (so I have a reduced motion space) and with the touch it clicks, but I can't drag... 1 Link to comment https://www.insanelymac.com/forum/topic/336126-battery-percentage/#findComment-2643449 Share on other sites More sharing options...
gengik84 Posted October 27, 2018 Share Posted October 27, 2018 check preference Link to comment https://www.insanelymac.com/forum/topic/336126-battery-percentage/#findComment-2643450 Share on other sites More sharing options...
adamantinum Posted October 28, 2018 Author Share Posted October 28, 2018 (edited) Thanks again! I solved with the right preferences! @Allan sorry, I see only now your post, thank you for your time! Edited October 28, 2018 by adamantinum 1 Link to comment https://www.insanelymac.com/forum/topic/336126-battery-percentage/#findComment-2643481 Share on other sites More sharing options...
Recommended Posts