[Guide] How to Generate SSDT for CPU Power Management



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. 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
Messages
11
Likes
2
Motherboard
Asus ZenBook UX430UNR
CPU
i7-8550u
Graphics
Intel UHD 620 / Nvidia MX150
OS X/macOS
10.14.3
Bootloader
Clover (UEFI)
Mac
MacBook Pro
Mobile Phone
iOS
#2
Hello guys, i have some error
Screenshot 2018-11-19 at 20.52.28.png
 

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
#3
Hello guys, i have some error View 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.
 

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
#5