Cassio Posted February 19, 2012 Share Posted February 19, 2012 Update: Clover boot loader includes this patch http://clover-wiki.zetam.org/Configuration/KernelAndKextPatches#AsusAICPUPM Script to patch the kext AppleIntelCPUPowerManagement to work with locked wrmsr BIOS Download: AICPMPatch.zip Written by el coniglio Modified by RehabMan https://www.olarila.com/topic/834-aicpmpatch/?do=findComment&comment=27581 Thanks to flAked and dmazar http://www.insanelymac.com/forum/index.php?showtopic=258611 How to use: In terminal cd ~/Downloads/AICPMPatch Find wrmsr (do not patch, just list) perl AICPMPatch.pl /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement Patch wrmsr sudo perl AICPMPatch.pl /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement --patch Update cache sudo touch /System/Library/Extensions Quote ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: OS X 10.8.4 • Linux Mint 15 • Windows 8 Link to comment Share on other sites More sharing options...
kissandtell Posted February 21, 2012 Share Posted February 21, 2012 Could you please explain very easily how to use it? Quote Link to comment Share on other sites More sharing options...
Cassio Posted February 21, 2012 Author Share Posted February 21, 2012 Could you please explain very easily how to use it? Download and unzip the attachment in Downloads folder. Open terminal and run cd ~/Downloads/AICPMPatch To list wrmsr (without patching) perl AICPMPatch.pl /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement To list and patch wrmsr sudo perl AICPMPatch.pl /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement --patch Quote ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: OS X 10.8.4 • Linux Mint 15 • Windows 8 Link to comment Share on other sites More sharing options...
fc_candido Posted February 21, 2012 Share Posted February 21, 2012 Fiz o procedimento e funcionou perfeitamente com meu i5, Mobo DP55WB, agora não uso mais o NullCPUPowerManagement.kext. E notei que o boot ficou muito mais rápido com meu SSD 120G, antes bootava em 19 segundos agora boota em 13 segundos. O resultado é este agora... Based on code by mercurysquad, superhai ©2008 User defined TjMax=0 AppleACPICPU: ProcessorId=0 LocalApicId=0 Enabled AppleACPICPU: ProcessorId=1 LocalApicId=2 Enabled AppleACPICPU: ProcessorId=2 LocalApicId=4 Enabled AppleACPICPU: ProcessorId=3 LocalApicId=6 Enabled AppleACPICPU: ProcessorId=4 LocalApicId=0 Disabled AppleACPICPU: ProcessorId=5 LocalApicId=0 Disabled AppleACPICPU: ProcessorId=6 LocalApicId=0 Disabled AppleACPICPU: ProcessorId=7 LocalApicId=0 Disabled Obrigado. Quote Link to comment Share on other sites More sharing options...
magnifico Posted February 27, 2012 Share Posted February 27, 2012 Cassio sorry what is this? What to serve? To list wrmsr without patching perl AICPMPatch.pl /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement Quote Without PC Link to comment Share on other sites More sharing options...
Cassio Posted February 27, 2012 Author Share Posted February 27, 2012 As it says, to list offsets that need patching, but don't actually patch them, just list. Quote ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: OS X 10.8.4 • Linux Mint 15 • Windows 8 Link to comment Share on other sites More sharing options...
magnifico Posted February 27, 2012 Share Posted February 27, 2012 This script is good for lion and snow ...work for 10.7.3 and 10.6.8 ? Quote Without PC Link to comment Share on other sites More sharing options...
Cassio Posted February 27, 2012 Author Share Posted February 27, 2012 Yes, it should work for any version. Quote ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: OS X 10.8.4 • Linux Mint 15 • Windows 8 Link to comment Share on other sites More sharing options...
magnifico Posted February 28, 2012 Share Posted February 28, 2012 Yes, it should work for any version. Thanks for patch i use only this? sudo perl AICPMPatch.pl /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement --patch Quote Without PC Link to comment Share on other sites More sharing options...
Cassio Posted February 28, 2012 Author Share Posted February 28, 2012 Yes. Quote ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: OS X 10.8.4 • Linux Mint 15 • Windows 8 Link to comment Share on other sites More sharing options...
magnifico Posted March 3, 2012 Share Posted March 3, 2012 Yes. Cassio , sorry dont work please look /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement arch: x86_64 found 11 wrmsr, should be 10, file is already patched or untested version arch: i386 found 9 wrmsr, should be 10, file is already patched or untested version Mac-di-magnifico:AICPMPatch magnifico$ Quote Without PC Link to comment Share on other sites More sharing options...
Cassio Posted March 3, 2012 Author Share Posted March 3, 2012 I see. Which version of AICPM? Quote ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: OS X 10.8.4 • Linux Mint 15 • Windows 8 Link to comment Share on other sites More sharing options...
magnifico Posted March 3, 2012 Share Posted March 3, 2012 I see. Which version of AICPM? 142.6.0 help please Quote Without PC Link to comment Share on other sites More sharing options...
Cassio Posted March 3, 2012 Author Share Posted March 3, 2012 Please download again from first post and test. Quote ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: OS X 10.8.4 • Linux Mint 15 • Windows 8 Link to comment Share on other sites More sharing options...
magnifico Posted March 3, 2012 Share Posted March 3, 2012 ok..now work..can delete now from S/L/E Null Cpu ?? Quote Without PC Link to comment Share on other sites More sharing options...
Cassio Posted March 3, 2012 Author Share Posted March 3, 2012 If your problem was KP due to write operations to MSR 0xE2, yes you can. Quote ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: OS X 10.8.4 • Linux Mint 15 • Windows 8 Link to comment Share on other sites More sharing options...
surfcaster Posted March 7, 2012 Share Posted March 7, 2012 following the thread of insanely understand that this patch is specific to Asus Sandy Bridge, fixes a problem KP, am I right?. sorry for my English Quote Link to comment Share on other sites More sharing options...
Cassio Posted March 7, 2012 Author Share Posted March 7, 2012 No, there are other mobos (like Intel and ECS) and laptops (most of the Sandy Bridge I have seen) that need this patch. Quote ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: OS X 10.8.4 • Linux Mint 15 • Windows 8 Link to comment Share on other sites More sharing options...
MARIANO Posted March 7, 2012 Share Posted March 7, 2012 HI GUYS, im new here and i need your help im stuck in the patching of sleep for my lion 10.7.3 im dsdt ok made with help of Kyndeer can you explain me ALL the steps for make sleep work? i do the patching but doesnt work... i dont erase any kext....i dont make any pther patch... thanks! Quote ASUS N53SC 234 SV LAPTOP I CORE 7 - NVIDIA 520MX - INTEL HD3000 - HITACHI 500GB Link to comment Share on other sites More sharing options...
Cassio Posted March 7, 2012 Author Share Posted March 7, 2012 This patch is ONLY intended to avoid KP caused by write operations to MSR 0xE2, it's not directly related to sleep problems. Quote ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: OS X 10.8.4 • Linux Mint 15 • Windows 8 Link to comment Share on other sites More sharing options...
MARIANO Posted March 7, 2012 Share Posted March 7, 2012 This patch is ONLY intended to avoid KP caused by write operations to MSR 0xE2, it's not directly related to sleep problems. ahh ok! thanks! Quote ASUS N53SC 234 SV LAPTOP I CORE 7 - NVIDIA 520MX - INTEL HD3000 - HITACHI 500GB Link to comment Share on other sites More sharing options...
magnifico Posted March 10, 2012 Share Posted March 10, 2012 Hi Cassio ...have you a news for patched Bios ? I ready a news for edited CpuPei in the bios ...it is a great news..or not? Quote Without PC Link to comment Share on other sites More sharing options...
Cassio Posted March 10, 2012 Author Share Posted March 10, 2012 Sorry, I don't understand. If you use patched BIOS, you don't need to patch AICPM kext. Quote ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: OS X 10.8.4 • Linux Mint 15 • Windows 8 Link to comment Share on other sites More sharing options...
magnifico Posted March 11, 2012 Share Posted March 11, 2012 Sorry, I don't understand. If you use patched BIOS, you don't need to patch AICPM kext. No, I'm not using the patch bios, I ask you if you have news about a patch bios asus..... I read a news article that you just change the hex values of the two CPU Pei mmtools with the bios, and 'All this safe? Quote Without PC Link to comment Share on other sites More sharing options...
Cassio Posted March 11, 2012 Author Share Posted March 11, 2012 I've heard about these BIOSes, but never used, don't know what's edited or if it's safe http://bios4asus.blogspot.com/ Quote ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: OS X 10.8.4 • Linux Mint 15 • Windows 8 Link to comment Share on other sites More sharing options...