[Guide] How to Generate SSDT for CPU Power Management


Staff member
Piker-Alpha has developed a script called ssdtPRGen which will generate a SSDT for your CPU. By implementing the CPU power management, you would be able to achieve the maximum amount of power states for your CPU. Please note that CPU power management is not mandatory for Desktop CPU.

Before you start, make sure you're having a working internet connection.

Generating a SSDT for CPU Power Management
1. Before you generate a SSDT for your CPU, make sure that the correct SMBIOS has been configured for your current CPU. You can generate a SMBIOS using Clover Configurator. For more information, follow the guide here.

2. Open Terminal and download the Piker Alpha's script.
curl -o ~/ssdtPRGen.sh https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/master/ssdtPRGen.sh
For newer CPUs, use beta branch.
curl -o ~/ssdtPRGen.sh https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/Beta/ssdtPRGen.sh
3. This will download the ssdtPRGen.sh script to your user directory. The next step is to change the file permission
chmod +x ~/ssdtPRGen.sh
4. For default SSDT generation, type:
sudo ~/ssdtPRGen.sh
5. Confirm y or n and it will generate the SSDT.

6. Open Finder and in menubar and click on Go to Folder

7. Type ~/Library/ssdtPRGen/

8. Now mount your EFI partition of your system drive. For more information, follow the guide here.

9. Copy ssdt.aml to /Volumes/EFI/EFI/Clover/ACPI/patched/

Notes :
  • The Power Management SSDT should always be named as SSDT.aml. If you're already having a SSDT.aml in the directory, rename it to SSDT-1.aml, SSDT-2.aml and so on.
  • The default generated SSDT is ssdt.aml. You can rename it to SSDT.aml without any issue.
10. Restart your system

Testing Power Management
After restarting, you can test the power management. To test the power management, you need to use AppleIntelInfo.kext. You can either compile AppleIntelInfo.kext using XCode or can download from the post in the attachment.

1. Download and extract AppleIntelInfo.kext to your Desktop

2. Open Terminal

3. Type:
sudo kextutil /Users/your user name/Desktop/AppleIntelInfo.kext
When promoted, enter your password.

Note: If you get a error while loading kext, follow the steps below.
sudo chown -R root:wheel ~/Desktop/AppleIntelInfo.kext
sudo chmod -R 755 ~/Desktop/AppleIntelInfo.kext
Continue from the step 3.

4. Type:
sudo cat /tmp/AppleIntelInfo.dat
When promoted, enter your password.

5. The power states will be shown in the Terminal .

Credits :
Pike R. Alpha