Bash script to generate ssdt-pr.dsl
June 16, 2012 by RevoGirl
I wrote a bash script, on the airport on the day that I left for my vacation to Spain, but I was unable to finish it. Until today that is. What does it do? Simple. This script creates a ssdt-pr.dsl after running the following terminal command:
Code:
sudo ./ssdtPRGen.sh 95 3700
The above example creates: /tmp/ssdt-pr.dsl for a i5-2500K
It works almost fully automatically, but we need to supply two arguments,
TDP and max turbo frequency. Easy huh?
You can get my script from my dropbox account
here.
p.s. There are variables in OS X that cannot hold any frequency above 4.2 GHz and thus they should NOT be used – going over 4.2 GHz means that you end up with negative frequencies!!!