Contribute
Register

Power Management for Sandy Bridge/Ivy Bridge/Haswell/other Laptops

Power Management for Sandy Bridge and Ivy Bridge Laptops

...
Here is a quick Ivy/Sandy Bridge Power Management checklist:

- patched AppleIntelCPUPowerManagement installed
- SSDT installed to /Extra/ssdt.aml for your CPU (easiest to use ProBook Installer)
- appropriate System Definition (smbios.plist) for your CPU
- DropSSDT=Yes, GeneratePStates=No, GenerateCStates=No
- no rollbacks of AppleACPIPlatform.kext
- no NullCPUPowerManagement.kext (usually implies patched AppleIntelCPUPowerManagement)
- Processor objects declared in Scope (_SB) in DSDT (pretty rare not to have them in OEM DSDT)

Note: For Sandy Bridge PM, it is possible to run a rollback of AppleACPIPlatform.kext but it is discouraged. Watch out for battery manager packages that include a rolled back AppleACPIPlatform.kext.

Note: Running stock AppleACPIPlatform.kext means any DSDT methods that manipulate EC (EmbeddedControl) registers larger than 8-bits will not work and will cause the method to fail. These methods must be patched. Access to such registers is common in DSDT battery methods. Some patches are provided at my laptop DSDT patch repository at: https://github.com/RehabMan/Laptop-DSDT-Patch

RehabMan,

1. Does everything in your checklist still applies if using Clover? Such as
- patched AppleIntelCPUPowerManagement
- appropriate System Definition (smbios.plist) for your CPU
- DropSSDT=Yes, GeneratePStates=No, GenerateCStates=No

2. What do you mean by no rollbacks of AppleACPIPlatform.kext? You mean use AppleACPIPlatform.kext from a previous version of OSX?

Thanks!
 
Power Management for Sandy Bridge and Ivy Bridge Laptops

RehabMan,

1. Does everything in your checklist still applies if using Clover? Such as
- patched AppleIntelCPUPowerManagement
- appropriate System Definition (smbios.plist) for your CPU
- DropSSDT=Yes, GeneratePStates=No, GenerateCStates=No

The details are different, but all still apply to Clover.

2. What do you mean by no rollbacks of AppleACPIPlatform.kext? You mean use AppleACPIPlatform.kext from a previous version of OSX?

Correct. To clarify, I mean "Do not use AppleACPIPlatform.kext from a previous version of OS X."
 
Power Management for Sandy Bridge and Ivy Bridge Laptops

The details are different, but all still apply to Clover.

Correct. To clarify, I mean "Do not use AppleACPIPlatform.kext from a previous version of OS X."

Good to know, couple more questions about the detail please


1. DropSSDT=Yes, GeneratePStates=No, GenerateCStates=No

I take the following snip from config.plist of the "Acer Aspire 5750G with Mavericks (10.9) Clover Install Guide" of the forum. In this case, it specify both patched SSDT.aml and DSDT.aml, it also "Generate" both p-state and c-state if I understand correctly. How should we apply "DropSSDT=Yes, GeneratePStates=No, GenerateCStates=No" here?

<dict>
<key>DSDT</key>
<dict>
<key>Name</key>
<string>DSDT.aml</string>
</dict>
<key>SSDT</key>
<dict>
<key>Name</key>
<string>SSDT.aml</string>
</dict>
<key>Generate</key>
<true/>
<key>SmartUPS</key>
<string>2</string>
</dict>


2. Appropriate System Definition (smbios.plist) for your CPU

That should be taken care of by patched SSDT.aml?

Thanks!
 
Power Management for Sandy Bridge and Ivy Bridge Laptops

Good to know, couple more questions about the detail please


1. DropSSDT=Yes, GeneratePStates=No, GenerateCStates=No

I take the following snip from config.plist of the "Acer Aspire 5750G with Mavericks (10.9) Clover Install Guide" of the forum. In this case, it specify both patched SSDT.aml and DSDT.aml, it also "Generate" both p-state and c-state if I understand correctly. How should we apply "DropSSDT=Yes, GeneratePStates=No, GenerateCStates=No" here?

<dict>
<key>DSDT</key>
<dict>
<key>Name</key>
<string>DSDT.aml</string>
</dict>
<key>SSDT</key>
<dict>
<key>Name</key>
<string>SSDT.aml</string>
</dict>
<key>Generate</key>
<true/>
<key>SmartUPS</key>
<string>2</string>
</dict>

