Piker-Alpha / ssdtPRGen.sh

Script to generate a SSDT for Power Management
713 stars 156 forks source link

Requesting support of: E5-2630 CPU -- (or possibly reporting general bug with sed pattern) #146

Open hux opened 9 years ago

hux commented 9 years ago

I am trying to get a Dell Poweredge T7600 working in OSX86, with PCI cards located in the upper 2nd set of PCI Slots, which are only enabled when the 2nd processor is installed. OSX86 seems to ignore them entirely and only read from the primary PCI0 bus. I am trying to learn and understand DSDT / SSDT, but honestly I'm lost here.
Spending many many hours and weeks on this, has led me to believe I can use your bash script to extract and come up with the proper SSDT.aml file I need to add to my system, in order to get it to see the additional PCI slots (which do not show up in lspci or IORegistryExplorer, etc)

If I'm on the entirely wrong track with my premise and this bug report is invalid, kindly let me know.

Thank you for your time.

Here is the information I'm getting when trying to run your beta script this evening:

System information: Mac OS X 10.9 (13A603) Brandstring 'Intel(R) Xeon(R) CPU E5-2630 0 @ 2.30GHz'

ACPI Processor {} Declaration(s) found in DSDT sed: 1: "s/^[\n]* Warning Usin ...": unterminated substitute pattern

Warning Using assumed Scope (_PR) {}: Generating ssdt.dsl for a 'MacPro3,1' with board-id [Mac-F42C88C8] Sandy Bridge Core E5-2630 processor [0x206D7] setup [0x0501] Processor matched! With a maximum TDP of 95 Watt, as specified by Intel Number logical CPU's: 12 (Core Frequency: 2300 MHz) Number of Turbo States: 5 (2400-2800 MHz) Number of P-States: 17 (1200-2800 MHz) Injected C-States for CP00 (C1,C3,C6,C7) Warning: 'cpu-type' may be set improperly (0x0501 instead of 0x0601) sed: 1: "s/^[\n]* Error:// ": unterminated substitute pattern

al3xtjames commented 9 years ago

ssdtPRGen is mainly for power management, I think you will have to do DSDT edits to the PCI devices to make them show up in OS X.

Piker-Alpha commented 9 years ago

Can you please e-mail (se script) your DSDT.aml so that I can try to solve the sed error(s)?