Contribute
Register

[Guide] Native Power Management for Laptops

@RehabMan Thank you for adding HWP to this guide, I'm sure it would help many users with modern hardware :)
I'm already using it for a long time now, and it's working very well.

Maybe it's worth to add a note about Pike's freqVectorsEdit.sh?
At least when using HWP, I needed it to reach a full range of frequencies. :)
 
@RehabMan Thank you for adding HWP to this guide, I'm sure it would help many users with modern hardware :)
I'm already using it for a long time now, and it's working very well.

Maybe it's worth to add a note about Pike's freqVectorsEdit.sh?
At least when using HWP, I needed it to reach a full range of frequencies. :)

I don't care to use freqVectorsEdit.sh:
- not update resilient
- not clear what it is doing

Instead, I plan to create a script that will create a resource injector kext (aka. dummy kext)...
 
hi,

i have dell inspiron 3442, already follow all guide SSDT but still can't sleep
when unplug power, i can use battery for 3 hour ++ ( same on windows)
testing PM using intel, running
wifi,lan,brighness all works

i'm using hdd caddy for 2nd drive
 

Attachments

  • dell-inspiron-3442.zip
    5.7 MB · Views: 119
hi,

i have dell inspiron 3442, already follow all guide SSDT but still can't sleep
when unplug power, i can use battery for 3 hour ++ ( same on windows)
testing PM using intel, running
wifi,lan,brighness all works

i'm using hdd caddy for 2nd drive

Your ioreg is corrupt (wrong version of IORegistryExplorer used).
Files in ACPI/origin are 4 days old (need current files).

Read FAQ, "Problem Reporting"
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/

Note: Your ACPI setup is clearly wrong.
Read guide:
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
 
With modern hardware (Haswell and later), the system almost always works better if you retain all the SSDTs. The newer systems may even have trouble booting if you eliminate them.

Does this mean that I should not have the following in my config.plist (Haswell system)?
Code:
<key>DropTables</key>
<array>
    <dict>
        <key>Signature</key>
        <string>SSDT</string>
        <key>TableId</key>
        <string>Cpu0Ist</string>
    </dict>
    <dict>
        <key>Signature</key>
        <string>SSDT</string>
        <key>TableId</key>
        <string>CpuPm</string>
    </dict>
</array>
 
Does this mean that I should not have the following in my config.plist (Haswell system)?
Code:
<key>DropTables</key>
<array>
    <dict>
        <key>Signature</key>
        <string>SSDT</string>
        <key>TableId</key>
        <string>Cpu0Ist</string>
    </dict>
    <dict>
        <key>Signature</key>
        <string>SSDT</string>
        <key>TableId</key>
        <string>CpuPm</string>
    </dict>
</array>

Usually, you do not need to drop OEM CPU related SSDTs with Haswell and later.
 
Hi RehabMan!
I am trying to add another Hackintosh to my collection, which is the Acer Aspire 5755G with an i7-2670QM, it is listed in the ssdtPRGen.sh and the data is correct for it. I am unable to get to the Mac OS X installer since Power Management is not working right, and i get a kernel panic related to the cpu. I am using your guide all the way through and I know this laptop can work with OS X due to all the posts I have seen. Could you explain to me , how can I generate a custom SSDT for the i7 2670QM from another computer, so I can add it to the Clover folder in my bootable USB? I have tried and tried but it seems I am doing something wrong. Thanks in advance

Code:
Last login: Wed May 31 10:24:47 on console
MacBook-Pro-de-Joe:~ joe$ ./ssdtPRGen.sh -board-id Mac-94245B3640C91C81 -p 'i7-2670QM' -f 2200 -turbo 3100 -tdp 45






















ssdtPRGen.sh v0.9  Copyright (c) 2011-2012 by † RevoGirl
             v6.6  Copyright (c) 2013 by † Jeroen
             v21.5 Copyright (c) 2013-2017 by Pike R. Alpha
-----------------------------------------------------------
Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <

System information: Mac OS X 10.12.5 (16F73)
Brandstring: "Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz"


Error: Invalid argument detected: -board-id (check ssdtPRGen.sh -h)
Aborting ...
Done.


MacBook-Pro-de-Joe:~ joe$ ./ssdtPRGen.sh -b Mac-94245B3640C91C81 -p 'i7-2670QM' -f 2200 -turbo 3100 -tdp 45







ssdtPRGen.sh v0.9  Copyright (c) 2011-2012 by † RevoGirl
             v6.6  Copyright (c) 2013 by † Jeroen
             v21.5 Copyright (c) 2013-2017 by Pike R. Alpha
