Contribute
Register

SSDT generation script (Ivybridge PM)

Status
Not open for further replies.
Need a little help, this is all I get after downloading the newest version. It seems like it is not running the script.
 

Attachments

  • Screen Shot 2013-03-01 at 7.15.24 AM.png
    Screen Shot 2013-03-01 at 7.15.24 AM.png
    58.4 KB · Views: 269
Hi guys, I have been trying for several hours to get this to work, and I have read through every post in this thread but I still cant get it to work. I'm running build 12C3104 with the Mac mini 6,2 smbios. This is the script output I get when I run it:

"Last login: Sat Mar 2 01:26:44 on ttys002
localhost:~ MountainLion$ /Users/MountainLion/ssdtPRGen.command ; exit;

sdtPRGen.sh v5.2 Copyright (c) 2013 by Pike R. Alpha
----------------------------------------------------------------
/Users/MountainLion/ssdtPRGen.command: line 971: let: gProcLabel=: syntax error: operand expected (error token is "=")...
What do you get when you run this in a terminal window:
Code:
ioreg -p IODeviceTree -c IOACPIPlatformDevice -k cpu-type | egrep name  | sed -e 's/ *[-|="<a-z>]//g'
And this:
Code:
[COLOR=#000000]ls -al /usr/local[/COLOR]
 
Need a little help, this is all I get after downloading the newest version. It seems like it is not running the script.
I thought to have fixed this already. Please update once again and let me know how you start the script. Thanks.
 
I am ready to give you all the data that will be required
Perhaps the problem in the SSDT? The size of the original table is very high, just in case, I'll do it, too
That is not what I am looking for. I need the IORegistryDump and/or SSDT-PR.dsl, but looking at the provided ACPI table, that is insane. 64 logical processors? That can't be right.

Update: I received an e-mail with the required data. Thank you!

Oh yes. We need to work on better processor label support. For double (CPnn) and triple digits (Cnnn). Currently we only support a single digit (CPUn) and that appears to be the problem.
 
When I run " ioreg -p IODeviceTree -c IOACPIPlatformDevice -k cpu-type | egrep name | sed -e 's/ *[-|="<a-z>]//g' " and " ls -al /usr/local " I get:
Last login: Sat Mar 2 10:13:42 on console
localhost:~ MountainLion$ ioreg -p IODeviceTree -c IOACPIPlatformDevice -k cpu-type | egrep name | sed -e 's/ *[-|="<a-z>]//g'
CPU0
CPU1
CPU2
CPU3
CPU4
CPU5
CPU6
CPU7
localhost:~ MountainLion$ ls -al /usr/local
ls: /usr/local: No such file or directory
localhost:~ MountainLion$ cd /usr
localhost:usr MountainLion$ cd /local
localhost:local MountainLion$
 
I thought to have fixed this already. Please update once again and let me know how you start the script. Thanks.

ok, got it to work. I had to delete everything and re-download the app to get it to work. Not sure what happened.
 
Works like a charm! I downloaded the most recent version from github, and entered

Code:
~\ssdtPRGen.sh 4500

into terminal, and bam!

Thanks to all involved!
 
SSDT generation script (Sandy/Ivy Bridge PM)

When I run " ioreg -p IODeviceTree -c IOACPIPlatformDevice -k cpu-type | egrep name | sed -e 's/ *[-|="<a-z>]//g' " and " ls -al /usr/local " I get:
Last login: Sat Mar 2 10:13:42 on console
localhost:~ MountainLion$ ioreg -p IODeviceTree -c IOACPIPlatformDevice -k cpu-type | egrep name | sed -e 's/ *[-|="<a-z>]//g'
CPU0
CPU1
CPU2
CPU3
CPU4
CPU5
CPU6
CPU7
localhost:~ MountainLion$ ls -al /usr/local
ls: /usr/local: No such file or directory
localhost:~ MountainLion$ cd /usr
localhost:usr MountainLion$ cd /local
localhost:local MountainLion$
Ah yes. This was my fault. Should be fine now.

Please update to the latest available version (5.3) and let me know if that works for you.

Thank you for testing this for us!
 
Updated and it works fine now, thanks! :)
 
Working fine!
Modified my 3770T with
Code:
./ssdtPRGen.sh 4100 48

Code:
sdtPRGen.sh v5.3 Copyright (c) 2013 by Pike R. Alpha
----------------------------------------------------------------
Generating SSDT_PR.dsl for a Macmini6,2 [Mac-F65AE981FFA204ED]
Ivy Bridge Core i7-3770T processor [0x0701] setup
With a maximum TDP of 45 Watt, as specified by Intel
Override value: Max Turbo Frequency, now using: 4100 MHz!
Override value: Max TDP, now using: 48 Watt!
Number logical CPU's: 8 (Core Frequency: 2500 MHz)
Number of Turbo States: 16 (2600-4100 MHz)
Number of P-States: 26 (1600-4100 MHz)
Injected C-States for CPU0 (C1,C3,C6)
Injected C-States for CPU1 (C1,C2,C3)

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

ASL Input:     /Users/gio/Desktop/SSDT_PR.dsl - 255 lines, 8470 bytes, 56 keywords
AML Output:    /Users/gio/Desktop/SSDT_PR.aml - 1615 bytes, 27 named objects, 29 executable opcodes

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

Do you want to copy /Users/gio/Desktop/SSDT_PR.aml to /Extra/SSDT.aml? (y/n)?

Code:
Mar  2 19:40:12 localhost kernel[0]: MSRDumper CoreMulti(16) 
Mar  2 19:40:12 localhost kernel[0]: MSRDumper PStatesReached: 16 17 21 25 30 31 32 33 34 35 36 37 38 40

Thanks! :thumbup:
 
Status
Not open for further replies.
Back
Top