[Guide] How to generate SSDT for Unknown Processor Models using ssdtPRGen script



EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Messages
335
Likes
37
Motherboard
GIGABYTE Z370 AROUS GAMING 3
CPU
Intel Core i7 8700
Graphics
NVIDIA Geforce GTX 1080Ti
OS X/macOS
10.14.1
Bootloader
Clover (UEFI)
Mac
MacBook Pro
Mobile Phone
Android, iOS
#1
Piker-Alpha has developed a script called ssdtPRGen which will generate a SSDT for your CPU. But for few CPUs which is not listed, or are the latest CPUs from Intel, has not been added to the list. Whenever you try to generate the SSDT, it says "Error: Unknown processor model" and then aborts the process. Here's a quick way to add your CPU to the list and then generate your SSDT.

Determine the Code name of your CPU
Each CPU has it's own code name. The Code name describes the CPU
Determining the CPU code name is pretty easy. Follow the steps below to determine your CPU code name.
  1. Visit https://ark.intel.com
  2. Under search field, type your CPU name and press enter.
  3. A result of your CPU will be displayed.
  4. Under Essentials, locate the Code Name field and you can find your CPU code name such as Sandy Bridge, Ivy Bridge, Haswell, Broadwell, Skylake Kaby Lake, Kaby Lake-R, Coffee Lake etc.
Determine the CPU Details
Each CPU is different and has different specifications.
Determining the CPU details is pretty easy. Follow the steps below to determine your CPU details.
  1. Visit https://ark.intel.com
  2. Under search field, type your CPU name and press enter.
  3. A result of your CPU will be displayed.
  4. Under Performance, you can find the details. The required details are given below
Use the above steps and find the details under Performance section.
Details required :
Code:
Processor Number:
Max TDP:
Low Frequency Mode:
Clock Speed:
Max Turbo Frequency:
No. of Cores:
No. of Threads:
Download the configuration data and command line tools
If you're already having the configuration, skip the below steps and continue here. If not, continue following the steps below.
Open Terminal and download the Piker Alpha's script.
Code:
curl -o ~/Library/ssdtPRGen.zip https://codeload.github.com/Piker-Alpha/ssdtPRGen.sh/zip/Beta
unzip -qu ~/Library/ssdtPRGen.zip -d ~/Library/
mv ~/Library/ssdtPRGen.sh-Beta ~/Library/ssdtPRGen
rm ~/Library/ssdtPRGen.zip
This will download the required files to your user directory.

Adding CPU model
1. Open Finder and in menubar and click on Go to Folder
2. Type ~/Library/ssdtPRGen/
3. Navigate to /Data
4. Open the .cfg file using TextEdit

Note :
  • Only open the .cfg file followed by your CPU name such as Broadwell, Haswell etc...
5. Now add missing models like the following format: ## Processor Number, Max TDP, Low Frequency Mode, Clock Speed, Max Turbo Frequency, Cores, Threads
6. Use the details for your CPU which you collected in the step 2

Notes :
  • To find "low frequency mode", use AppleIntelInfo.kext.
  • Processors without turbo support, set Max Turbo Frequency equal to the Clock Speed. For e.g. i3-7350K, i3-7100 etc..

After adding the details, save the file.

Generating the SSDT
After adding your CPU details, generate the SSDT. Follow How to Generate SSDT for CPU Power Management to generate the SSDT.

Credits :
Pike R. Alpha
RehabMan