tim687 Posted March 9, 2015 Share Posted March 9, 2015 Hello!! Yesterday I've installed OS X 10.10.2 on my Asus UL50AG. Today I got the WiFi fixed, so I'm almost there. There is one thing I really want, the battery info. I've attached a 'patched' DSDT of my laptop. Well it's not working, but never the less. When I boot with the -v flag, I quickly see some things flying at the screen, one of them is some kind of ACPI error with the SB.PCI0.SMRG.ECO_.SMBR and with the SB.PCI0.BAT0_BST The last one, I think, has to do with the battery. It throws AE_BAD_PARAMETER to me, and I don't know what that means. If anybody can help me out with this headache, Please! I've attached the original DSDT and the 'patched' one. Tim patched battery dsdt.zip dsdt.zip Link to comment Share on other sites More sharing options...
buoo Posted March 9, 2015 Share Posted March 9, 2015 These patches look like mostly compatible with your hardware. Check if changes are required. https://github.com/RehabMan/Laptop-DSDT-Patch/blob/master/battery/battery_ASUS-G75vw.txt Link to comment Share on other sites More sharing options...
tim687 Posted May 25, 2015 Author Share Posted May 25, 2015 Sorry for this very very very late reply, the patching went perfect. No corrections were needed. Just waiting for an installation to complete before I'll reboot and test the dsdt patch. I'll keep you updated! Right now I'm having a trouble booting the system at all, don't know if that's because the dsdt. I got the spinning cursor of death at the login screen. Link to comment Share on other sites More sharing options...
tim687 Posted May 25, 2015 Author Share Posted May 25, 2015 I got a strange bug at the battery percentage, the os itself isn't showing anything, but HWMonitor is showing something Link to comment Share on other sites More sharing options...
RehabMan Posted May 25, 2015 Share Posted May 25, 2015 I got a strange bug at the battery percentage, the os itself isn't showing anything, but HWMonitor is showing something Check the box to show it on menu bar. Link to comment Share on other sites More sharing options...
tim687 Posted May 25, 2015 Author Share Posted May 25, 2015 Sorry forgot to mention, when I do that, it instantly turns back off Link to comment Share on other sites More sharing options...
RehabMan Posted May 25, 2015 Share Posted May 25, 2015 Sorry forgot to mention, when I do that, it instantly turns back off Problem with DSDT. Check logs with debug ACPIBatteryManager.kext. Link to comment Share on other sites More sharing options...
tim687 Posted May 25, 2015 Author Share Posted May 25, 2015 Should I enter debug ACPIBatteryManager.kext in the terminal? I think that's going to be the dat after tomorrow when I've time to do that Link to comment Share on other sites More sharing options...
RehabMan Posted May 25, 2015 Share Posted May 25, 2015 Should I enter debug ACPIBatteryManager.kext in the terminal? I think that's going to be the dat after tomorrow when I've time to do that https://github.com/RehabMan/OS-X-ACPI-Battery-Driver Also, ACPIDebug.kext can be useful for debugging DSDT: https://github.com/RehabMan/OS-X-ACPI-Debug Chances are you're doing something fundamentally wrong though: - using DSDT from another computer - using incorrect DSDT patches - DSDT not patched for _OSI "Darwin" check - wrong version of AppleACPIPlatform.kext installed etc.etc.. Link to comment Share on other sites More sharing options...
tim687 Posted May 25, 2015 Author Share Posted May 25, 2015 Thanks man your awesome! Alot of good stuff has come from you! Link to comment Share on other sites More sharing options...
tim687 Posted May 28, 2015 Author Share Posted May 28, 2015 With your amazing debugger, I found out that some of the battery stats are actually transmitted into the right part of the dsdt table. However not everything is transmitted though. I've attached my dsdt, IORegistry export file and my system.log. It would be awesome if you can help me out with this! Battery patch question.zip Link to comment Share on other sites More sharing options...
RehabMan Posted May 28, 2015 Share Posted May 28, 2015 With your amazing debugger, I found out that some of the battery stats are actually transmitted into the right part of the dsdt table. However not everything is transmitted though. I've attached my dsdt, IORegistry export file and my system.log. It would be awesome if you can help me out with this! The ioreg was not captured with IORegistryExplorer v2.1. If you want me to look at it, use v2.1. I don't use VoodooBattery. ACPIBatteryManager: https://github.com/RehabMan/OS-X-ACPI-Battery-Driver Link to comment Share on other sites More sharing options...
tim687 Posted May 28, 2015 Author Share Posted May 28, 2015 I'll take a look at it tomorrow and post the up to date ioreg If I use your battery next do I need to rewrite the whole dsdt battery system? Link to comment Share on other sites More sharing options...
RehabMan Posted May 28, 2015 Share Posted May 28, 2015 I'll take a look at it tomorrow and post the up to date ioreg If I use your battery next do I need to rewrite the whole dsdt battery system? Battery patches required are the same with ACPIBatteryManager as any other kext. Link to comment Share on other sites More sharing options...
tim687 Posted May 29, 2015 Author Share Posted May 29, 2015 The ioreg was not captured with IORegistryExplorer v2.1. If you want me to look at it, use v2.1. I don't use VoodooBattery. ACPIBatteryManager: https://github.com/RehabMan/OS-X-ACPI-Battery-Driver I'll post the IOReg with v2.1 in a minute, I'm using v3.0.2. I'll also install your battery ACPI kext EDIT: Here is the new archive with the IOREg v2.1 Battery patch question 2.zip Link to comment Share on other sites More sharing options...
RehabMan Posted May 29, 2015 Share Posted May 29, 2015 I'll post the IOReg with v2.1 in a minute, I'm using v3.0.2. I'll also install your battery ACPI kext EDIT: Here is the new archive with the IOREg v2.1 I don't see much wrong from ioreg. Although is is *really old hardware*, and I don't have much experience with the old stuff... Could be a problem that "Serial" is empty. Link to comment Share on other sites More sharing options...
tim687 Posted May 29, 2015 Author Share Posted May 29, 2015 But how do I find the values that are in the IOReg? How can I link the values to each other? Link to comment Share on other sites More sharing options...
RehabMan Posted May 29, 2015 Share Posted May 29, 2015 But how do I find the values that are in the IOReg? How can I link the values to each other? But how do I find the values that are in the IOReg? How can I link the values to each other? Look under BAT0->AppleSmartBatteryManager->AppleSmartBattery. Link to comment Share on other sites More sharing options...
tim687 Posted May 29, 2015 Author Share Posted May 29, 2015 I see those values, but where are those located in the DSDT? Link to comment Share on other sites More sharing options...
RehabMan Posted May 29, 2015 Share Posted May 29, 2015 I see those values, but where are those located in the DSDT? They don't come directly from DSDT. They are created by ACPIBatteryManager.kext after querying DSDT _BST/_BIF methods. Read the ACPI spec for more info. Link to comment Share on other sites More sharing options...
tim687 Posted May 29, 2015 Author Share Posted May 29, 2015 Thanks I'll try something out. Another off-topic question, is the numlock patchable with DSDT aswel? The numlock doesn't work I've found something in the pdf's you got linked at the github page, but there aren't any addresses? in there. How do I know what is what? PDF: http://www.acpi.info/DOWNLOADS/ACPI_5_Errata%20A.pdf page 533 EDIT: I've found the right parameter, how do I pass it to the system? Link to comment Share on other sites More sharing options...
RehabMan Posted May 29, 2015 Share Posted May 29, 2015 Macs don't have numlock. You can use Karabiner to make it work. Link to comment Share on other sites More sharing options...
tim687 Posted May 29, 2015 Author Share Posted May 29, 2015 Macs don't have numlock. You can use Karabiner to make it work. Thanks! What about the battery capacity remaining value? I got the right value, but it itsn't passed to the system. Link to comment Share on other sites More sharing options...
RehabMan Posted May 29, 2015 Share Posted May 29, 2015 Thanks! What about the battery capacity remaining value? I got the right value, but it itsn't passed to the system. It looked ok in ioreg. Link to comment Share on other sites More sharing options...
tim687 Posted May 29, 2015 Author Share Posted May 29, 2015 Jup your right, suddenly the battery icon appeared! Thanks for all of your advice! EDIT: This is very very very strange, Using the Clover bootloader the battery doesn't work, using Chameleon it does. I've installed your kext in the /S/L/E/ folder and not in the clover folder. In the attachement you'll see the patches I've checked. Clover bootloader problem.zip Link to comment Share on other sites More sharing options...
Recommended Posts