-----------------------------------------------------------
Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <

System information: Mac OS X 10.12.5 (16F73)
Brandstring: "Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz"

Override value: (-b) board-id, now using: Mac-94245B3640C91C81!
Override value: (-p) processor model, now using: i7-2670QM!
Override value: (-f) clock frequency, now using: 2200 MHz!
Override value: (-turbo) maximum (turbo) frequency, now using: 3100 MHz!
Override value: (-t) maximum TDP, now using: 45 Watt!

Version: models.cfg v170 / Sandy Bridge.cfg v150


Scope (_PR_) {1646 bytes} with ACPI Processor declarations found in DSDT (ACPI 1.0 compliant)
Generating ssdt.dsl for a 'MacBookPro11,2' with board-id [Mac-94245B3640C91C81]
Sandy Bridge Core i7-2670QM processor [0x40651] setup [0x0705]
With a maximum TDP of '45' Watt, as specified by argument: -t 45
Number logical CPU's: 8 (Core Frequency: 2200 MHz)
Number of Turbo States: 9 (2300-3100 MHz)
Number of P-States: 24 (800-3100 MHz)
Adjusting C-States for detected (mobile) processor
Injected C-States for CPU0 (C1,C3,C6,C7)
Warning: 'cpu-type' may be set improperly (0x0705 instead of 0x0605)
     - Clover users should read https://clover-wiki.zetam.org/Configuration/CPU#cpu_typeWarning: board-id [Mac-94245B3640C91C81] and model [MacBookPro11,2] mismatch – check SMBIOS data

Do you want to continue (y/n)? n
MacBook-Pro-de-Joe:~ joe$ ./ssdtPRGen.sh -b Mac-94245B3640C91C81 -p 'i7-2670QM' -f 2200 -target 0 -turbo 3100 -tdp 45


ssdtPRGen.sh v0.9  Copyright (c) 2011-2012 by † RevoGirl
             v6.6  Copyright (c) 2013 by † Jeroen
             v21.5 Copyright (c) 2013-2017 by Pike R. Alpha
-----------------------------------------------------------
Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <

System information: Mac OS X 10.12.5 (16F73)
Brandstring: "Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz"

Override value: (-b) board-id, now using: Mac-94245B3640C91C81!
Override value: (-p) processor model, now using: i7-2670QM!
Override value: (-f) clock frequency, now using: 2200 MHz!
Override value: (-target) CPU, now using: Sandy Bridge!
Override value: (-turbo) maximum (turbo) frequency, now using: 3100 MHz!
Override value: (-t) maximum TDP, now using: 45 Watt!

Version: models.cfg v170 / Sandy Bridge.cfg v150


Scope (_PR_) {1646 bytes} with ACPI Processor declarations found in DSDT (ACPI 1.0 compliant)
Generating ssdt.dsl for a 'MacBookPro11,2' with board-id [Mac-94245B3640C91C81]
Sandy Bridge Core i7-2670QM processor [0x40651] setup [0x0705]
With a maximum TDP of '45' Watt, as specified by argument: -t 45
Number logical CPU's: 8 (Core Frequency: 2200 MHz)
Number of Turbo States: 9 (2300-3100 MHz)
Number of P-States: 24 (800-3100 MHz)
Adjusting C-States for detected (mobile) processor
Injected C-States for CPU0 (C1,C3,C6,C7)
Warning: 'cpu-type' may be set improperly (0x0705 instead of 0x0605)
     - Clover users should read https://clover-wiki.zetam.org/Configuration/CPU#cpu_typeWarning: board-id [Mac-94245B3640C91C81] and model [MacBookPro11,2] mismatch – check SMBIOS data

Do you want to continue (y/n)? n
MacBook-Pro-de-Joe:~ joe$ ./ssdtPRGen.sh -p 'i7-2670QM' -f 2200 -target 0 -turbo 3100 -tdp 45


ssdtPRGen.sh v0.9  Copyright (c) 2011-2012 by † RevoGirl
             v6.6  Copyright (c) 2013 by † Jeroen
             v21.5 Copyright (c) 2013-2017 by Pike R. Alpha
-----------------------------------------------------------
Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <

System information: Mac OS X 10.12.5 (16F73)
Brandstring: "Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz"

