Contribute
Register

SSDT generation script (Ivybridge PM)

Status
Not open for further replies.
Forgot to mention, even with this new script, my CPU stuck at x8 with MacMini6,2 definition.

I change two lines of script.

from
let lowFrequencyPStates=($lowestFrequency/100)-8


to
let lowFrequencyPStates=($lowestFrequency/100)-7



from
let lowestFrequency=800


to
let lowestFrequency=700
 
I change two lines of script.

from
let lowFrequencyPStates=($lowestFrequency/100)-8

to
let lowFrequencyPStates=($lowestFrequency/100)-7

from
let lowestFrequency=800

to
let lowestFrequency=700

Tested on my rig, works OK.
Without these modifcations I must duplicate lowest Pstate (800) definition in APSS.
 
This problem has been solved. As in, you won't have to change anything anymore with next update (v3.0).

We've also been adding a lot more CPU's (including Xeon's) and the Low Frequency Mode is now also set automatically (value as published by Intel in their datasheets). That is, for most CPU's. Not all of them, since some of them aren't even released. Meaning that some of the data is still unknown.

The next update can also be renamed to ssdtPRGen.command and put on your Desktop, click on it and then it will compile/open SSDT_PR.dsl for you (set by switches in the script).

In short. You want to wait for the next BIG update :)
 
This problem has been solved. As in, you won't have to change anything anymore with next update (v3.0).

In short. You want to wait for the next BIG update :)

Thanks for your efforts, and for taking up and keeping alive the work made by Sam.
She is not forgotten.
 
This problem has been solved. As in, you won't have to change anything anymore with next update (v3.0).

We've also been adding a lot more CPU's (including Xeon's) and the Low Frequency Mode is now also set automatically (value as published by Intel in their datasheets). That is, for most CPU's. Not all of them, since some of them aren't even released. Meaning that some of the data is still unknown.

The next update can also be renamed to ssdtPRGen.command and put on your Desktop, click on it and then it will compile/open SSDT_PR.dsl for you (set by switches in the script).

In short. You want to wait for the next BIG update :)

Great work! Thanks for your efforts!
 
I change two lines of script.

from
let lowFrequencyPStates=($lowestFrequency/100)-8


to
let lowFrequencyPStates=($lowestFrequency/100)-7



from
let lowestFrequency=800


to
let lowestFrequency=700

Just tested these changes, no more stuck at x8, now I have 16,21,34,37,38,39 (according to MSRDumper.kext).
 
I change two lines of script.

from
let lowFrequencyPStates=($lowestFrequency/100)-8

to
let lowFrequencyPStates=($lowestFrequency/100)-7

from
let lowestFrequency=800

to
let lowestFrequency=700

Yes, this worked for me too after enabling the X86 Platform (toleda ML:Native IB CPU & GPU Power Management) on my Asus P8Z77-M Pro with iGPU graphics.

MSRDumper so far: 16 22 29 35 40 43
Thanks.
 
ssdtPRGen.sh version 3.0 is now available for download:

https://github.com/Piker-Alpha/RevoBoot/blob/clang/i386/libsaio/acpi/Tools/ssdtPRGen.sh

This is how you run the script

./ssdtPRGen.sh
./ssdtPRGen.sh 3100
./ssdtPRGen.sh 3100 35
./ssdtPRGen.sh 3100 35 1
./ssdtPRGen.sh i5-3210M

Output

sdtPRGen.sh v3.0 Copyright (c) 2013 by Pike R. Alpha
-----------------------------------------------------
Ivy Bridge Core i5-3210M processor installed
Using a maximum TDP of 35 Watt, as specified by Intel
4 logical CPU's detected with a Core Frequency of 2500 MHz
Number of Turbo States: 6 (2600-3100 MHz)
Number of P-States: 16 (1600-3100 MHz)
Adjusting C-States for detected (mobile) processor
Injected C-States for CPU0 (C1,C3,C6,C7)
Injected C-States for CPU1 (C1,C2,C3)

Possible warnings

Warning: 'cpu-type' may be set improperly (0x0602 instead of 0x0702)
Warning: 'board-id' [Mac-8ED6AF5B48C039E1] is not supported by Ivy Bridge PM
Warning: 'system-type' may be set improperly (0 instead of 2)

Notes

1.) We have a new power calculation, one that matches the algorithm used by Apple.
2.) There is no need to edit SSDT_PR.dsl anymore.
 
Ok, Im here..
Here is
Code:
ocalhost:~ gena$ sudo /Users/gena/Desktop/ssdtPRGen.sh 77 3600 1Password:


sdtPRGen.sh v3.0 Copyright (c) 2013 by Pike R. Alpha
-----------------------------------------------------
Ivy Bridge Core i5-3470 processor installed
Using a maximum TDP of 77 Watt, as specified by Intel
Max TDP override, now using: 3600 Watt
CPU type override, now using: Ivy Bridge
4 logical CPU's detected with a Core Frequency of 3200 MHz
Number of Turbo States: 0 (3300-77 MHz)
Number of P-States: -14 (1600-77 MHz)
Injected C-States for CPU0 (C1,C3,C6)
Injected C-States for CPU1 (C1,C2,C3)
Warning: 'cpu-type' may be set improperly (0x0604 instead of 0x0704)
/Users/gena/Desktop/ssdtPRGen.sh: line 1279: iasl: command not found
localhost:~ gena$

"line 1279: iasl: command not found" Is something wrong?
 
Status
Not open for further replies.
Back
Top