Contribute
Register

SSDT generation script (Ivybridge PM)

Status
Not open for further replies.
Just find this, and try to make it work so I can use Macmini6,2 instead of MacPro3,1. I have a i5-3570K on H77ITX-A-E.

Few issue:
During generate ssh, I got two warnings:
Code:
~/ssdtPRGen.sh i5-3570K

sdtPRGen.sh v6.6 Copyright (c) 2013 by Pike R. Alpha
----------------------------------------------------------------
Processor Declaration(s) Found in DSDT (ACPI 1.0 compliant)
Generating ssdt_pr.dsl for a Macmini6,2 [Mac-F65AE981FFA204ED]
Ivy Bridge Core i5-3570K processor [0x306A9] setup [0x0601]
With a maximum TDP of 77 Watt, as specified by Intel
Number logical CPU's: 4 (Core Frequency: 3400 MHz)
Number of Turbo States: 4 (3500-3800 MHz)
Number of P-States: 23 (1600-3800 MHz)
Injected C-States for CPU0 (C1,C3,C6)
Injected C-States for CPU1 (C1,C2,C3)
Warning: Model identifier [Macmini6,2] is missing from: /S*/L*/CoreServices/PlatformSupport.plist

Warning: 'cpu-type' may be set improperly (0x0601 instead of 0x0701)

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20130117-64 [Jan 19 2013]
Copyright (c) 2000 - 2013 Intel Corporation

ASL Input:     /Users/tmp/Desktop/ssdt_pr.dsl - 232 lines, 7463 bytes, 37 keywords
AML Output:    /Users/tmp/Desktop/ssdt_pr.aml - 1375 bytes, 15 named objects, 22 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations

After I apply new generated ssdt, I got:
MSRDumper PStatesReached: 16 21 28 34 36 37 38

I saw many people are get more than this, and lowest go to 12. What I did wrong?

Model: Macmini6,2
GeneratePStates=Yes
GenerateCStates=Yes
DropSSDT=Yes


Any idea?

Thanks

Noodle
read first post again :D
TIPS
The next step is to make sure that SSDT's are dropped by the boot loader, and that it won't generate P/C-States for you because you don't need them with the generated SSDT.
 
I thought that we answered this a few pages back, no?

Someone else brought up the same question but with a similar CPU. Not sure if he made is own SSDT manually. There is no automatic way to create a SSDT with an Arrandale CPU?
 
Thank you, but after I change both GenerateCStates and GeneratePStates to "No", it's still just MSRDumper PStatesReached: 16 21 28 34 36 37 38.

read first post again :D
TIPS
The next step is to make sure that SSDT's are dropped by the boot loader, and that it won't generate P/C-States for you because you don't need them with the generated SSDT.
 
Just find this, and try to make it work so I can use Macmini6,2 instead of MacPro3,1. I have a i5-3570K on H77ITX-A-E.

Few issue: During generate ssh, I got two warnings:

Warning: Model identifier [Macmini6,2] is missing from: /S*/L*/CoreServices/PlatformSupport.plist
Warning: 'cpu-type' may be set improperly (0x0601 instead of 0x0701)

After I apply new generated ssdt, I got:
MSRDumper PStatesReached: 16 21 28 34 36 37 38

I saw many people are get more than this, and lowest go to 12. What I did wrong?
I'm sorry but there is no 1200 MHz support for your processor. You can check this yourself by using my AppleIntelCPUPowerManagementInfo.kext (use search) and that may as well show at least one more P-State.

@GostRaiderMX,

I'm afraid not.
 
@GostRaiderMX,

I'm afraid not.

How did you get the values for Sandy Bridge and Ivy Bridge processors for your script? I mean that shouldn't be different for Arrandale. Maybe I can use this information and make my own SSDT manually?
 
How did you get the values for Sandy Bridge and Ivy Bridge processors for your script? I mean that shouldn't be different for Arrandale. Maybe I can use this information and make my own SSDT manually?
I think that Sam used biosbits.org but we changed the algorithm later on to match that of Apple. Which is slightly different.
 
At the risk of being regarded a complete fool, I have a question about ssdtPRGen:

I downloaded and unzipped ssdtPRGen.app and placed it on my desktop.
Double-clicked it and it created ssdtPRGen.command on my desktop.
Double-clicked it again and it opened a command/shell/terminal window. It shows:


