Contribute
Register

[Guide] How to patch DSDT for working battery status

Thanks Rehabman !

battery works now with AppleACPIPlatform from Mavericks !
 
Fresh install.
13 2 0xffffff7f81f64000 0x5c000 0x5c000 com.apple.driver.AppleACPIPlatform (1.3.6) <12 11 7 6 5 4 3>

25 0 0xffffff7f81dff000 0x2b000 0x2b000 com.apple.driver.AppleIntelCPUPowerManagement (218.0.0) <7 6 5 4 3 1>

is it right ?
attached ioreg with dsdt/ssdt
 

Attachments

  • RehabMan.zip
    354.2 KB · Views: 60
13 2 0xffffff7f81f64000 0x5c000 0x5c000 com.apple.driver.AppleACPIPlatform (1.3.6) <12 11 7 6 5 4 3>

25 0 0xffffff7f81dff000 0x2b000 0x2b000 com.apple.driver.AppleIntelCPUPowerManagement (218.0.0) <7 6 5 4 3 1>

is it right ?
attached ioreg with dsdt/ssdt

No. The AppleACPIPlatform.kext is from Snow Leopard.
 
No. The AppleACPIPlatform.kext is from Snow Leopard.

this is ACPI after updating 10.10.2
13 2 0xffffff7f81f8c000 0x5f000 0x5f000 com.apple.driver.AppleACPIPlatform (9.9) <12 11 7 6 5 4 3 1>
 
this is ACPI after updating 10.10.2
13 2 0xffffff7f81f8c000 0x5f000 0x5f000 com.apple.driver.AppleACPIPlatform (9.9) <12 11 7 6 5 4 3 1>

It is not vanilla AppleACPIPlatform.

And...

Please read the rules: http://www.tonymacx86.com/faq.php

"Prerelease Software or Developer Builds are covered by NDA and therefore there cannot be any discussion of features included or removed within said software. The NDA also prohibits the distribution of any component contained within these releases. There will be no discussion of installing, help with installing or documenting the use of this type of software. Repeated violations of this rule will result in a permanent ban."
 
I am using ACPIBatteryManager with Yosemite right now.

But my battery life is only about 1-hour (I usually get 2.5 hours on Windows, 2 hours on Linux)


My DSDT was extracted from Windows. It is totally messy. :(

In EmbededControl field does I did something wrong or this is a normal for a hackintosh pc to have a short battery life(because Yosemite are using XCPM instead of AppleIntelCPUpowermanagement so I can't get totally control of my CPU)

[EDITING] System DSDT.zip
 
Mr RehabMan...
Absolute nice guide as always !!
I'm stack on last paragraph when I must "determine the offsets" and when i patch mine DSDT I have 2 errors because not doing right I think..You may look at please ?
Offset (0x12),
FUSL, 8, //0x12
FUSH, 8, //0x13
FW00,64,//FWBT,64, //!! 0x14
Offset (0x5D),
EXSI, 8, //0x5d
EXSB, 8, //0x60
EXND, 8, //0x61
SMPR, 8, //0x62
SMST, 8, //0x63
SMAD, 8, //0x64
SMCM, 8, //0x65
SM00,256,//SMDA,256, //!!0x66
Am I doing right?
 
Mr RehabMan...
Absolute nice guide as always !!
I'm stack on last paragraph when I must "determine the offsets" and when i patch mine DSDT I have 2 errors because not doing right I think..You may look at please ?
Offset (0x12),
FUSL, 8, //0x12
FUSH, 8, //0x13
FW00,64,//FWBT,64, //!! 0x14
Offset (0x5D),
EXSI, 8, //0x5d
EXSB, 8, //0x60
EXND, 8, //0x61
SMPR, 8, //0x62
SMST, 8, //0x63
SMAD, 8, //0x64
SMCM, 8, //0x65
SM00,256,//SMDA,256, //!!0x66
Am I doing right?

No (basic counting problem). 0x5d+1=0x5e, not 0x60.
 
Ok... I"m confused from others answer-questions in the same post "here".
From the first class of school...if you don"t mine?
When has the "offset" (0x12), we count from here to 0x13, 0x14....
And when the "offset" is (0x5d) we count 0x5c, 0x5d.... Until we found the next 4 letters that needs "fix"
Ok sow far, I get it?
I want help... I'm 1 step before make my first DSDT for the battery to work .
My goall is to post "my??" DSDT to your Laptop patches.
I have 2 errors for SMDA ( after rename it SM00, SM01....) Somewhere in progress I lost it.
I see from other Lenovo patches that not match with mine but I take other example from them and make another but they have errors to.
 
Back
Top