SSDT management in Clover is more complex/flexible. If you want to know the details, read the Clover wiki. You might look at the config.plist files provided here for clues: http://www.tonymacx86.com/hp-probook-mavericks/112383-guide-install-mavericks-clover-bootloader.html

2. Appropriate System Definition (smbios.plist) for your CPU

That should be taken care of by patched SSDT.aml?

No. Smbios is separate/independent from SSDT. In clover it is controlled via SMBIOS section of config.plist.

Also, there is no patching going on with the SSDT.aml being discussed. It is generated via script.
 
Power Management for Sandy Bridge and Ivy Bridge Laptops

My default Clover config.plist has SSDT Pstate and CState generated, and it did not specify a SSDT.aml file. I do have the AppleIntelCPUPowerManagement pached using Multibeast.

How do I know for sure my CPU PowerManagement works?

I tried DPCIManager and clicked the P-State on the top, the mouse cursor then starts turning forever like this:beachball: .
 
Power Management for Sandy Bridge and Ivy Bridge Laptops

My default Clover config.plist has SSDT Pstate and CState generated, and it did not specify a SSDT.aml file. I do have the AppleIntelCPUPowerManagement pached using Multibeast.

How do I know for sure my CPU PowerManagement works?

I tried DPCIManager and clicked the P-State on the top, the mouse cursor then starts turning forever like this:beachball: .

It is a good idea to read the entire thread related to software you may be using (in this case DPCIManager): http://www.tonymacx86.com/general-help/87342-dpcimanager-1-5-open-beta-6.html#post771931
 
Power Management for Sandy Bridge and Ivy Bridge Laptops

Tried the workaround of the tool. Thanks!

It appears my Pstate works:

2014-04-23, 10:13:31 PM, Current State: 112014-04-23, 10:13:31 PM, P States: 8, 11, 15, 19, 22, 24, 26, 28
2014-04-23, 10:13:26 PM, Current State: 28
2014-04-23, 10:13:26 PM, P States: 8, 11, 15, 19, 22, 24, 26, 28
2014-04-23, 10:13:21 PM, Current State: 19
2014-04-23, 10:13:21 PM, P States: 8, 11, 15, 19, 22, 24, 26, 28
2014-04-23, 10:13:16 PM, Current State: 15
2014-04-23, 10:13:16 PM, P States: 8, 11, 15, 19, 22, 24, 26, 28
2014-04-23, 10:13:11 PM, Current State: 19
2014-04-23, 10:13:11 PM, P States: 8, 11, 15, 19, 22, 24, 26, 28
2014-04-23, 10:13:06 PM, Current State: 28
2014-04-23, 10:13:06 PM, P States: 8, 11, 15, 19, 22, 24, 26, 28
2014-04-23, 10:13:01 PM, Current State: 19
2014-04-23, 10:13:01 PM, P States: 8, 11, 15, 19, 22, 24, 26, 28
2014-04-23, 10:12:56 PM, Current State: 19
2014-04-23, 10:12:56 PM, P States: 8, 11, 15, 19, 22, 24, 26, 28
2014-04-23, 10:12:51 PM, Current State: 11
2014-04-23, 10:12:51 PM, P States: 8, 11, 15, 19, 22, 24, 26, 28
2014-04-23, 10:12:46 PM, Current State: 8
2014-04-23, 10:12:46 PM, P States: 8, 11, 15, 19, 22, 24, 26, 28
2014-04-23, 10:12:41 PM, Current State: 8


I have both SSDT.aml in patched folder and the following in config.plist, so I am not sure which one made it work.

<key>SSDT</key> <dict>
<key>Generate</key>
<dict>
<key>CStates</key>
<true/>
<key>PStates</key>
<true/>
</dict>
<key>EnableC7</key>
<false/>
<key>EnableC6</key>
<true/>
<key>EnableC4</key>
<false/>
<key>EnableC2</key>
<false/>
</dict>
 
Power Management for Sandy Bridge and Ivy Bridge Laptops

It is a good idea to read the entire thread related to software you may be using (in this case DPCIManager): http://www.tonymacx86.com/general-help/87342-dpcimanager-1-5-open-beta-6.html#post771931

Hi RehabMan, DPCIManager show this informations for me, is that correct to my configuration ?