Override value: (-p) processor model, now using: i7-2670QM!
Override value: (-f) clock frequency, now using: 2200 MHz!
Override value: (-target) CPU, now using: Sandy Bridge!
Override value: (-turbo) maximum (turbo) frequency, now using: 3100 MHz!
Override value: (-t) maximum TDP, now using: 45 Watt!

Version: models.cfg v170 / Sandy Bridge.cfg v150


Scope (_PR_) {1646 bytes} with ACPI Processor declarations found in DSDT (ACPI 1.0 compliant)
Generating ssdt.dsl for a 'MacBookPro11,2' with board-id [Mac-3CBD00234E554E41]
Sandy Bridge Core i7-2670QM processor [0x40651] setup [0x0705]
With a maximum TDP of '45' Watt, as specified by argument: -t 45
Number logical CPU's: 8 (Core Frequency: 2200 MHz)
Number of Turbo States: 9 (2300-3100 MHz)
Number of P-States: 24 (800-3100 MHz)
Adjusting C-States for detected (mobile) processor
Injected C-States for CPU0 (C1,C3,C6,C7)
Warning: 'cpu-type' may be set improperly (0x0705 instead of 0x0605)
     - Clover users should read https://clover-wiki.zetam.org/Configuration/CPU#cpu_type
Error: board-id [Mac-3CBD00234E554E41] not supported by Sandy Bridge – check SMBIOS data / use the -target option

Do you want to continue (y/n)? n
MacBook-Pro-de-Joe:~ joe$ ./ssdtPRGen.sh -p 'i7-2670QM'


ssdtPRGen.sh v0.9  Copyright (c) 2011-2012 by † RevoGirl
             v6.6  Copyright (c) 2013 by † Jeroen
             v21.5 Copyright (c) 2013-2017 by Pike R. Alpha
-----------------------------------------------------------
Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <

System information: Mac OS X 10.12.5 (16F73)
Brandstring: "Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz"

Override value: (-p) processor model, now using: i7-2670QM!

Version: models.cfg v170 / Sandy Bridge.cfg v150


Scope (_PR_) {1646 bytes} with ACPI Processor declarations found in DSDT (ACPI 1.0 compliant)
Generating ssdt.dsl for a 'MacBookPro11,2' with board-id [Mac-3CBD00234E554E41]
Sandy Bridge Core i7-2670QM processor [0x40651] setup [0x0705]
With a maximum TDP of 45 Watt, as specified by Intel
Number logical CPU's: 8 (Core Frequency: 2200 MHz)
Number of Turbo States: 9 (2300-3100 MHz)
Number of P-States: 24 (800-3100 MHz)
Adjusting C-States for detected (mobile) processor
Injected C-States for CPU0 (C1,C3,C6,C7)
Warning: 'cpu-type' may be set improperly (0x0705 instead of 0x0605)
     - Clover users should read https://clover-wiki.zetam.org/Configuration/CPU#cpu_type
Error: board-id [Mac-3CBD00234E554E41] not supported by Sandy Bridge – check SMBIOS data / use the -target option

Do you want to continue (y/n)? n
MacBook-Pro-de-Joe:~ joe$
 
Hi!
My laptop fan doesn't work properly. Sometimes it starts, sometimes it does not, and the PC gets as hot as 70°C.
However, upon restart, fan starts working and it cools down. What it seems not to work right is the ability to run non-stop, even when the PC is cold, because if I turn on the computer after it has been off for a while the fan doesn't start up, but it neither does when the processor overheats until I restart the computer.

I've attached IORegister, terminal reports & Clover folder below.

Thank you in advance.
 

Attachments

  • Problem Reporting - PM.zip
    5 MB · Views: 72
Hi RehabMan!
I am trying to add another Hackintosh to my collection, which is the Acer Aspire 5755G with an i7-2670QM, it is listed in the ssdtPRGen.sh and the data is correct for it. I am unable to get to the Mac OS X installer since Power Management is not working right, and i get a kernel panic related to the cpu. I am using your guide all the way through and I know this laptop can work with OS X due to all the posts I have seen. Could you explain to me , how can I generate a custom SSDT for the i7 2670QM from another computer, so I can add it to the Clover folder in my bootable USB? I have tried and tried but it seems I am doing something wrong. Thanks in advance

Code:
Last login: Wed May 31 10:24:47 on console
MacBook-Pro-de-Joe:~ joe$ ./ssdtPRGen.sh -board-id Mac-94245B3640C91C81 -p 'i7-2670QM' -f 2200 -turbo 3100 -tdp 45






