sdtPRGen.sh v6.6 Copyright (c) 2013 by Pike R. Alpha
----------------------------------------------------------------
Processor Declaration(s) Found in DSDT (ACPI 1.0 compliant)
Generating ssdt_pr.dsl for a Macmini6,2 [Mac-F65AE981FFA204ED]
Ivy Bridge Core i3-3225 processor [0x306A9] setup [0x0901]
With a maximum TDP of 55 Watt, as specified by Intel
Number logical CPU's: 4 (Core Frequency: 3300 MHz)
Number of Turbo States: 0
Number of P-States: 18 (1600-3300 MHz)
Injected C-States for CPU0 (C1,C3,C6)
Injected C-States for CPU1 (C1,C2,C3)
Warning: Model identifier [Macmini6,2] is missing from: /S*/L*/CoreServices/PlatformSupport.plist

Warning: 'cpu-type' may be set improperly (0x0901 instead of 0x0701)

IASL not found. Downloading iasl...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1132k 100 1132k 0 0 397k 0 0:00:02 0:00:02 --:--:-- 457k
Done.
/Users/admin/ssdtPRGen.command: line 2121: /usr/local/bin/iasl: Permission denied
logout

[Proces voltooid]



I already found out that the two warnings are probably of no importance.
It downloads IASL after entering password
The app does create a ssdt_pr.dsl file on my desktop.
But i dont get a ASL or AML file; it says: permission denied.

On an other tutorial on an other site i read that I had to do this in my homefolder.
So I did that and now I have the same three files in my home folder as wel:
ssdtPRGen.app ssdtPRGen.command ssdtPRGen.sh

Well, I tried all the above a few times, including redownloading the original zip and extracting it.

Does anybody know a link to a tutorial how to use the ssdtPRGen app version 6.6?
Or better, tell me what I am doing wrong?
 
At the risk of being regarded a complete fool, I have a question about ssdtPRGen:

...

/Users/admin/ssdtPRGen.command: line 2121: /usr/local/bin/iasl: Permission denied
logout
[Proces voltooid]
You are the first person to report this, but maybe we should change line 2121 and add sudo like this:
Code:
[FONT=Menlo]_   [COLOR=#D12F1B]"$iasl"[/COLOR] $gSsdtPR
[/FONT]+   sudo [COLOR=#D12F1B]"$iasl"[/COLOR] $gSsdtPR
Does that work for you?
 
Thank you for your quick answer!
Maybe it has to do with that I login with user admin (and not a user with admin rights)

i will edit this message when i found out where to change your suggested lines, and do a follow-up.
brb ;)

EDIT:

Found it, changed it, ran it and:


dtPRGen.sh v6.6 Copyright (c) 2013 by Pike R. Alpha
----------------------------------------------------------------
Processor Declaration(s) Found in DSDT (ACPI 1.0 compliant)
Generating ssdt_pr.dsl for a Macmini6,2 [Mac-F65AE981FFA204ED]
Ivy Bridge Core i3-3225 processor [0x306A9] setup [0x0901]
With a maximum TDP of 55 Watt, as specified by Intel
Number logical CPU's: 4 (Core Frequency: 3300 MHz)
Number of Turbo States: 0
Number of P-States: 18 (1600-3300 MHz)
Injected C-States for CPU0 (C1,C3,C6)
Injected C-States for CPU1 (C1,C2,C3)
Warning: Model identifier [Macmini6,2] is missing from: /S*/L*/CoreServices/PlatformSupport.plist

Warning: 'cpu-type' may be set improperly (0x0901 instead of 0x0701)

IASL not found. Downloading iasl...
Password:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1132k 100 1132k 0 0 362k 0 0:00:03 0:00:03 --:--:-- 411k
Done.

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20130117-64 [Jan 19 2013]
Copyright (c) 2000 - 2013 Intel Corporation

ASL Input: /Users/admin/Desktop/ssdt_pr.dsl - 226 lines, 7077 bytes, 37 keywords
AML Output: /Users/admin/Desktop/ssdt_pr.aml - 1261 bytes, 15 named objects, 22 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations

Warning: Failed to locate the Clover boot.log
Creating temporarily mount point: /Volumes/EFI
Mounting EFI partition...
mount_hfs: Invalid argument

Unmounting EFI partition...
umount: /Volumes/EFI: not currently mounted
Removing temporarily mount point...

Do you want to copy /Users/admin/Desktop/ssdt_pr.aml to /Extra/ssdt_pr.aml? (y/n)?y
logout

[Proces voltooid]


So I guess it worked!
Thanks, Mr. PikeRAlpha!

(now on the next mission: ssdt_pr.aml is on my desktop, find out what to do with that :) )
 
(now on the next mission: ssdt_pr.aml is on my desktop, find out what to do with that :) )
If you're using Chimera or Chameleon bootloader, in /Extra you'll find ssdt_pr.aml. Just rename it as ssdt.aml, install AppleIntelCPUPowerManagementInfo.kext, reboot and check speed steps as stated in that thread from Pike :thumbup:
 
Status
Not open for further replies.
Back
Top