Jump to content
InsanelyMac Forum
Pimentel

Power management for Sandy/Ivy Bridge/Haswell CPUs

Recommended Posts

Advertisement

Hello

 

Thanks Allan...

I think this guide work in Haswell CPU too... i make a hack to my friend, he use haswell and i use this script to get power management and work perfect...

But i don't know yet... if it work in haswell 100%, i make only 1 test... but i think work...

Share this post


Link to post
Share on other sites

hi everybody!

 

i try to implement this hack to improve my hackintosh but i get this kernel panic. "attempt to re register power management interface --aicpm..."

what i can do?

 

DELL N4050

Intel I3 2330-m (SandyB)

6 GB RAM DDR 1066

500 GB HDD

Intel HD3000

Atheros 9285

post-511544-0-82273500-1392986149_thumb.jpg

Share this post


Link to post
Share on other sites

Hello

 

Ok… What steps of this guide you followed???

 

Did you create your SSDT and patch AICPUPM? Are you using NullCPUPM?

 

 

STEPS

- Creating the SSDT
- Patch AppleIntelCPUPowermanagement
- Kernel Patch for Haswell CPU(Kernel XCPM)
 
i think in the last step i did wrong, because my CPU it’s a SandyBrigde. how i revert this step?

Share this post


Link to post
Share on other sites

Hello
 

The management XCPM not support CPUs Sandy Bridger

 

Yes… you did a wrong thing…

haven’t how revert it… only way was backup your mach_kernel… so, this mean you need re-install OSX and do everything again…
 

Share this post


Link to post
Share on other sites

Hello

 

Yes… you did a wrong thing…

 

haven’t how revert it… only way was backup your mach_kernel… so, this mean you need re-install OSX and do everything again…

 

 

Thanks for your reply.

 

i'll reinstall OSX and i'll try this hack again. I'll post the results. 

Share this post


Link to post
Share on other sites

I re-install mavericks and i got the same kernel panic

 

"attempt to re register power management interface--AICPM present in xcpm mode?"

 

Only i do this steps

- Creating the SSDT
- Patch AppleIntelCPUPowermanagement

(now i skip the last one)

 

Did you create your SSDT and patch AICPUPM?

yes, with this hack

 

Are you using NullCPUPM?

no, i delete it.

 