ssdtPRGen.sh v0.9  Copyright (c) 2011-2012 by † RevoGirl
             v6.6  Copyright (c) 2013 by † Jeroen
             v21.5 Copyright (c) 2013-2017 by Pike R. Alpha
-----------------------------------------------------------
Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <

System information: Mac OS X 10.12.5 (16F73)
Brandstring: "Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz"


Error: Invalid argument detected: -board-id (check ssdtPRGen.sh -h)
Aborting ...
Done.


MacBook-Pro-de-Joe:~ joe$ ./ssdtPRGen.sh -b Mac-94245B3640C91C81 -p 'i7-2670QM' -f 2200 -turbo 3100 -tdp 45







ssdtPRGen.sh v0.9  Copyright (c) 2011-2012 by † RevoGirl
             v6.6  Copyright (c) 2013 by † Jeroen
             v21.5 Copyright (c) 2013-2017 by Pike R. Alpha
-----------------------------------------------------------
Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <

System information: Mac OS X 10.12.5 (16F73)
Brandstring: "Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz"

Override value: (-b) board-id, now using: Mac-94245B3640C91C81!
Override value: (-p) processor model, now using: i7-2670QM!
Override value: (-f) clock frequency, now using: 2200 MHz!
Override value: (-turbo) maximum (turbo) frequency, now using: 3100 MHz!
Override value: (-t) maximum TDP, now using: 45 Watt!

Version: models.cfg v170 / Sandy Bridge.cfg v150


Scope (_PR_) {1646 bytes} with ACPI Processor declarations found in DSDT (ACPI 1.0 compliant)
Generating ssdt.dsl for a 'MacBookPro11,2' with board-id [Mac-94245B3640C91C81]
Sandy Bridge Core i7-2670QM processor [0x40651] setup [0x0705]
With a maximum TDP of '45' Watt, as specified by argument: -t 45
Number logical CPU's: 8 (Core Frequency: 2200 MHz)
Number of Turbo States: 9 (2300-3100 MHz)
Number of P-States: 24 (800-3100 MHz)
Adjusting C-States for detected (mobile) processor
Injected C-States for CPU0 (C1,C3,C6,C7)
Warning: 'cpu-type' may be set improperly (0x0705 instead of 0x0605)
     - Clover users should read https://clover-wiki.zetam.org/Configuration/CPU#cpu_typeWarning: board-id [Mac-94245B3640C91C81] and model [MacBookPro11,2] mismatch – check SMBIOS data

Do you want to continue (y/n)? n
MacBook-Pro-de-Joe:~ joe$ ./ssdtPRGen.sh -b Mac-94245B3640C91C81 -p 'i7-2670QM' -f 2200 -target 0 -turbo 3100 -tdp 45


ssdtPRGen.sh v0.9  Copyright (c) 2011-2012 by † RevoGirl
             v6.6  Copyright (c) 2013 by † Jeroen
             v21.5 Copyright (c) 2013-2017 by Pike R. Alpha
-----------------------------------------------------------
Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <

System information: Mac OS X 10.12.5 (16F73)
Brandstring: "Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz"

Override value: (-b) board-id, now using: Mac-94245B3640C91C81!
Override value: (-p) processor model, now using: i7-2670QM!
Override value: (-f) clock frequency, now using: 2200 MHz!
Override value: (-target) CPU, now using: Sandy Bridge!
Override value: (-turbo) maximum (turbo) frequency, now using: 3100 MHz!
Override value: (-t) maximum TDP, now using: 45 Watt!

Version: models.cfg v170 / Sandy Bridge.cfg v150


Scope (_PR_) {1646 bytes} with ACPI Processor declarations found in DSDT (ACPI 1.0 compliant)
Generating ssdt.dsl for a 'MacBookPro11,2' with board-id [Mac-94245B3640C91C81]
Sandy Bridge Core i7-2670QM processor [0x40651] setup [0x0705]
With a maximum TDP of '45' Watt, as specified by argument: -t 45
Number logical CPU's: 8 (Core Frequency: 2200 MHz)
Number of Turbo States: 9 (2300-3100 MHz)
Number of P-States: 24 (800-3100 MHz)
Adjusting C-States for detected (mobile) processor
Injected C-States for CPU0 (C1,C3,C6,C7)
Warning: 'cpu-type' may be set improperly (0x0705 instead of 0x0605)
     - Clover users should read https://clover-wiki.zetam.org/Configuration/CPU#cpu_typeWarning: board-id [Mac-94245B3640C91C81] and model [MacBookPro11,2] mismatch – check SMBIOS data

