Contribute
Register

[Guide] Native Power Management for Laptops

I wish that pstate and power management work.
I have only 2 pstate (12x and 24x) with MSRdumper

Use AppleIntelCPUPowerManagementInfo.kext to track pstates.


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:
rm -R ~/Downloads/RehabMan
mkdir ~/Downloads/RehabMan
cd ~/Downloads/RehabMan
patchmatic -extract

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
 
Use AppleIntelCPUPowerManagementInfo.kext to track pstates.


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:
rm -R ~/Downloads/RehabMan
mkdir ~/Downloads/RehabMan
cd ~/Downloads/RehabMan
patchmatic -extract

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
View attachment Files.zip
MBPdiNicBookPro:~ NIK$ kextstat|grep -y acpiplat
13 2 0xffffff7f8240c000 0x5f000 0x5f000 com.apple.driver.AppleACPIPlatform (9.9) <12 11 7 6 5 4 3 1>
MBPdiNicBookPro:~ NIK$ kextstat|grep -y appleintelcpu
24 0 0xffffff7f820c5000 0x2b000 0x2b000 com.apple.driver.AppleIntelCPUPowerManagement (218.0.0) <7 6 5 4 3 1>
 
View attachment 128829
MBPdiNicBookPro:~ NIK$ kextstat|grep -y acpiplat
13 2 0xffffff7f8240c000 0x5f000 0x5f000 com.apple.driver.AppleACPIPlatform (9.9) <12 11 7 6 5 4 3 1>
MBPdiNicBookPro:~ NIK$ kextstat|grep -y appleintelcpu
24 0 0xffffff7f820c5000 0x2b000 0x2b000 com.apple.driver.AppleIntelCPUPowerManagement (218.0.0) <7 6 5 4 3 1>

The version of AppleACPIPlatform.kext is not correct for Yosemite. Restore it to vanilla. Re-install Yosemite if necessary.

I didn't look at anything else.
 
The version of AppleACPIPlatform.kext is not correct for Yosemite. Restore it to vanilla. Re-install Yosemite if necessary.I didn't look at anything else.

MBPdiNicBookPro:~ NIK$ kextstat|grep -y acpiplat 13 2 0xffffff7f8237d000 0x65000 0x65000 com.apple.driver.AppleACPIPlatform (3.1)

MBPdiNicBookPro:~ NIK$ kextstat|grep -y appleintelcpu 24 0 0xffffff7f82001000 0x2b000 0x2b000 com.apple.driver.AppleIntelCPUPowerManagement (218.0.0)


I've used AppleACPIPlatform.kext from OS X Yosemite.dmg. Now is version right ?
 

Attachments

  • RehabMan.zip
    404.7 KB · Views: 67
MBPdiNicBookPro:~ NIK$ kextstat|grep -y acpiplat 13 2 0xffffff7f8237d000 0x65000 0x65000 com.apple.driver.AppleACPIPlatform (3.1)

MBPdiNicBookPro:~ NIK$ kextstat|grep -y appleintelcpu 24 0 0xffffff7f82001000 0x2b000 0x2b000 com.apple.driver.AppleIntelCPUPowerManagement (218.0.0)


.. Now is version right ?

Yes. Are you getting better results?
 

Attachments

  • IMG_20150306_203917.jpg
    IMG_20150306_203917.jpg
    634.8 KB · Views: 83
I don't know.
I've installed AppleIntelCPUPowerManagementInfo.kext from https://pikeralpha.wordpress.com/2013/12/29/appleintelcpupowermanagementinfo-kext/
and I've got kernel panic (verbose mode attached).

Evidently you've found a bug in it (it should not crash).

Why not use the known good version linked here: http://www.tonymacx86.com/mavericks...vericks-native-cpu-igpu-power-management.html

PS:
In the previous post we can see that
AppleIntelCPUPowerManagmentClient.kext is not loaded. Is it correct?

It likely indicates a problem. Although I don't have any old hardware such as yours, so can't really be sure.
 
Evidently you've found a bug in it (it should not crash).

Why not use the known good version linked here: http://www.tonymacx86.com/mavericks...vericks-native-cpu-igpu-power-management.html

OK! no kernel panic.
I don't understand how to check my cpu pm. I'm confused.
I have to stress my cpu and use intel power gadget and than, if frequency go to 3.4ghz, cpu PM is ok?

Anyway in console (without any command in terminal) I have:
06/03/15 22:50:38,000 kernel[0]: AICPUPMI: CPU P-States [ (12) 13 14 15 16 17 18 19 20 21 22 23 24 ] iGPU P-States [ 7 8 9 (10) 11 12 15 16 17 19 21 22 23 ]

There isn't (34) turbo mode !!!
 
OK! no kernel panic.
I don't understand how to check my cpu pm. I'm confused.
I have to stress my cpu and use intel power gadget and than, if frequency go to 3.4ghz, cpu PM is ok?

Anyway in console (without any command in terminal) I have:
06/03/15 22:50:38,000 kernel[0]: AICPUPMI: CPU P-States [ (12) 13 14 15 16 17 18 19 20 21 22 23 24 ] iGPU P-States [ 7 8 9 (10) 11 12 15 16 17 19 21 22 23 ]

There isn't (34) turbo mode !!!

No hardware details. No idea.

Please provide complete details in your profile/signature
(Profile/Settings link in upper right corner of this site)

System: manufacturer/model + bootloader(Clover/Chameleon/Chimera)
CPU: detailed CPU model + motherboard chipset
Graphics: all graphics devices + laptop internal screen resolution

For example, typical Ivy laptop:
System: HP ProBook 4540s (Clover)
CPU: i5-3320m/HM76
Graphics: HD4000, 1366x768

Use CPU-Z on Windows to find CPU (Core iX-xxx) and motherboard chipset (HMxx), and graphics capabilities. For a laptop, these details are important and affect critical installation procedures.
 
No hardware details. No idea.

Please provide complete details in your profile/signature
(Profile/Settings link in upper right corner of this site)

System: manufacturer/model + bootloader(Clover/Chameleon/Chimera)
CPU: detailed CPU model + motherboard chipset
Graphics: all graphics devices + laptop internal screen resolution

For example, typical Ivy laptop:
System: HP ProBook 4540s (Clover)
CPU: i5-3320m/HM76
Graphics: HD4000, 1366x768

Use CPU-Z on Windows to find CPU (Core iX-xxx) and motherboard chipset (HMxx), and graphics capabilities. For a laptop, these details are important and affect critical installation procedures.

ok... I've updated my hardware configuration in my profile.
RehabMan, thanks you for your patience!

Now, can you tell me about my cpu pm ???

EDIT: I've tried to reinstall vanilla AppleIntelCPUPowerManagementClient.kext,
but it isn't shown by kextload... how is it possible!?!
 
Back
Top