mrjayviper Posted May 25, 2018 Share Posted May 25, 2018 (edited) I'm trying to create an SSDT file for my setup using ssdtPRGen but I'm having weird issues where the "CPU codes (example: CP00) are duplicated. Any ideas what I could be doing wrong? Thanks ---------------- ssdtPRGen in action ./ssdtPRGen.sh -p 'E5-2650L' -x 1 -cpus 2 -l 32 -c 3 -target 0 -m iMac12,1 -b Mac-942B5BF58194151B ssdtPRGen.sh v0.9 Copyright (c) 2011-2012 by † RevoGirl v6.6 Copyright (c) 2013 by † Jeroen v21.5 Copyright (c) 2013-2018 by Pike R. Alpha ----------------------------------------------------------- Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues < System information: Mac OS X 10.13.4 (17E199) Brandstring: "Intel(R) Xeon(R) CPU E5-2650L 0 @ 1.80GHz" Override value: (-p) processor model, now using: E5-2650L! Override value: (-x) XCPM mode, now set to: 1! Override value: (-cpus) number of processors, now using: 2! Override value: (-l) number of logical processors, now using: 32! Override value: (-c) CPU workarounds, now set to: 3! Override value: (-target) CPU, now using: Sandy Bridge! Override value: (-m) model, now using: iMac12,1! Override value: (-b) board-id, now using: Mac-942B5BF58194151B! Version: models.cfg v171 / Sandy Bridge.cfg v150 Scope (_SB) {3458 bytes} with ACPI Processor declarations found in DSDT (ACPI 1.0 compliant) Generating ssdt.dsl for a 'iMac12,1' with board-id [Mac-942B5BF58194151B] Sandy Bridge Core E5-2650L processor [0x206D7] setup [0x0a01] With a maximum TDP of 70 Watt, as specified by Intel Number logical CPU's: 32 (Core Frequency: 1800 MHz) Number of Turbo States: 5 (1900-2300 MHz) Number of P-States: 12 (1200-2300 MHz) Warning: You must use the -xcpm_ipi boot argument instead of -xcpm on multiprocessor systems. Injected C-States for CP00 (C1,C3,C6) Warning: 'cpu-type' may be set improperly (0x0a01 instead of 0x0601) - Clover users should read https://clover-wiki.zetam.org/Configuration/CPU#cpu_type Compiling: ssdt_pr.dsl Intel ACPI Component Architecture ASL Optimizing Compiler version 20140926-64 [Nov 6 2014] Copyright (c) 2000 - 2014 Intel Corporation ACPI Warning: NsLookup: Type mismatch on APSS (Package), searching for (Method) (20140926/nsaccess-729) /Users/myuser/Library/ssdtPRGen/ssdt.dsl 29: External (\_SB.CP00, DeviceObj) Error 6074 - Name already exists in scope ^ (\_SB.CP00) /Users/myuser/Library/ssdtPRGen/ssdt.dsl 30: External (\_SB.CP01, DeviceObj) Error 6074 - Name already exists in scope ^ (\_SB.CP01) /Users/myuser/Library/ssdtPRGen/ssdt.dsl 31: External (\_SB.CP02, DeviceObj) Error 6074 - Name already exists in scope ^ (\_SB.CP02) /Users/myuser/Library/ssdtPRGen/ssdt.dsl 32: External (\_SB.CP03, DeviceObj) Error 6074 - Name already exists in scope ^ (\_SB.CP03) /Users/myuser/Library/ssdtPRGen/ssdt.dsl 33: External (\_SB.CP04, DeviceObj) Error 6074 - Name already exists in scope ^ (\_SB.CP04) /Users/myuser/Library/ssdtPRGen/ssdt.dsl 34: External (\_SB.CP05, DeviceObj) Error 6074 - Name already exists in scope ^ (\_SB.CP05) /Users/myuser/Library/ssdtPRGen/ssdt.dsl 35: External (\_SB.CP06, DeviceObj) Error 6074 - Name already exists in scope ^ (\_SB.CP06) /Users/myuser/Library/ssdtPRGen/ssdt.dsl 36: External (\_SB.CP07, DeviceObj) Error 6074 - Name already exists in scope ^ (\_SB.CP07) /Users/myuser/Library/ssdtPRGen/ssdt.dsl 231: Method (APSS, 0, NotSerialized) Error 6074 - Name already exists in scope ^ (APSS) /Users/myuser/Library/ssdtPRGen/ssdt.dsl 241: Method (APSS, 0, NotSerialized) Error 6074 - Name already exists in scope ^ (APSS) /Users/myuser/Library/ssdtPRGen/ssdt.dsl 251: Method (APSS, 0, NotSerialized) Error 6074 - Name already exists in scope ^ (APSS) /Users/myuser/Library/ssdtPRGen/ssdt.dsl 261: Method (APSS, 0, NotSerialized) Error 6074 - Name already exists in scope ^ (APSS) /Users/myuser/Library/ssdtPRGen/ssdt.dsl 271: Method (APSS, 0, NotSerialized) Error 6074 - Name already exists in scope ^ (APSS) /Users/myuser/Library/ssdtPRGen/ssdt.dsl 281: Method (APSS, 0, NotSerialized) Error 6074 - Name already exists in scope ^ (APSS) /Users/myuser/Library/ssdtPRGen/ssdt.dsl 291: Method (APSS, 0, NotSerialized) Error 6074 - Name already exists in scope ^ (APSS) /Users/myuser/Library/ssdtPRGen/ssdt.dsl 301: Method (APSS, 0, NotSerialized) Error 6074 - Name already exists in scope ^ (APSS) ASL Input: /Users/myuser/Library/ssdtPRGen/ssdt.dsl - 310 lines, 7647 bytes, 89 keywords Compilation complete. 16 Errors, 0 Warnings, 0 Remarks, 0 Optimizations Error: IASL status: 255 (Failed) Do you want to open ssdt.dsl (y/n)? SSDT.dsl snippet showing duplicate entries /* * Intel ACPI Component Architecture * AML Disassembler version 20140210-00 [Feb 10 2014] * Copyright (c) 2000 - 2014 Intel Corporation * * Original Table Header: * Signature "SSDT" * Length 0x0000036A (874) * Revision 0x01 * Checksum 0x00 * OEM ID "APPLE " * OEM Table ID "CpuPm" * OEM Revision 0x00021500 (136448) * Compiler ID "INTL" * Compiler Version 0x20140210 (538182160) */ DefinitionBlock ("ssdt.aml", "SSDT", 1, "APPLE ", "CpuPm", 0x00021500) { /* Device(\_SB) */ External (\_SB.CP00, DeviceObj) External (\_SB.CP01, DeviceObj) External (\_SB.CP02, DeviceObj) External (\_SB.CP03, DeviceObj) External (\_SB.CP04, DeviceObj) External (\_SB.CP05, DeviceObj) External (\_SB.CP06, DeviceObj) External (\_SB.CP07, DeviceObj) External (\_SB.CP00, DeviceObj) External (\_SB.CP01, DeviceObj) External (\_SB.CP02, DeviceObj) External (\_SB.CP03, DeviceObj) External (\_SB.CP04, DeviceObj) External (\_SB.CP05, DeviceObj) External (\_SB.CP06, DeviceObj) External (\_SB.CP07, DeviceObj) Edited May 25, 2018 by mrjayviper Link to comment https://www.insanelymac.com/forum/topic/334178-how-to-properly-create-an-ssdt-file-using-ssdtprgen/ Share on other sites More sharing options...
Recommended Posts