21/05/2014 00:55:20, P States: 12, 22, 24
21/05/2014 00:54:56, Current State: 12
21/05/2014 00:54:56, P States: 12, 22, 24
21/05/2014 00:54:51, Current State: 12
21/05/2014 00:54:51, P States: 12, 22, 24
21/05/2014 00:54:46, Current State: 22
21/05/2014 00:54:46, P States: 12, 22, 24
21/05/2014 00:54:41, Current State: 22
21/05/2014 00:54:41, P States: 12, 22, 24
21/05/2014 00:54:36, Current State: 24
21/05/2014 00:54:36, P States: 12, 22, 24
21/05/2014 00:54:31, Current State: 12
21/05/2014 00:54:31, P States: 12, 22, 24
21/05/2014 00:54:26, Current State: 12
21/05/2014 00:54:26, P States: 12, 22, 24
21/05/2014 00:54:21, Current State: 22
21/05/2014 00:54:21, P States: 12, 22, 24
21/05/2014 00:54:16, Current State: 12
21/05/2014 00:54:16, P States: 12, 22, 24
21/05/2014 00:54:11, Current State: 22
21/05/2014 00:54:11, P States: 12, 22, 24
21/05/2014 00:54:06, Current State: 12
21/05/2014 00:54:06, P States: 12, 22, 24
21/05/2014 00:54:01, Current State: 12
21/05/2014 00:54:01, P States: 12, 22, 24
21/05/2014 00:53:56, Current State: 22
21/05/2014 00:53:56, P States: 12, 22, 24
21/05/2014 00:53:51, Current State: 22
21/05/2014 00:53:51, P States: 22
21/05/2014 00:53:50, kernel[0]: DirectHW: Driver v1.3 (compiled on Aug 17 2013) loaded. Visit http://www.coresystems.de/ for more information.
21/05/2014 00:53:50, com.apple.kextd[14]: kext com.coresystems.driver.DirectHW 103009000 is in exception list, allowing to load

Thanks.
 
Power Management for Sandy Bridge and Ivy Bridge Laptops

Hi RehabMan, DPCIManager show this informations for me, is that correct to my configuration ?



21/05/2014 00:55:20, P States: 12, 22, 24
21/05/2014 00:54:56, Current State: 12
21/05/2014 00:54:56, P States: 12, 22, 24
21/05/2014 00:54:51, Current State: 12
21/05/2014 00:54:51, P States: 12, 22, 24
21/05/2014 00:54:46, Current State: 22
21/05/2014 00:54:46, P States: 12, 22, 24
21/05/2014 00:54:41, Current State: 22
21/05/2014 00:54:41, P States: 12, 22, 24
21/05/2014 00:54:36, Current State: 24
21/05/2014 00:54:36, P States: 12, 22, 24
21/05/2014 00:54:31, Current State: 12
21/05/2014 00:54:31, P States: 12, 22, 24
21/05/2014 00:54:26, Current State: 12
21/05/2014 00:54:26, P States: 12, 22, 24
21/05/2014 00:54:21, Current State: 22
21/05/2014 00:54:21, P States: 12, 22, 24
21/05/2014 00:54:16, Current State: 12
21/05/2014 00:54:16, P States: 12, 22, 24
21/05/2014 00:54:11, Current State: 22
21/05/2014 00:54:11, P States: 12, 22, 24
21/05/2014 00:54:06, Current State: 12
21/05/2014 00:54:06, P States: 12, 22, 24
21/05/2014 00:54:01, Current State: 12
21/05/2014 00:54:01, P States: 12, 22, 24
21/05/2014 00:53:56, Current State: 22
21/05/2014 00:53:56, P States: 12, 22, 24
21/05/2014 00:53:51, Current State: 22
21/05/2014 00:53:51, P States: 22
21/05/2014 00:53:50, kernel[0]: DirectHW: Driver v1.3 (compiled on Aug 17 2013) loaded. Visit http://www.coresystems.de/ for more information.
21/05/2014 00:53:50, com.apple.kextd[14]: kext com.coresystems.driver.DirectHW 103009000 is in exception list, allowing to load

Thanks.

You should probably try with a recent AppleIntelCPUPowerManagementInfo.kext.

DPCIManager is unlikely to show as many states as are actually happening... See: http://www.tonymacx86.com/mavericks...vericks-native-cpu-igpu-power-management.html
 
Back
Top