Do you want to continue (y/n)? n
MacBook-Pro-de-Joe:~ joe$ ./ssdtPRGen.sh -p 'i7-2670QM' -f 2200 -target 0 -turbo 3100 -tdp 45


ssdtPRGen.sh v0.9  Copyright (c) 2011-2012 by † RevoGirl
             v6.6  Copyright (c) 2013 by † Jeroen
             v21.5 Copyright (c) 2013-2017 by Pike R. Alpha
-----------------------------------------------------------
Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <

System information: Mac OS X 10.12.5 (16F73)
Brandstring: "Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz"

Override value: (-p) processor model, now using: i7-2670QM!
Override value: (-f) clock frequency, now using: 2200 MHz!
Override value: (-target) CPU, now using: Sandy Bridge!
Override value: (-turbo) maximum (turbo) frequency, now using: 3100 MHz!
Override value: (-t) maximum TDP, now using: 45 Watt!

Version: models.cfg v170 / Sandy Bridge.cfg v150


Scope (_PR_) {1646 bytes} with ACPI Processor declarations found in DSDT (ACPI 1.0 compliant)
Generating ssdt.dsl for a 'MacBookPro11,2' with board-id [Mac-3CBD00234E554E41]
Sandy Bridge Core i7-2670QM processor [0x40651] setup [0x0705]
With a maximum TDP of '45' Watt, as specified by argument: -t 45
Number logical CPU's: 8 (Core Frequency: 2200 MHz)
Number of Turbo States: 9 (2300-3100 MHz)
Number of P-States: 24 (800-3100 MHz)
Adjusting C-States for detected (mobile) processor
Injected C-States for CPU0 (C1,C3,C6,C7)
Warning: 'cpu-type' may be set improperly (0x0705 instead of 0x0605)
     - Clover users should read https://clover-wiki.zetam.org/Configuration/CPU#cpu_type
Error: board-id [Mac-3CBD00234E554E41] not supported by Sandy Bridge – check SMBIOS data / use the -target option

Do you want to continue (y/n)? n
MacBook-Pro-de-Joe:~ joe$ ./ssdtPRGen.sh -p 'i7-2670QM'


ssdtPRGen.sh v0.9  Copyright (c) 2011-2012 by † RevoGirl
             v6.6  Copyright (c) 2013 by † Jeroen
             v21.5 Copyright (c) 2013-2017 by Pike R. Alpha
-----------------------------------------------------------
Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <

System information: Mac OS X 10.12.5 (16F73)
Brandstring: "Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz"

Override value: (-p) processor model, now using: i7-2670QM!

Version: models.cfg v170 / Sandy Bridge.cfg v150


Scope (_PR_) {1646 bytes} with ACPI Processor declarations found in DSDT (ACPI 1.0 compliant)
Generating ssdt.dsl for a 'MacBookPro11,2' with board-id [Mac-3CBD00234E554E41]
Sandy Bridge Core i7-2670QM processor [0x40651] setup [0x0705]
With a maximum TDP of 45 Watt, as specified by Intel
Number logical CPU's: 8 (Core Frequency: 2200 MHz)
Number of Turbo States: 9 (2300-3100 MHz)
Number of P-States: 24 (800-3100 MHz)
Adjusting C-States for detected (mobile) processor
Injected C-States for CPU0 (C1,C3,C6,C7)
Warning: 'cpu-type' may be set improperly (0x0705 instead of 0x0605)
     - Clover users should read https://clover-wiki.zetam.org/Configuration/CPU#cpu_type
Error: board-id [Mac-3CBD00234E554E41] not supported by Sandy Bridge – check SMBIOS data / use the -target option

Do you want to continue (y/n)? n
MacBook-Pro-de-Joe:~ joe$

You do not need an SSDT from ssdtPRgen.sh to reach the installer.

Follow the Clover guide linked from the FAQ.
http://www.tonymacx86.com/el-capita...faq-read-first-laptop-frequent-questions.html
 
Hi!
My laptop fan doesn't work properly. Sometimes it starts, sometimes it does not, and the PC gets as hot as 70°C.
However, upon restart, fan starts working and it cools down. What it seems not to work right is the ability to run non-stop, even when the PC is cold, because if I turn on the computer after it has been off for a while the fan doesn't start up, but it neither does when the processor overheats until I restart the computer.

I've attached IORegister, terminal reports & Clover folder below.

Thank you in advance.

The files in ACPI/origin are too old to compare against ACPI/patched.

Read FAQ, "Problem Reporting"
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
 
Back
Top