New repository for ssdtPRGen.sh

I have added a new repository for ssdtPRGen.sh at https://github.com/Piker-Alpha/ssdtPRGen.sh

This new repository should help me to commit changes more easily, without forcing me to first finish other unrelated changes. And that I take things seriously can be seen here. I mean this particular piece of code was added for one person (Fabio) so when something doesn’t work for your setup, then please contact me per e-mail (see script) or file a bug report here.

Give the new update (version 9.4) a run on your setup and like I said. Please report new bugs via e-mail or link I proved above.

Thank you for helping me to improve ssdtPRGen.sh

27 thoughts on “New repository for ssdtPRGen.sh

  1. Thank you Pike, now also for my ASRock X79 Extreme 9 your script activated correctly many features (C3, C6) turboboost steps from 30 to 36 and overall a perfect wattage CPU Usage

    I would like to say also that with previous script version I was not able to activate X86PlatformPlugin in any way without Pike additional script patching.
    With 9.4 version all is automatically done.
    Thank you again Pike

  2. I’m getting some errors with 9.5
    ./ssdtPRGen.sh: line 834: printf: 77*1000: invalid number
    ./ssdtPRGen.sh: line 902: printf: 77*1000: invalid number
    ./ssdtPRGen.sh: line 902: printf: 77*1000: invalid number
    ./ssdtPRGen.sh: line 902: printf: 77*1000: invalid number
    ./ssdtPRGen.sh: line 902: printf: 77*1000: invalid number
    ./ssdtPRGen.sh: line 902: printf: 77*1000: invalid number

  3. Man, Thanks for all your works. In the latest versions of your ssdt generator does not generate acpi cpu scope. My cpu scope is SB but when generated the ssdt appears PR

  4. Hello Pike, report back concerning ssdtPRGen.sh v9.6:

    With plugin-type One (CPU type: Ivy Bridge) X86PlatformPlugin isn’t loaded.

    ./ssdtPRGen-9.6.sh 3800 130 1

    System information: Mac OS X 10.9.2 (13C53)
    Brandstring ‘Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz’
    Name (_HID, “ACPI0004”) NOT found in the DSDT
    Processor {.} Declaration(s) found in DSDT (ACPI 1.0 compliant)
    Generating ssdt.dsl for a MacPro6,1 [Mac-F60DEB81FF30ACF6]
    Sandy Bridge Core i7-3930K processor [0x206D7] setup [0x0703]
    With a maximum TDP of 130 Watt, as specified by Intel
    Override value: CPU type, now using: Ivy Bridge
    Number logical CPU’s: 12 (Core Frequency: 3200 MHz)
    Number of Turbo States: 6 (3300-3800 MHz)
    Number of P-States: 27 (1200-3800 MHz)
    Injected C-States for C000 (C1,C3,C6)
    Injected C-States for C001 (C1,C3,C6)

    • Hi Rob,

      Just to let you know: The Intel i7-3930K is supported i.e. the processor data is included in the script, and thus all you have to do is enter: ./ssdtPRGen.sh
      No arguments required.

      The plugin-type property is there in the IORegistry but the plug-in isn’t loading? Or is the plugin-type property not set? In any case. Try version 9.8 😉

      • Thank’s Pike, plugin-type property is set but NOT showing up in the IORegistry, like it was before v9.6. I will give 9.8 a go 😉

      • Hello Pike, just report back concerning ssdtPRGen.sh v9.8:

        No go for X86PlatformPlugin, I do not know if this is for special reason
        (Plugin type one just only for debugging purpose SB-E?)

        Gererating ssdt without flags: ./ssdtPRGen-9.8.sh

        System information: Mac OS X 10.9.2 (13C53)
        Brandstring ‘Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz’
        Name (_HID, “ACPI0004”) NOT found in the DSDT
        Processor {.} Declaration(s) found in DSDTProcessor {} Declaration(s) found in DSDT (ACPI 1.0 compliant)Generating ssdt.dsl for a MacPro6,1 [Mac-F60DEB81FF30ACF6]
        Sandy Bridge Core i7-3930K processor [0x206D7] setup [0x0703]
        With a maximum TDP of 130 Watt, as specified by Intel
        Number logical CPU’s: 12 (Core Frequency: 3200 MHz)
        Number of Turbo States: 6 (3300-3800 MHz)
        Number of P-States: 27 (1200-3800 MHz)
        Injected C-States for C000 (C1,C3,C6,C7)

        Result ioreg: {ACPI_SMC_PlatformPlugin}

        Gererating ssdt with param: ./ssdtPRGen-9.8.sh “i7-3930K” 3200 130 1

        System information: Mac OS X 10.9.2 (13C53)
        Brandstring ‘Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz’
        Name (_HID, “ACPI0004”) NOT found in the DSDT
        Processor {.} Declaration(s) found in DSDTProcessor {} Declaration(s) found in DSDT (ACPI 1.0 compliant)Generating ssdt.dsl for a MacPro6,1 [Mac-F60DEB81FF30ACF6]
        Sandy Bridge Core i7-3930K processor [0x206D7] setup [0x0703]
        With a maximum TDP of 130 Watt, as specified by Intel
        Override value: CPU type, now using: Ivy Bridge
        Number logical CPU’s: 12 (Core Frequency: 3200 MHz)
        Number of Turbo States: 6 (3300-3800 MHz)
        Number of P-States: 27 (1200-3800 MHz)
        Injected C-States for C000 (C1,C3,C6)
        Injected C-States for C001 (C1,C3,C6)

        Result ioreg: {ACPI_SMC_PlatformPlugin}

      • Ah yes of course. You need a bridge type override (SB->IB) for your SB processor, or the plugin-type property won’t get set. About the error. I think that a lost return was the problem. Should be fixed in ssdtPRGen.sh version 9.9

      • Thank’s Pike, have some news, AlCPUPI v3.3 (there must be v3.4 can’t find)
        ssdtPRGen.sh v9.8 CPU P-States [ 29 31 (32) ] thats new for me with AICPUP loaded 😉
        Enabled C7 in BIOS, I will check 9.9 and report back.

      • Hello Pike, report back concerning ssdtPRGen.sh v9.9:

        Sorry, no go for No go for X86PlatformPlugin!!

        And, Houston we have a exception this time 😉
        [Error: board-id [Mac-F60DEB81FF30ACF6] and model [MacPro6,1] mismatch}

        You probably noticed the message concerning:
        {Name (_HID, “ACPI0004”) NOT found in the DSDT}

      • Hello Pike, report back concerning ssdtPRGen.sh v10.0:

        Plugin-type property is set correct now with plugin-type 1
        Result ioreg: {X86PlatformPlugin} so it’s loading again.

  5. I tried the latest ver of ssdtPRGen.sh (9.8) in combination with AppleHDA8Series.sh and now i have 0 sound distortion..I don’t know which one actually did the job but my sound now works great under 10.8.5 and soon i will test on 10.9. My system specs are GA-z87m-d3h , i7-4770k stock and a gtx660. smbios imac14.2

  6. Hello – running ssdtPRgen.sh v.10.0 against dual Xeon x5660 on Supermicro X8DTL-6F on fresh 10.9.1 vanilla install – getting problem:

    ./ssdtPRGen.sh 9 2997

    Where 9 is core multiplier and 2999 Core Clock as seen in P-States calculator.

    ssdtPRGen.sh v0.9 Copyright (c) 2011-2012 by † RevoGirl
    v6.6 Copyright (c) 2013 by † Jeroen
    v10.0 Copyright (c) 2013-2014 by Pike R. Alpha
    —————————————————————–
    System information: Mac OS X 10.9.1 (13B42)
    Brandstring ‘Intel(R) Xeon(R) CPU X5660 @ 2.80GHz’
    Name (_HID, “ACPI0004”) NOT found in the DSDT
    Processor {} Declaration(s) found in DSDT
    Using Scope (\_SB_) {} as processor scope
    Generating ssdt.dsl for a MacPro5,1 [Mac-F221BEC8]
    Unknown Core processor [0x206C2] setup [0x0501]
    Number logical CPU’s: 12 (Core Frequency: 2800 MHz)

    Error: ‘MaxTurboFrequency’ must be in the range of 2800-6300… exiting

    Also tried:
    ./ssdtPRGen.sh 2997 95
    Where 95 is max. TDP of x5660 CPU.

    Creation gets further but conks out
    ssdtPRGen.sh v0.9 Copyright (c) 2011-2012 by † RevoGirl
    v6.6 Copyright (c) 2013 by † Jeroen
    v9.1 Copyright (c) 2013-2014 by Pike R. Alpha
    —————————————————————-
    System information: Mac OS X 10.9.1 (13B42)
    Brandstring ‘Intel(R) Xeon(R) CPU X5660 @ 2.80GHz’
    Processor Declaration(s) Found in DSDT
    Generating ssdt_pr.dsl for a MacPro5,1 [Mac-F221BEC8]
    Unknown Core processor [0x206C2] setup [0x0501]
    Override value: Max Turbo Frequency, now using: 2997 MHz!
    Override value: Max TDP, now using: 95 Watt!
    Number logical CPU’s: 12 (Core Frequency: 2800 MHz)
    Number of Turbo States: 1 (2900-2997 MHz)
    Number of P-States: 14 (1600-2997 MHz)
    ./ssdtPRGen.sh: line 738: [: -ne: unary operator expected
    ./ssdtPRGen.sh: line 821: ((: == 4 && 3 & 2 : syntax error: operand expected (error token is “== 4 && 3 & 2 “)
    Injected C-States for P001 (C1,C3,C6)
    ./ssdtPRGen.sh: line 1659: [: -ge: unary operator expected
    ./ssdtPRGen.sh: line 2317: [: -ne: unary operator expected

    Warning: ‘system-type’ may be set improperly (3 instead of 0)

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

    /Users/david/Desktop/ssdt_pr.dsl 71:
    Error 4124 – syntax error, unexpected $end and premature End-Of-File

    ASL Input: /Users/david/Desktop/ssdt_pr.dsl – 72 lines, 2494 bytes, 17 keywords

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

  7. Hi, with 10 version i have always pstate error, with 9.2 all works, no more that error.

    9.2:
    External (\_PR_.CPU7, DeviceObj)
    External (\_PR_.CPU6, DeviceObj)
    External (\_PR_.CPU5, DeviceObj)
    External (\_PR_.CPU4, DeviceObj)
    External (\_PR_.CPU3, DeviceObj)
    External (\_PR_.CPU2, DeviceObj)
    External (\_PR_.CPU1, DeviceObj)
    External (\_PR_.CPU0, DeviceObj)

    Scope (\_PR.CPU0)
    {
    Method (_INI, 0, NotSerialized)
    {
    Store (“ssdtPRGen version: 9.2 / Mac OS X 10.9.1 (13B42)”, Debug)
    Store (“target processor : i7-2670QM”, Debug)
    Store (“running processor: Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz”, Debug)
    Store (“baseFrequency : 800”, Debug)
    Store (“frequency : 2200”, Debug)
    Store (“busFrequency : 100”, Debug)
    Store (“logicalCPUs : 8”, Debug)
    Store (“tdp : 45”, Debug)
    Store (“packageLength : 24”, Debug)
    Store (“turboStates : 9”, Debug)
    Store (“maxTurboFrequency: 3100”, Debug)
    Store (“gIvyWorkAround : 3”, Debug)
    Store (“machdep.xcpm.mode: 0”, Debug)
    }

    10:
    External (\_SB_.CPU7, DeviceObj)
    External (\_SB_.CPU6, DeviceObj)
    External (\_SB_.CPU5, DeviceObj)
    External (\_SB_.CPU4, DeviceObj)
    External (\_SB_.CPU3, DeviceObj)
    External (\_SB_.CPU2, DeviceObj)
    External (\_SB_.CPU1, DeviceObj)
    External (\_SB_.CPU0, DeviceObj)

    Scope (\_SB.CPU0)
    {
    Method (_INI, 0, NotSerialized)
    {
    Store (“ssdtPRGen version: 10.0 / Mac OS X 10.9.1 (13B42)”, Debug)
    Store (“target processor : i7-2670QM”, Debug)
    Store (“running processor: Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz”, Debug)
    Store (“baseFrequency : 800”, Debug)
    Store (“frequency : 2200”, Debug)
    Store (“busFrequency : 100”, Debug)
    Store (“logicalCPUs : 8”, Debug)
    Store (“max TDP : 45”, Debug)
    Store (“packageLength : 24”, Debug)
    Store (“turboStates : 9”, Debug)
    Store (“maxTurboFrequency: 3100”, Debug)
    Store (“gIvyWorkAround : 3”, Debug)
    Store (“machdep.xcpm.mode: 0”, Debug)
    }

  8. ssdtPRGen.sh v0.9 Copyright (c) 2011-2012 by † RevoGirl
    v6.6 Copyright (c) 2013 by † Jeroen
    v10.4 Copyright (c) 2013-2014 by Pike R. Alpha
    —————————————————————–
    System information: Mac OS X 10.6.8 (10K549)
    Brandstring ‘Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz’
    ssdtPRGen.sh: line 1640: ${${AML_PROCESSOR_SCOPE_OPCODE}[0-9a-f]{4}${processorNameBytes}: bad substitution
    Scope (_PR_) {162 bytes} without Processor declarations …
    Scope (_PR) {164 bytes} without Processor declarations …
    Scope (\_SB_) {108 bytes} without Processor declarations …
    Scope (\_SB_) {86 bytes} without Processor declarations …
    Scope (\_SB) {110 bytes} without Processor declarations …
    Scope (\_SB) {88 bytes} without Processor declarations …
    Scope (_SB_) {24 bytes} without Processor declarations …
    Scope (_SB_) {108 bytes} without Processor declarations …
    Scope (_SB_) {152 bytes} without Processor declarations …
    Scope (_SB_) {12 bytes} without Processor declarations …
    Scope (_SB_) {134 bytes} without Processor declarations …
    Scope (_SB_) {134 bytes} without Processor declarations …
    Scope (_SB_) {76 bytes} without Processor declarations …
    Scope (_SB) {26 bytes} without Processor declarations …
    Scope (_SB) {110 bytes} without Processor declarations …
    Scope (_SB) {154 bytes} without Processor declarations …
    Scope (_SB) {14 bytes} without Processor declarations …
    Scope (_SB) {136 bytes} without Processor declarations …
    Scope (_SB) {136 bytes} without Processor declarations …
    ssdtPRGen.sh: line 1640: ${${AML_PROCESSOR_SCOPE_OPCODE}[0-9a-f]{4}${processorNameBytes}: bad substitution
    Scope (_SB) {78 bytes} without Processor declarations …
    Generating ssdt.dsl for a iMac11,3 [Mac-F2238BAE]
    Sandy Bridge Core i5-2500 processor [0x206A7] setup [0x0603]
    With a maximum TDP of 95 Watt, as specified by Intel
    Number logical CPU’s: 4 (Core Frequency: 3300 MHz)
    Number of Turbo States: 4 (3400-3700 MHz)
    Number of P-States: 22 (1600-3700 MHz)
    Injected C-States for P000 (C1,C3,C6,C7)
    Warning: /S*/L*/C*/PlatformSupport.plist not found (normal for Snow Leopard)!

    Error: Unknown model [iMac11,3] detected (check SMBIOS data)
    Do you want to continue (y/n)?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s