[Guide] How to Generate SSDT for CPU Power Management

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Motherboard
GIGABYTE Z370 AROUS GAMING 3
CPU
Intel Core i9 9900K
Graphics
2xAMD RX 580 8GB
OS X/macOS
10.15.x
Bootloader
Clover (UEFI)
Mac
MacBook Pro
Mobile Phone
Android, iOS
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.
Code:
curl -o ~/ssdtPRGen.sh https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/master/ssdtPRGen.sh
For newer CPUs, use beta branch.
Code:
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
Code:
chmod +x ~/ssdtPRGen.sh
4. For default SSDT generation, type:
Code:
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:
Code:
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.
Code:
sudo chown -R root:wheel ~/Desktop/AppleIntelInfo.kext
Code:
sudo chmod -R 755 ~/Desktop/AppleIntelInfo.kext
Continue from the step 3.

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

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

Credits :
Pike R. Alpha
RehabMan
 

Attachments

mark

New member
Joined
Nov 19, 2018
Motherboard
Asus ZenBook UX430UNR
CPU
i7-8550u
Graphics
Intel UHD 620 / Nvidia MX150
OS X/macOS
10.15.x
Bootloader
Clover (UEFI)
Mac
MacBook Pro
Mobile Phone
iOS
Hello guys, i have some error
Screenshot 2018-11-19 at 20.52.28.png
 

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Motherboard
GIGABYTE Z370 AROUS GAMING 3
CPU
Intel Core i9 9900K
Graphics
2xAMD RX 580 8GB
OS X/macOS
10.15.x
Bootloader
Clover (UEFI)
Mac
MacBook Pro
Mobile Phone
Android, iOS
Hello guys, i have some errorView attachment 1423
As per your profile, you should follow the Laptop Power Management guide. You do not need to generate a SSDT for your Laptop. It's not needed. Your profile needs to be fixed. Intel Core i7-8550U has Intel UHD Graphics 620 not HD 620.
Provide PR files.
 

mark

New member
Joined
Nov 19, 2018
Motherboard
Asus ZenBook UX430UNR
CPU
i7-8550u
Graphics
Intel UHD 620 / Nvidia MX150
OS X/macOS
10.15.x
Bootloader
Clover (UEFI)
Mac
MacBook Pro
Mobile Phone
iOS

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Motherboard
GIGABYTE Z370 AROUS GAMING 3
CPU
Intel Core i9 9900K
Graphics
2xAMD RX 580 8GB
OS X/macOS
10.15.x
Bootloader
Clover (UEFI)
Mac
MacBook Pro
Mobile Phone
Android, iOS

streak

New member
Joined
Jun 18, 2019
Motherboard
meenu2510
CPU
i7 3700
Graphics
HD4000
OS X/macOS
Bootloader
Clover (UEFI)
Mac
iMac
Mobile Phone
Android, iOS
Thanks for the guide ,need to copy only SSDT.aml to Patched folder or all SSDT-1,SSDT-2,SSDT-3,SSDT-4 aml patches


CPU Ratio Info:
------------------------------------
CPU Low Frequency Mode.............: 1600 MHz
CPU Maximum non-Turbo Frequency....: 3400 MHz
CPU Maximum Turbo Frequency........: 3900 MHz

IGPU Info:
------------------------------------
IGPU Current Frequency.............: 350 MHz
IGPU Minimum Frequency.............: 350 MHz
IGPU Maximum Non-Turbo Frequency...: 650 MHz
IGPU Maximum Turbo Frequency.......: 1150 MHz
IGPU Maximum limit.................: No Limit

CPU P-States [ (16) 29 37 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 29 32 37 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 29 32 34 37 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 29 32 33 34 37 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 24 29 32 33 34 37 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 24 29 31 32 33 34 37 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 22 24 29 31 32 33 34 37 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 22 24 29 30 31 32 33 34 37 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 22 24 28 29 30 31 32 33 34 37 ] iGPU P-States [ (7) ]
CPU P-States [ (16) 22 24 28 29 30 31 32 33 34 35 37 ] iGPU P-States [ (7) ]
 

Attachments