Contribute
Register

[Guide] Native Power Management for Laptops

Hi! I have problem with SSDT and my CPU!
After generating ssdtPRGen script SSDT.aml i have only 5 states,laptop is hot and i lost sleep timer in Power Save Settings, but sleep is working! Using Clover P-State generation have 4 only.
I attached some info (generated ssdt (ssdtPRGen script), console output, darwinDump, ioreg dump).
View attachment 166911
View attachment 166910
View attachment 166912
View attachment 166913

Download patchmatic: https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/RehabMan-patchmatic-2015-0107.zip
Extract the 'patchmatic' binary from the ZIP. Copy it to /usr/bin, such that you have the binary at /usr/bin/patchmatic.

In terminal,
Code:
if [ -d ~/Downloads/RehabMan ]; then rm -R ~/Downloads/RehabMan; fi
mkdir ~/Downloads/RehabMan
cd ~/Downloads/RehabMan
patchmatic -extract

Note: It is easier if you use copy/paste instead of typing the commands manually.

Post contents of Downloads/RehabMan directory (as ZIP).

Also, post ioreg: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

And output from:
Code:
kextstat|grep -y acpiplat
kextstat|grep -y appleintelcpu
kextstat|grep -y applelpc

Also, post EFI/Clover folder (press F4 at main Clover screen before collecting).

Also post output of:
Code:
sudo touch /System/Library/Extensions && sudo kextcache -u /
 
SMBIOS MB Air 6,2 (4 states):
kextstat|grep -y acpiplat:
Code:
13    2 0xffffff7f81aa7000 0x65000    0x65000    com.apple.driver.AppleACPIPlatform (3.1) <12 11 7 6 5 4 3 1>


kextstat|grep -y appleintelcpu is empty.


kextstat|grep -y applelpc:
Code:
102    0 0xffffff7f81fb6000 0x3000     0x3000     com.apple.driver.AppleLPC (1.7.3) <87 12 5 4 3>


About output this comment sudo touch /System/Library/Extensions && sudo kextcache -u /
This is empty. This for rebuild cache?

I upload EFI, IOReg(MB Air 6,2) and Patchmatic directory on GDrive: https://drive.google.com/folderview?id=0B2xxR_CtCCRFTTZHZlFoSjBWVkU&usp=sharing

MBP11,1 (5 states):
kextstat|grep -y acpiplat:
Code:
13    2 0xffffff7f82334000 0x65000    0x65000    com.apple.driver.AppleACPIPlatform (3.1) <12 11 7 6 5 4 3 1>

kextstat|grep -y appleintelcpu is empty.

kextstat|grep -y applelpc:
Code:
87    0 0xffffff7f81d63000 0x3000     0x3000     com.apple.driver.AppleLPC (1.7.3) <86 12 5 4 3>

MSRDumper output:
Code:
12.12.15 7:49:50,000 kernel[0]: MSRDumper PStatesReached: 8 12 17 22 24

IOReg(MBP 11,1): https://drive.google.com/file/d/0B2xxR_CtCCRFSHlBYW9DSUx1M0k/view?usp=sharing
 
Hi! I have problem with SSDT and my CPU!
After generating ssdtPRGen script SSDT.aml i have only 5 states,laptop is hot and i lost sleep timer in Power Save Settings, but sleep is working! Using Clover P-State generation have 4 only.
I attached some info (generated ssdt (ssdtPRGen script), console output, darwinDump, ioreg dump).
View attachment 166911
View attachment 166910
View attachment 166912
View attachment 166913

Keep in mind ssdtPRgen.sh must be run with the SMBIOS you plan to use. If you change SMBIOS, you must regenerate SSDT.aml after the new SMBIOS is active.

It is normal to not have the sleep timer option for MacBookAir6,2. Just like a real MacBookAir.

I see nothing wrong with either ioreg.
 
Yes, I after change SMBIOS will regenerate ssdt for current Mac model.this problem without solution?
Don't can have more than 5 states?
 
Yes, I after change SMBIOS will regenerate ssdt for current Mac model.this problem without solution?
Don't can have more than 5 states?

You should test pstates with AppleIntelInfo.kext. The longer you monitor, the more pstates may be captured.
 
Great! Using AppleIntelInfo kext i see more states:
Code:
AICPUPMI: CPU P-States [ (8) 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 ] iGPU P-States [ 11 12 (19) 20 ]
But used 8 12 17 22 24 states only!
This is normal?
 
Great! Using AppleIntelInfo kext i see more states:
Code:
12.12.15 19:20:48,000 kernel[0]: AICPUPMI: CPU P-States [ (8) 9 10 11 12 13 14 15 16 17 18 19 20 21 22 24 ] iGPU P-States [ (11) 12 ]
But used 8 12 17 22 24 states only!
This is normal?

You will likely see more states the longer you monitor (it is random sampling).

Your PM is working.

I'm not sure why you write "But used 8 12 17 22 24 states only!"

It is clear from your output that states "8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 24" were used.
 
Thanks you for great help and support!

You will likely see more states the longer you monitor (it is random sampling).

Your PM is working.

I'm not sure why you write "But used 8 12 17 22 24 states only!"

It is clear from your output that states "8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 24" were used.

I see only this values in brackets (and other monitor).
 
Not sure what you're trying to say...

Sorry for my bad english.
When i using AppleIntelInfo kext, i see P-States [ (8) 9 10 11 12 13 14 15 16 17 18 19 20 21 22 24 ]
In brackets displaying current P-State (here it is 8).
After long use laptop, i see AppleIntelInfo messaging in console with changing P-States array, but in all messages in array in brackets only number 8, 12, 17, 22 and 24!
In other monitor software (HWMonitor, MSRDumper kext) i see only 8, 12, 17, 22 and 24 states!
 
Back
Top