maybe is a problem with my SSDT or the org.chamaleon. I attach this files. Please help :(

osx Files.zip

Share this post


Link to post
Share on other sites

Hello

 

Are you using tonymac tools? We don't support tonymac... 

 

This guide created work perfect with Chameleon, but... What bootloader are you using?

 

I use chameleon wizard for install (i have the v.2371 but i tested with the v.2368). i have 2 notices

 

1.- I fix the problem. Only i replace the "AppleIntelCPUPowermanagement Patched" with the original file (from USB installation) and the system works.

 

2.- the script maybe don't work in my case. I use the kext MSRDumper.kext for test if SSDT works (from a revogirl post). When i enable this kext, in the console i only get this

22-02-14 10:41:08,000	kernel[0]	MSRDumper CoreMulti(8) 
22-02-14 10:41:08,000	kernel[0]	MSRDumper PStatesReached: 8 
22-02-14 10:41:09,000	kernel[0]	MSRDumper CoreMulti(8) 
22-02-14 10:41:09,000	kernel[0]	MSRDumper PStatesReached: 8 

i see in youtube when you apply this method, the console show the pstates of the CPU like this 16 22 29 35 38 39

 

I run also the geekbench and i get the same score (2000). 

Share this post


Link to post
Share on other sites

Hello

 

Great Job!

 

P-States stages is controled by SSDT, but they already in SSDT that you created, but they aren't working... you get only 8x(800Mhz)standard to you CPU

 

Model identifier(SMbios)is responsible of enable these P-States... I have a i7 2600 and i made my SSDT using this script, but when i look my states, i only get 2 16x - 34x(Min - Max)...

I used iMac 12,2 but i don't get more than 2... i simple change for a another SMbios, i changed to Macbook Pro 8,1 and i get 8 states(16, 20, 25, 28, 30, 32 34, 35) :D

 

In others words... you need jus t change your SMbios... try a diferente and see with this app: http://sourceforge.net/projects/dpcimanager/

If it work.... what's your hardware?

Share this post


Link to post
Share on other sites

Hello

 

Great Job!

 

P-States stages is controled by SSDT, but they already in SSDT that you created, but they aren't working... you get only 8x(800Mhz)standard to you CPU

 

Model identifier(SMbios)is responsible of enable these P-States... I have a i7 2600 and i made my SSDT using this script, but when i look my states, i only get 2 16x - 34x(Min - Max)...

I used iMac 12,2 but i don't get more than 2... i simple change for a another SMbios, i changed to Macbook Pro 8,1 and i get 8 states(16, 20, 25, 28, 30, 32 34, 35) :D

 

In others words... you need jus t change your SMbios... try a diferente and see with this app: http://sourceforge.net/projects/dpcimanager/

If it work.... what's your hardware?

 

i'm using MACBOOK PRO 8.1 from chameleon wizard and i get the same result. I try with all other macbook pro (8.1, 8.2, 8,3, 9.1, 9.2) and i get the same result. I change the smbios, reboot, run script and reboot again.

 

what i can do?

 

edit: the kexts, ACPI_SMC_PlatformPlugin and AppleLPC are loaded in my system. i must delete it? both?

Share this post


Link to post
Share on other sites

Hello

the kexts, ACPI_SMC_PlatformPlugin and AppleLPC are loaded in my system. i must delete it? both?

 

What's your hardware? I talk about Macbook Pro 8,1, but this work for my hardware, i don't think if this will work to you...

 

Try other SMbios...

Share this post


Link to post
Share on other sites

Hello

What's your hardware? I talk about Macbook Pro 8,1, but this work for my hardware, i don't think if this will work to you...

 

Try other SMbios...

 

i attach the LSPCI file extract from linux (for the hardware)

 

 

i try with this SMBIOS with the same result: macbook pro (8.1, 8.2, 8,3, 9.1, 9.2) :(

lspci.txt

Share this post


Link to post
Share on other sites

Hello

 

Try another SMbios... try Mac Pro 3,1... it worked for me too, but i get only 6 states...

 

Your CPU is Sandy Bridger, but... post a complete specs... like in my signature..

Share this post


Link to post
Share on other sites

Hello

 

Try another SMbios... try Mac Pro 3,1... it worked for me too, but i get only 6 states...

 

Your CPU is Sandy Bridger, but... post a complete specs... like in my signature..

 

I try with all SMbios and i get the same result..... maybe the SSDT it's the problem.

 

My specs:

 

Laptop DELL N4050
CPU: Intel I3 2330-m
RAM: 6 GB RAM DDR 1066
GRAPHICS: INTEL HD3000
HD: 500 GB HDD
WIFI: Atheros 9285
OS: 10.9

Share this post


Link to post
Share on other sites

Hello

 

Or maybe not... you did all necessary steps to create your SSDT?

 

Tryconfigure your Bios: http://olarila.com/forum/viewtopic.php?f=2&t=1804

 

i have the BIOS OK. I check with the guide and i'm ok

 

I try again this hack .... but now i see this warning s when i run the script (first step)

MacBook-Pro-de-Sebastian:~ sebastian$ ./ssdtPRGen.sh

ssdtPRGen.sh v0.9 Copyright (c) 2011-2012 by † RevoGirl
             v6.6 Copyright (c) 2013 by † Jeroen
             v9.1 Copyright (c) 2013-2014 by Pike R. Alpha
----------------------------------------------------------------
System information: Mac OS X 10.9 (13A603)
Brandstring 'Intel(R) Core(TM) i3-2330M CPU @ 2.20GHz'
Processor Declaration(s) Found in DSDT
Generating ssdt_pr.dsl for a MacBookPro8,1 [Mac-94245B3640C91C81]
Sandy Bridge Core i3-2330M processor [0x206A7] setup [0x0902]
With a maximum TDP of 35 Watt, as specified by Intel
Number logical CPU's: 4 (Core Frequency: 2200 MHz)
Number of Turbo States: 0
Number of P-States: 15 (800-2200 MHz)
Adjusting C-States for detected (mobile) processor
Injected C-States for CPU0 (C1,C3,C6,C7)

Warning: 'cpu-type' may be set improperly (0x0902 instead of 0x0602)

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20130117-64 [Jan 19 2013]
Copyright (c) 2000 - 2013 Intel Corporation

ASL Input:     /Users/sebastian/Desktop/ssdt_pr.dsl - 174 lines, 5122 bytes, 33 keywords
AML Output:    /Users/sebastian/Desktop/ssdt_pr.aml - 1147 bytes, 11 named objects, 22 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations

Warning: Failed to locate the Clover boot.log
Creating temporarily mount point: /Volumes/EFI
Mounting EFI partition...
mount_hfs: Invalid argument

Unmounting EFI partition...
umount: /Volumes/EFI: not currently mounted
Removing temporarily mount point...

Do you want to copy /Users/sebastian/Desktop/ssdt_pr.aml to /Extra/ssdt_pr.aml? (y/n)?y

i use chameleon for bootloader. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.



  • Similar Content

    • By MaLd0n
      Nehalem, SandyBridge, IvyBridge, Haswell, Broadwell     Skylake, Kabylake and Coffeelake is here http://www.insanelymac.com/forum/topic/321872-guide-sierra-on-gigabyte-mobos-serie-200-kabylake-dsdt/   First...   ***Update bios to last available version!***   If you need a full patched DSDT...  -Extract tables with F4 key in Clover boot screen! -Run it and send me files! RunMe.app   Installation   --Create a bootable copy of macOS Sierra Check out the link http://www.insanelymac.com/forum/files/file/559-flash-drive-maker/   --Create a bootable copy of macOS HighSierra Check out the link http://diskmakerx.com/   --Install Clover in USB stick https://sourceforge.net/projects/cloverefiboot/files/Installer/   --Replace with my Clover folder CLOVER Install.zip   --Install Sierra/High Sierra and boot into system!   Post Installation --Install Clover and replace with my folder CLOVER Post Install.zip   --Reboot and activate video!   Bingo!   Now you need a fine tune! DSDT time!   --DSDT   Patches -FIX ERRORS AND WARNINGS -HPET -SATA -DMAC -SLPB -DARWIN -LPC -XHCI -PLUGIN TYPE -XXXX to HDEF -HDEF -RTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -USBX -PMCR -EC -PNLF -HDMI
       
      --Power Management
      - 1 Generation Intel Processors, use Generate P and C States in config.plist
      - 2 and 3 Generations Intel Processors, Generate SSDT with Piker script and drop CpuPm and Cpu0Ist SSDTs
      ssdtPRGen.command.zip
      Credits-https://github.com/Piker-Alpha/ssdtPRGen.sh
      - 4 Generation+ Intel Processors, use PluginType=1 in DSDT, SSDT or Clover config.plist
       
      for check Power, Frequency, Temperature and Utilization, use it
      Install Intel Power Gadget.pkg.zip
       
      --Brightness
      Install .app, select the required permission and reboot. Work in F1 / F2 keys!
      NativeDisplayBrightness.app.zip


      https://github.com/Bensge/NativeDisplayBrightness/releases
      *in some cases .app don't work, check patches in config.plist inside Clover folder Post Install
       
      --Clover
       
      https://sourceforge.net/projects/cloverefiboot/files/Installer/
       
      --AUDIO
       
      Use DSDT + AppleAlc
       
      --install Lan driver by Mieze
        -Atheros http://www.insanelymac.com/forum/files/file/313-atherose2200ethernet/   -Intel http://www.insanelymac.com/forum/files/file/396-intelmausiethernet/   -Realtek http://www.insanelymac.com/forum/files/file/88-realtekrtl8111-binary/   --Links   -FakeSMC https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek   -Audio https://github.com/vit9696/AppleALC http://www.insanelymac.com/forum/topic/314406-voodoohda-289/   -USB https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads   It's time to Rock   -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!   Apple, Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad and many, many, many others!   We're all here to have fun and learn from each other!  
    • By gorans
      Hi,
       
      after updating HS my WOL stopped working. It worked for sure in El Capitan, not sure in what version of HS stopped to work. I'm using Ozmosis as bootloader and IntelMausiEthernet (in S/L/E) for network. I created ssdt.aml with ssdtPRGen, and put it in EFI/Oz/Acpi/Load/.
      WOL is enabled in BIOS, wake for network access is checked
      pmset -g System-wide power settings: DestroyFVKeyOnStandby 0 Currently in use: standby 0 Sleep On Power Button 1 womp 1 hibernatefile /var/vm/sleepimage powernap 0 networkoversleep 1 disksleep 10 sleep 15 autopoweroffdelay 28800 hibernatemode 0 autopoweroff 0 ttyskeepawake 1 displaysleep 15 standbydelay 10800 If I put machine to sleep, WOL works for a short time, but not working if I let it sleep for a while.
       
      I deleted Ethernet in Network, rebooted and recreated it, but still the same.
       
      Hardware:
      MOBO:     Gigabyte Z97-D3H rev 1.1
      processor:    i5-4460 Haswell
      graphic:    Gigabyte GeForce GT 740 OC GDDR5 2GB (GV-N740D5OC-2GI)
      memory:    2 x 8GB Kingston
      disks:    Samsung SSD 850 EVO 120GB
              Seagate 2TB
              LG DVD±RW
      Sound:     VoodooHDA
      Network:    IntelMausiEthernet.kext
       
      Any advice?
       
      Best regards,
      Goran
    • By liuhongxin1993
      ASUS X99-E-10G WS
      I76950X
      Request to optimize
      Sleep/Wake issues, CPU Power States


      origin.zip
      ioregMac Pro.zip
      config.plist
      kexts.zip
    • By crisx95
      Hi, can someone of you palese help me fix the dsdt from my HP 15 p030nl? I need battery mette, back light control and the audio work in. Pls, I'm just bad at this, and before making a mess, i'd like your help. 
      P. S. I'm on High Sierra
      DSDT.aml.zip
×