Piker-Alpha / ssdtPRGen.sh

Script to generate a SSDT for Power Management
714 stars 154 forks source link

Syntax errors in ssdt.dsl #387

Open hugues-talbot opened 6 years ago

hugues-talbot commented 6 years ago

Thanks for your tool. I have an older x58/xeon X5560 combination, which works very well except the frequency of the CPU is stuck at 1.6GHz, which is very slow.

I've tried to follow the readmes and online guides but I've hit a wall. The generated ssdt.dsl has syntax errors:

ssdtPRGen.sh v0.9 Copyright (c) 2011-2012 by † RevoGirl v6.6 Copyright (c) 2013 by † Jeroen v21.5 Copyright (c) 2013-2017 by Pike R. Alpha

Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <

System information: Mac OS X 10.12.6 (16G29) Brandstring: "Intel(R) Xeon(R) CPU X5650 @ 2.67GHz"

Override value: (-p) processor model, now using: X5650! Override value: (-m) model, now using: MacPro5,1!

Version: models.cfg v171 / User Defined.cfg v-1

Scope (_PR_) {624 bytes} with ACPI Processor declarations found in DSDT (ACPI 1.0 compliant) Generating ssdt.dsl for a 'MacPro5,1' with board-id [Mac-27ADBB7B4CEE8E61] Intel X5650 processor [0x206C2] setup [0x] With a maximum TDP of 95 Watt, as specified by Intel Number logical CPU's: 12 (Core Frequency: 2666 MHz) Number of Turbo States: 3 (2799-3066 MHz) Number of P-States: 12 (1600-3066 MHz) Injected C-States for ._PR (C1,C3,C6)

Warning: 'board-id' [Mac-27ADBB7B4CEE8E61] is not supported by Unknown power management Warning: 'system-type' may be set improperly (1 instead of 0)

/Users/talbot/Library/ssdtPRGen/ssdt.dsl 20: External (_PR_.._PR, DeviceObj) Error 6126 - ^ Invalid character (0x2E), expecting ASL keyword or name

/Users/talbot/Library/ssdtPRGen/ssdt.dsl 20: External (_PR_.._PR, DeviceObj) Error 6126 - ^ syntax error, unexpected PARSEOP_NAMESEG, expecting ')'

/Users/talbot/Library/ssdtPRGen/ssdt.dsl 21: External (_PR_.._PR, DeviceObj) Error 6126 - ^ Invalid character (0x2E), expecting ASL keyword or name

/Users/talbot/Library/ssdtPRGen/ssdt.dsl 21: External (_PR_.._PR, DeviceObj)

ssdt.zip

hugues-talbot commented 6 years ago

sorry, Xeon X5650. Here is the entry I made in the User Defined.cfg

gUserDefinedCPUList=(

Mine

X5650,95,1600,2666,3066,6,12,0,133

imxcai commented 6 years ago

X5650,95,1600,2666,3066,6,12,0,133 Cool ! success!