Contribute
Register

Quick Guide to Generate a SSDT for CPU Power Management

I'm running a Skylake i7-6700 CPU with the iMac14,2 system definition on macOS Sierra 10.12.3 (forgot to mention that at first).

When I ran the ssdtPRGen.sh it naturally complained that the SMBIOS & CPU didn't match.

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.3 (16D32)

Brandstring: "Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz"


Override value: (-target) CPU, now using: Skylake!


Version: models.cfg v170 / Skylake.cfg v193



Scope (_PR_) {222 bytes} with ACPI Processor declarations found in DSDT (ACPI 1.0 compliant)

Generating ssdt.dsl for a 'iMac14,2' with board-id [Mac-27ADBB7B4CEE8E61]

Skylake Core i7-6700 processor [0x506E3] setup [0x0705]

With a maximum TDP of 65 Watt, as specified by Intel

Number logical CPU's: 8 (Core Frequency: 3400 MHz)

Number of Turbo States: 6 (3500-4000 MHz)

Number of P-States: 33 (800-4000 MHz)

Injected C-States for CPU0 (C1,C3,C6,C7,C8,C9,C10)

Injected C-States for CPU1 (C1,C2,C3,C6,C7)

Warning: 'cpu-type' may be set improperly (0x0705 instead of 0x0905)

- Clover users should read https://clover-wiki.zetam.org/Configuration/CPU#cpu_type

Error: board-id [Mac-27ADBB7B4CEE8E61] not supported by Skylake – check SMBIOS data / use the -target option


Do you want to continue (y/n)? y

Warning: 'system-type' may be set improperly (1 instead of 2)

- Clover users should read https://clover-wiki.zetam.org/Configuration/ACPI#acpi_smartupsNotice: Downloading iasl.zip ...


Compiling: ssdt_pr.dsl

Intel ACPI Component Architecture

ASL Optimizing Compiler version 20140926-64 [Nov 6 2014]

Copyright (c) 2000 - 2014 Intel Corporation


ASL Input: /Users/bradtaylor/Library/ssdtPRGen/ssdt.dsl - 362 lines, 11192 bytes, 73 keywords

AML Output: /Users/bradtaylor/Library/ssdtPRGen/ssdt.aml - 2327 bytes, 28 named objects, 45 executable opcodes


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

Do you want to open ssdt.dsl (y/n)? n​

After the compilation I moved the ssdt.aml to /Volumes/EFI/EFI/CLOVER/ACPI/patched/ssdt.aml and rebooted.

I seem to have a few more p-states following the emplacement of the ssdt.aml file (well two actually, not much change, although the Intel Power Gadget Core Frequency chart bounces around a lot more):

(From AppleIntelInfo.kext /tmp/AppleIntelInfo.dat)

before
CPU P-States [ 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 (40) ]

after
CPU P-States [ 8 9 11 12 13 14 15 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 (34) 35 36 37 38 39 40 ]

Now I have these questions:
1. Is there any harm having the mismatch between the CPU and the System Definition?
2. Have I executed this correctly?
3. Does anything have to be adjusted in the CLOVER/config.plist file to support this?

configuration
Skylake Core i7-6700
Gigabyte GA-Z170N-WIFI rev 2.0 MB with BIOS F20
Gigabyte NVIDIA GTX970 (reason I haven't flipped to iMac17,1)

Nothing checked in ACPI SSDT section; config.plist attached.

thanks all... Brad
 

Attachments

  • config.plist
    11 KB · Views: 244
Confused if we should be using MacPro6,1 or iMac16,2 for current XCPM? I have a Haswell-E Xeon.

The Power Management Guide thread says use an iMac definition.
 
I'm running a Skylake i7-6700 CPU with the iMac14,2 system definition on macOS Sierra 10.12.3 (forgot to mention that at first).

When I ran the ssdtPRGen.sh it naturally complained that the SMBIOS & CPU didn't match.



After the compilation I moved the ssdt.aml to /Volumes/EFI/EFI/CLOVER/ACPI/patched/ssdt.aml and rebooted.

I seem to have a few more p-states following the emplacement of the ssdt.aml file (well two actually, not much change, although the Intel Power Gadget Core Frequency chart bounces around a lot more):

(From AppleIntelInfo.kext /tmp/AppleIntelInfo.dat)

before
CPU P-States [ 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 (40) ]

after
CPU P-States [ 8 9 11 12 13 14 15 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 (34) 35 36 37 38 39 40 ]

Now I have these questions:
1. Is there any harm having the mismatch between the CPU and the System Definition?
2. Have I executed this correctly?
3. Does anything have to be adjusted in the CLOVER/config.plist file to support this?

configuration
Skylake Core i7-6700
Gigabyte GA-Z170N-WIFI rev 2.0 MB with BIOS F20
Gigabyte NVIDIA GTX970 (reason I haven't flipped to iMac17,1)

Nothing checked in ACPI SSDT section; config.plist attached.

thanks all... Brad


-----


is Sleep working?
I have a similar configuration. But Sleep is not working.
 
-----


is Sleep working?
I have a similar configuration. But Sleep is not working.

What I'm seeing is Sleep works ok (enter/exit), but eventually it goes to hibernate mode and then it ends up in a continuous boot loop.

I found this note:

#579

that mentions hibernate mode is not well supported and to disable it using the pmset command.
Code:
sudo pmset -a hibernatemode 0

When I interrogate the setting using pmset -g, I see it is already set correctly, so now i am trying to figure out how it is getting to hibernate mode outside of macOS. :crazy:
 
Last edited:
I'm running a Skylake i7-6700 CPU with the iMac14,2 system definition on macOS Sierra 10.12.3 (forgot to mention that at first).

When I ran the ssdtPRGen.sh it naturally complained that the SMBIOS & CPU didn't match.



After the compilation I moved the ssdt.aml to /Volumes/EFI/EFI/CLOVER/ACPI/patched/ssdt.aml and rebooted.

I seem to have a few more p-states following the emplacement of the ssdt.aml file (well two actually, not much change, although the Intel Power Gadget Core Frequency chart bounces around a lot more):

(From AppleIntelInfo.kext /tmp/AppleIntelInfo.dat)

before
CPU P-States [ 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 (40) ]

after
CPU P-States [ 8 9 11 12 13 14 15 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 (34) 35 36 37 38 39 40 ]

Now I have these questions:
1. Is there any harm having the mismatch between the CPU and the System Definition?
2. Have I executed this correctly?
3. Does anything have to be adjusted in the CLOVER/config.plist file to support this?

configuration
Skylake Core i7-6700
Gigabyte GA-Z170N-WIFI rev 2.0 MB with BIOS F20
Gigabyte NVIDIA GTX970 (reason I haven't flipped to iMac17,1)

Nothing checked in ACPI SSDT section; config.plist attached.

thanks all... Brad

Seems to be an known unresolved issue: https://github.com/Piker-Alpha/ssdtPRGen.sh/issues/289
 
When I try to generate the SSDT with the command:
Code:
sudo ~/ssdtPRGen.sh

I get the error:
Code:
gDataPath: /Users/roberto/Library/ssdtPRGen/Data
System information: Mac OS X 10.12.3 (16D32)
Brandstring 'Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz'

Error: Unknown processor model ...
       Visit http://ark.intel.com to gather the required data:
       Processor Number
       TDP
       Low Frequency Mode (use AppleIntelInfo.kext)
       Base Frequency
       Max Turbo Frequency
       Cores
       Threads
Aborting ...

What can I do?
 
Back
Top