You can download the latest Beta of ssdtPRGen.sh by entering the following command in a terminal window:
curl -o ~/ssdtPRGen.sh https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/Beta/ssdtPRGen.sh
You can verify the size of the downloaded file with:
wc -c ssdtPRGen.sh
That should match with what you see [here] (https://github.com/Piker-Alpha/ssdtPRGen.sh/blob/Beta/ssdtPRGen.sh). Right now that is 142KB. A failed download is usually much smaller (like 447 bytes or so).
This will download ssdtPRGen.sh to your home directory (~) and the next step is to change the permissions of the file (add +x) so that it can be run.
chmod +x ~/ssdtPRGen.sh
Note: ssdtPRGen.sh v15.1 and greater require a working Internet connection so that it can download configuration data and command line tools. You can also download a complete zip archive by entering the following commands in a terminal window:
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
$ ~/ssdtPRGen.sh -h
Usage: ./ssdtPRGen.sh [-abcdfhlmptwx]
-acpi Processor name (example: CPU0, C000)
-bclk frequency (base clock frequency)
-board-id (example: Mac-F60DEB81FF30ACF6)
-cpus number of physical processors [1-4]
-debug output:
0 = no debug injection/debug output
1 = inject debug statements in: ssdt.dsl
2 = show debug output
3 = both
-frequency (clock frequency)
-help info (this)
-lfmode, lowest idle frequency
-logical processors [2-128]
-mode script mode [normal/custom]:
normal – Use ACPI/IOREG data from the host computer
custom – Use ACPI data from: /Users/[username]/Desktop
– : /Users/[username]/Desktop
-model (example: MacPro6,1)
-open the previously generated SSDT
-processor model (example: 'E3-1285L v3')
-show supported board-id and model combinations:
Sandy Bridge
Ivy Bridge
Haswell
Broadwell
Skylake
-target CPU type:
0 = Sandy Bridge
1 = Ivy Bridge
2 = Haswell
3 = Broadwell
4 = Skylake
-turbo maximum (turbo) frequency:
6300 for Sandy Bridge and Ivy Bridge
8000 for Haswell and Broadwell
-tdp [11.5 - 150]
-workarounds for Ivy Bridge:
0 = no workarounds
1 = inject extra (turbo) P-State at the top with maximum (turbo) frequency + 1 MHz
2 = inject extra P-States at the bottom
3 = both
-xcpm mode:
0 = XCPM mode disabled
1 = XCPM mode enabled
Note: This is the output of version 17.4
All possible bugs (so called 'issues') should be filed [here] (https://github.com/Piker-Alpha/ssdtPRGen.sh/issues).
Please do not use my blog for this. Thank you!