Contribute
Register

Asus r510vx Skylake - battery status

Status
Not open for further replies.
Joined
Oct 4, 2016
Messages
44
Motherboard
ASUS PRIME Z370M-PLUS II
CPU
i9-9900K
Graphics
Radeon VII
Hello,
I managed to get my El Capitan up and running on this laptop, I just have to figure out to get the battery status up and running.
Right now I just get a low battery status after installing the Kext by RehabMan.



I am reading these resources right now:
https://github.com/RehabMan/Laptop-DSDT-Patch/blob/master/battery/battery_ASUS-N55SL.txt
https://www.tonymacx86.com/threads/guide-how-to-patch-dsdt-for-working-battery-status.116102/

Therefore I downloaded:
RehabMan-MaciASL-2016-0423.zip


Previously I did what is described here for ACPI
https://www.tonymacx86.com/threads/guide-native-power-management-for-laptops.175801/

and placed the aml file in the proper directory.

Now since I do not have experience with Assembly, I really do not understand what I should do.


I noticed that the compiler when checking the .dsl file syntax without modifying anything gives me some syntax error if I try to compile the file. Is it normal?

EDIT:
Maybe I should open another thread, but I have pretty much the same issue with backlight. I would like to brighten or dimmer the display brightness with F1 and F2, but right now nothing happens after installing the proper Kext cos I don't get the whole process.

Thank you very much for your help.

Regards,
Davide
 

Attachments

  • Asus r510vx .dsl
    1.2 MB · Views: 101
  • ASUS.txt
    41.9 KB · Views: 179
  • lspci.txt
    1.9 KB · Views: 91
  • Screen Shot 2016-10-16 at 13.02.23.png
    Screen Shot 2016-10-16 at 13.02.23.png
    3.3 MB · Views: 196
Last edited:
OK, I applied the patch (I watched a video on Youtube that explains the process), I have 0 rejected, but I keep having the errors in the screenshot, which I had before patching as well.
 
Close to what this guy has (used Google Translator)
http://bbs.pcbeta.com/forum.php?mod=viewthread&tid=1684654

The file was removed by Chinese Great Wall.
I could compare the two files (the patched version and my "broken" one) with sublimetext and find the differences to
see what I had to modify.
You can register on their forum only with invitation.

So now I am all in your hands.

Hope someone will help me.

Thank you.

Deviad
 
Last edited:
Hello,
I managed to get my El Capitan up and running on this laptop, I just have to figure out to get the battery status up and running.
Right now I just get a low battery status after installing the Kext by RehabMan.



I am reading these resources right now:
https://github.com/RehabMan/Laptop-DSDT-Patch/blob/master/battery/battery_ASUS-N55SL.txt
https://www.tonymacx86.com/threads/guide-how-to-patch-dsdt-for-working-battery-status.116102/

Therefore I downloaded:
RehabMan-MaciASL-2016-0423.zip


Previously I did what is described here for ACPI
https://www.tonymacx86.com/threads/guide-native-power-management-for-laptops.175801/

and placed the aml file in the proper directory.

Now since I do not have experience with Assembly, I really do not understand what I should do.


I noticed that the compiler when checking the .dsl file syntax without modifying anything gives me some syntax error if I try to compile the file. Is it normal?

EDIT:
Maybe I should open another thread, but I have pretty much the same issue with backlight. I would like to brighten or dimmer the display brightness with F1 and F2, but right now nothing happens after installing the proper Kext cos I don't get the whole process.

Thank you very much for your help.

Regards,
Davide

https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
 
Hello Rehab,
based on your tutorial I obtained my dal files, hereby I will attach the archive with my dsdt and ssdt files.
Still getting the same errors when using maciasl against DSDT.dsl.

Thank you.
 

Attachments

  • Archive.zip
    123.4 KB · Views: 67
Hello Rehab,
based on your tutorial I obtained my dal files, hereby I will attach the archive with my dsdt and ssdt files.
Still getting the same errors when using maciasl against DSDT.dsl.

Thank you.

Attach all native DSDT+SSDT files.
 
Solved, I just used some programming skills without worrying too much.
In programming if you have a return, the rest of the code is unreachable, so I just deleted the rest within that scope and so forth. Problem solved. :))

Battery status working, now I need to see why the patch for backlight did not work.

I installed your Kext (OSX Intel Backlight) for backlight, however now I am clueless with this:
<key>AddPNLF_1000000</key>
<true/>

as I am using Clover's "new way" as per your config.plist for HD530.
 
Last edited:
Solved, I just used some programming skills without worrying too much.
In programming if you have a return, the rest of the code is unreachable, so I just deleted the rest within that scope and so forth. Problem solved. :))

Note that the return you refer to is conditional, therefore the code following is not unreachable.
Your mistake was incorrect disassembly procedures.

I installed your Kext (OSX Intel Backlight) for backlight, however now I am clueless with this:
<key>AddPNLF_1000000</key>
<true/>

https://www.tonymacx86.com/threads/guide-patching-dsdt-ssdt-for-laptop-backlight-control.152659/
 

Attachments

  • DSDT-SSDTs.zip
    64.3 KB · Views: 75
Last edited:
I tried with Linux and when I compile them with Maciasl, I get even more errors.
 
Status
Not open for further replies.
Back
Top