Jump to content
VegasKarma

Master Chief's P5K PRO ACPI Warfare

908 posts in this topic

Recommended Posts

I have tried MACinized's "[TOTALLY VANILLA] Retail Snow Leopard" without success. Just wondering if any of you have installed Snow Leopard with this motherboard. If so what method did you use, which kexts and such.

 

I have Leopard 10.5.7 installed now.

Share this post


Link to post
Share on other sites
Advertisement
I have tried MACinized's "[TOTALLY VANILLA] Retail Snow Leopard" without success. Just wondering if any of you have installed Snow Leopard with this motherboard. If so what method did you use, which kexts and such.

 

I have Leopard 10.5.7 installed now.

 

Did you try

 

Retail Snow Leopard on P5Q - Closest to the real Mac Pro yet!

 

or

 

Retail OSX 10.6 on P5Q Deluxe/Others

Share this post


Link to post
Share on other sites
I have tried MACinized's "[TOTALLY VANILLA] Retail Snow Leopard" without success. Just wondering if any of you have installed Snow Leopard with this motherboard. If so what method did you use, which kexts and such.

 

I have Leopard 10.5.7 installed now.

 

Important note: NO SUPPORT FOR TORRENTS. ORIGINAL RETAIL DISC ONLY!!! – No links/attachments to/of copyrighted material allowed here.

 

You have got to tell us a lot more about what you have/are using like (add it to the first post):

 

1) What BIOS version are you using?

– I am using 1303 which people can get from the support page (link below).

 

2) Do you have a (patched) dsdt.dsl? If yes attach it.

I'll attach a zipped copy of mine shortly. Done. See attachments.

 

3) What boot loader are you using?

– I am using Chameleon v1.0.12 with a patched /boot file.

 

4) Have you AHCI enabled in the BIOS?

– I have SATA Configuration set to AHCI (see page 4.13).

 

5) What brand/type of hard drive/DVD (interfact SATA/IDE) do you have?

– I have two 1TB and two 300MB SATA hard drives plus a TSSTcorp CDDVDW SH-S223L.

 

6) RAID or non RAID installation?

– I use a non-RAID installation.

 

7) Mouse/keyboard type (USB/PS2).

– I use a wired Logitech Apple USB keyboard (MB110N/A) and wireless Logitech mouse.

 

8) What kexts did you install/use for 10.5.7?

I'll attach a zipped copy of mine shortly. Done. See attachments.

– Please note that the included LegacyAppleAHCIPort.kext includes my patch to fix the orange drive icons without the need for a blockstorage.kext, and that PlatformUUID.kext needs to be changed to match your partitions' GUID.

 

Also, add a link for future reference, to the used installation method. I'll add a few myself.

 

References/Links

 

1) Asus P5K Pro support page.

2) Asus P5K Pro manual

3) ACPI specifications used by me available as download here.

4) The Intel IO Controller Hub (ICH9) Family datasheet.

5) Winbond W836127 DHG-A (see also post #204) datasheet – update available as download here.

6) SMBus (System Management Bus) specifications v2.0 available here.

7) The latest iasl compiler (14122009) available from here (thanks to mitch_de).

 

Vanilla Snow Leopard Installation

Here's the ultra short/over simplified edition:

1) Make a GUID Partition Table with Disk Utility on a 8GB SanDisk Cruzer (1 * 512MB + 1 * 7GB).

2) Restore the original Snow Leopard Retail DVD with Disk Utility on the second partition.

3) Install Chameleon v2 RC4 with help of Dr Hurt's installer.

4) Boot from the newly setup [uSB stick] and installed Snow Leopard.

 

Note: Use search for the things you don't understand :D

 

A Note About Chameleon

I personally cannot use Chameleon v2 RC3 simply because it won't even boot (anymore) from a USB stick when my 1TB SAMSUNG HD103SJ is connected to any SATA port of the motherboard. I don't have this problem with the 1TB SAMSUNG HD103UJ so it must be related to the GUID partition simply because I installed Snow Leopard from the very same USB stick on the very same HD. A bug was filed on May 06, 2009, 01:21:50 PM but the Chameleon developers have yet to fix it.

 

And this was one of the reasons that I started to work on Revolution and ways to speed up the boot process.

 

DSDT

WARNING: The attached DSDT's includes many patches, including the newly added HDEF/DTGP/LAN/SBUS methods, included USB patches, but most importantly the following Intel Q9300 specific P-State fix to lower the CPU temperature:

 

Name (_PSS, Package (0x04)
{
Package (0x06) { 2498, 88000, 10, 10, 0x4720, 0 },
Package (0x06) { 2331, 59643, 10, 10, 0x071E, 1 },
Package (0x06) { 2165, 51124, 10, 10, 0x461C, 2 },
Package (0x06) { 1998, 41880, 10, 10, 0x061A, 3 }
})

You don't necessarily need to fill in the first two values – the core frequency and voltage – because OS X 10.6 will check for illegal values anyway, and when it find one, then it will do the math for you. I however hope to know what I am doing, and thus all values are there already. Too bad there isn't a way wecan verify this all.

 

And for the record, I used the P State Calculator. I also added the following code snippet to Processor (CPU2... (and 3 and 4):

Processor (CPU2, 0x02, 0x00000810, 0x06)
{
Alias (\_PR.CPU1._PSS, _PSS)
Alias (\_PR.CPU1._PSD, _PSD)
Alias (\_PR.CPU1._CST, _CST)
}

Note: You can also use: Processor (CPU2, 2, 0x810, 6) since this will be converted by the IASL compiler anyway. And the 0x810 used here is the PBlk system IO address which might be different for your hardware – please check your DSDT before using it.

 

And OS X appears to be looking only for a _CST object under Processor (CPU1... and thus we add it like this:

Name (_CST, Package (0x04)
{
0x03,  // Number of C-State packages: 3 (C1, C2 and C3).
Package (0x04)
{
	ResourceTemplate ()
	{
		Register (FFixedHW, 
		0x01,               // Bit Width
		0x02,               // Bit Offset
		0x0000000000000000, // Address
		0x00,               // Access Size
		)
	},
	One, 
	One, 
	0x03E8
}, 

Package (0x04)
{
	ResourceTemplate ()
	{
		Register (SystemIO, 
		0x08,               // Bit Width
		0x00,               // Bit Offset
		0x0000000000000814, // Address
		,)
	},
	0x02,
	One,
	0x01F4
}, 

Package (0x04)
{
	ResourceTemplate ()
	{
		Register (SystemIO, 
		0x08,               // Bit Width
		0x00,               // Bit Offset
		0x0000000000000815, // Address
		,)
	},
	0x03,
	0x55,
	0xFA
}
})

This will also prevent the following errors in kernel.log:

ACPI_SMC_PlatformPlugin::pushCPU_CSTData - _CST evaluation failed
ACPI_SMC_PlatformPlugin::registerLPCDriver - WARNING - LPC device initialization failed: C-state power management not initialized

You also need some sort of SMBIOS injection, presumably Chameleon, or you can either replace: "MacPro3,1" into "P5K PRO" in:

 

/System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/ACPI_SMC_PlatformPlugin.kext/Contents/info.plist

 

or use my Legacy kext for it (see attachments).

 

New Methods

Method (MCDP) replacement for DTGP with less arguments.

Method (MCID)

Method (MCBN)

Method (PNOT)

 

New Devices

Device (LAN0)

Device (SBUS)

Device (EC)

 

Renamed Devices

I renamed the following Devices in my dsdt.dsl to match a MacPro3,1:

 

Device (MCEH) // Renamed from: MCH

Device (IPIC) // Renamed from: PIC

Device (DMAC) // Renamed from: DMAD

Device (TIMR) // Renamed from: TMR

Device (RTC) // Renamed from: RTC0

Device (MATH) // Renamed from: COPR

Device (LDRC) // Renamed from: OMSC

Device (PRT0) // Renamed from: CHN0

Device (PRT1) // Renamed from: CHN1

Device (EHCI) // Renamed from: EUSB

Device (UHCI) // Renamed from: USBE

 

Fix for USBF: error in kernel.log

The USB Hub Channels (12 USB ports) have now also been renamed properly:

 

Device (UHC1) // Renamed from: USB0

Device (UHC2) // Renamed from: USB1

Device (UHC3) // Renamed from: USB2

Device (UHC4) // Renamed from: USB4

Device (UHC5) // Renamed from: USB5

Device (UHC6) // Renamed from: USB6

 

Not really a visual trade off, but it takes care of this error in your kernel.log:

 

Sep 27 10:04:50 localhost kernel[0]: USBF: 5.387 AppleUSBUHCI[0x6e64000]::start unable to initialize UIM

 

Note: I removed (comment out really) the original Device (USB3) in my dsdt.dsl because it isn't used in the six & six configuration (see also ICH9 datasheet. Link available under: References/Links).

 

Removed Devices

The following devices have been removed with this update:

 

Device PS2K (PS2 Keyboard)

Device PS2M (PS2 Mouse)

Device SPKR (Speaker)

Device FDC (Floppy Disk Controller)

 

Notes: See post #21 for a HOWTO about re-inserting the removed PS2 Devices. And Device (SPKR) is used by Parallels Desktop to BEEP when it starts a virtual machine. Thanks to Beerkex'd for the tip!

 

Graphics

You will not find any graphics card related patches, simply because they do not belong there! I'll explain this a next time.

 

I have a NVIDIA GT9600-512MB video card and I used EFI-Studio (search) to generate the following "device-properties" for: /Library/Preferences/SystemConfiguration/com.apple.Boot.plist:

130400000100000008000000600200000d00000002010c00d041030a000000000101060
000010101060000007fff04000e0000004e00560050004d000000200000000100000000000000000
0
000000000000000000000000000000000000220000005600520041004d002c0074006f0074006100
6
c00730069007a006500000008000000000000201c0000006400650076006900630065005f0074007
9
007000650000000f0000004e5644412c506172656e740e0000006e0061006d00650000000b000000
6
46973706c617922000000400030002c006400650076006900630065005f007400790070006500000
0
0b000000646973706c617922000000400031002c006400650076006900630065005f007400790070
0
0650000000b000000646973706c6179100000006d006f00640065006c0000001a0000006e5669646
9
61204765466f726365203936303020475420000000400031002c0063006f006d0070006100740069
0
062006c00650000000e0000004e5644412c4e564d616314000000400030002c006e0061006d00650
0
0000120000004e5644412c446973706c61792d4114000000400031002c006e0061006d0065000000
1
20000004e5644412c446973706c61792d4220000000400030002c0063006f006d007000610074006
9
0062006c00650000000e0000004e5644412c4e564d6163100000004e005600430041005000000018
0
0000004000000000003000c00000000000007000000001e00000072006f006d002d0072006500760
0
6900730069006f006e0000002e0000006e5669646961204765466f7263652039363030204754204f
7
0656e474c20456e67696e65205b4546495d3c0000000100000002010c00d041030a0000000001010
6
00021a7fff0400180000006400650076006900630065002d0069006400000006000000393a3c0000
0
00100000002010c00d041030a0000000001010600001a7fff0400180000006400650076006900630
0
65002d0069006400000006000000373a3c0000000100000002010c00d041030a0000000001010600
0
21d7fff0400180000006400650076006900630065002d0069006400000006000000363a3c0000000
1
00000002010c00d041030a0000000001010600011a7fff0400180000006400650076006900630065
0
02d0069006400000006000000383a3f0000000100000002010c00d041030a0000000001010600051
c
0101060000007fff0400160000006200750069006c0074002d0069006e00000005000000013c0000
0
00100000002010c00d041030a0000000001010600001d7fff0400180000006400650076006900630
0
65002d0069006400000006000000343a3c0000000100000002010c00d041030a0000000001010600
0
11d7fff0400180000006400650076006900630065002d0069006400000006000000353a

Which looks like junk, and thus here's the more human readable variant in XML format:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)</key>
<dict>
	<key>@0,compatible</key>
	<string>NVDA,NVMac</string>
	<key>@0,device_type</key>
	<string>display</string>
	<key>@0,name</key>
	<string>NVDA,Display-A</string>
	<key>@1,compatible</key>
	<string>NVDA,NVMac</string>
	<key>@1,device_type</key>
	<string>display</string>
	<key>@1,name</key>
	<string>NVDA,Display-B</string>
	<key>NVCAP</key>
	<data>
	BAAAAAAAAwAMAAAAAAAABwAAAAA=
	</data>
	<key>NVPM</key>
	<data>
	AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
	</data>
	<key>VRAM,totalsize</key>
	<string>0x20000000</string>
	<key>device_type</key>
	<string>NVDA,Parent</string>
	<key>model</key>
	<string>nVidia GeForce 9600 GT</string>
	<key>name</key>
	<string>display</string>
	<key>rom-revision</key>
	<string>nVidia GeForce 9600 GT OpenGL Engine</string>
</dict>
</dict>
</plist>

In short: If you need to generate device-properties for your video card, then get going with EFI-Studio.

 

Graphics Update

DSDT V3.1 includes a placeholder – under Device (P0P2) – for your graphics card, and NVIDIA users may simply use the following code snippet instead of adding the device properties via com.apple.Boot.plist

                Device (GFX0) // Newly added device.
               {
                   Name (_ADR, Zero)
                   Method (_DSM, 4, NotSerialized)
                   {
                       Store (Package (0x18)
                       {
                           "@0,compatible", 
                           Buffer (0x0B)
                           {
                               "NVDA,NVMac"
                           }, 

                           "@0,device_type", 
                           Buffer (0x08)
                           {
                               "display"
                           }, 

                           "@0,name", 
                           Buffer (0x0F)
                           {
                               "NVDA,Display-A"
                           }, 

                           "@1,compatible", 
                           Buffer (0x0B)
                           {
                               "NVDA,NVMac"
                           }, 

                           "@1,device_type", 
                           Buffer (0x08)
                           {
                               "display"
                           }, 

                           "@1,name", 
                           Buffer (0x0F)
                           {
                               "NVDA,Display-B"
                           }, 

                           "NVCAP", 
                           Buffer (0x18)
                           {
                               /* 0000 */    0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0B, 0x00, 
                               /* 0008 */    0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 
                               /* 0010 */    0x00, 0x00, 0x00, 0x00
                           }, 

                           "NVPM", 
                           Buffer (0x1C)
                           {
                               /* 0000 */    0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                               /* 0008 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                               /* 0010 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                               /* 0018 */    0x00, 0x00, 0x00, 0x00
                           }, 

                           "VRAM,totalsize", 
                           Buffer (0x04)
                           {
                               [color="#FF0000"]0x00, 0x00, 0x00, 0x20[/color]
                           }, 

                           "device_type", 
                           Buffer (0x0D)
                           {
                               "NVDA,Parent"
                           }, 

                           "model", 
                           Buffer (0x17)
                           {
                               [color="#FF0000"]"nVidia GeForce 9600 GT"[/color]
                           }, 

                           "rom-revision", 
                           Buffer (0x2B)
                           {
                               [color="#FF0000"]"nVidia GeForce 9600 GT OpenGL Engine"[/color]
                           }
                       }, Local0)

                       MCDP (Arg2, RefOf (Local0))
                       Return (Local0)
                   }
               }
           }

But make sure to change the marked lines (in red) accordantly.

 

Known Issues

1) Sleep after an idle period doesn't work with TSSTcorp DVD's.

2) Apple Menu -> Restart doesn't work.

3) FireWire hotplug only works after sleep.

 

Workarounds

1) Use the Autosleep script.

2) Use my OSXRestart.kext.

3) Sleep hack before connecting FireWire hardware.

 

Note: The latest version of OSXRestart.kext is now available from here only!

 

Release Notes

Release notes for the attached DSDT versions can be found throughout the thread, but here are a few pointers to make it easy for you:

 

DSDT V2.1 post #21 (page 2)

DSDT V2.2 post #28 (page 2)

DSDT V2.3 post #42 (page 3)

DSDT V2.4 post #49 (page 3)

DSDT V2.5 post #58 (page 3)

DSDT V2.6 post #74 (page 4)

DSDT V2.7 post #97 (page 5)

DSDT V2.8 post #104 (page 6)

DSDT V2.9 post #132 (page 7)

DSDT V3.0 post #186 (page 10)

DSDT V3.1 post #272 (page 14)

DSDT V3.2 post #242 (page 22)

DSDT V3.3 post #535 (page 27)

DSDT V3.3.1 post #549 (page 28)

DSDT V3.4 post #571 (page 29) AKA insanely small DSDT (2024 bytes)

DSDT V3.4.1 post #647 (page 33) AKA extremely insane small DSDT (1994 bytes)

 

And for iasl (20091111) post #319 (page 17) and OSXRestart post #325 (page 17) and post # 432 (page 23).

 

Updates

I keep working on new updates (for now) and thus we kindly ask you to read the whole thread, before you ask obvious questions. And in case you missed it: the latest version of OSXRestart.kext is available for download here. Don't download the old one attached here!!

 

Attached Files

P5K_PRO_Extra_Extensions.zip

P5K_PRO_dsdt.dsl.zip

nvidia9600.xml

P5K_PRO_dsdt_v2.dsl.zip

DSDT_V2.1.zip

DSDT_V2.2.zip

DSDT_V2.3.zip

DSDT_V2.4.zip

DSDT_V2.5.zip

DSDT_v2.6.zip

DSDT_V2.7.zip

DSDT_V2.8.zip

P5K_PRO_Extra_Kexts.zip

P5K_PRO_S_L_E_Kexts.zip

DSDT_V2.9.zip

DSDT_V3.0.zip

DSDT_V3.1.zip

iasl.zip

OSXRestart.kext.zip

LegacyACPI_SMC_PP.kext.10.6.2.zip

DSDT_V3.2.zip

DSDT_V3.3.zip

Share this post


Link to post
Share on other sites

Master Chief,

I have updated my signature with more information. As for the boot loader: I first attempt I followed the MacLoader_SL instructions. SL installs but after installing the boot loader it fails to boot.

 

As for kexts I have tried both the ones that come with MacLoader and the ones you provided.

Share this post


Link to post
Share on other sites
Master Chief,

I have updated my signature with more information.

Much better. Thanks.

 

As for the boot loader: I first attempt I followed the MacLoader_SL instructions. SL installs but after installing the boot loader it fails to boot....

Fails how? What's the last thing you see?

Share this post


Link to post
Share on other sites
Much better. Thanks.

 

 

Fails how? What's the last thing you see?

Apple and never ending spinner.

When I boot with "-v -f" these are some of the last things I see:

 

disk0: ioctL(_IOWR,'d',101,24) is unsupported.

 

disk0s0: I/O error.

 

ACPI_SMC_PlatformPlugin: :pushCPU_CSTData - _CST evaluation failed

Share this post


Link to post
Share on other sites

hello

 

Just wannted to add my expirence, my progress and my doubts to this topic. As we all want is a perfect running P5K Pro. We had good running system in 10.5

 

What are the parts we need to ad or modifiy "Patch"

 

USB UHCI = Setting it up to Internal Resolves Sleep Issues

Yukon = Setting it up as internal for Time Maschine and Device ID to get recognized as lan port

AlC 883 = dsdt and http://www.insanelymac.com/forum/index.php...t&p=1175940 gives perfect sound no errors

AHCI = Setting it up as internal removes Orange HD Disk and the Device ID to get recognized

Powermanagement = Dsdt edit or disabler to get appleintelpowermanagement.kext loaded

Fakesmc.kext = to get Hackintosh running :(

uuid.kext = seems more cosmetic but prefents some minor errors

smbios = this is important if u want to get vanilla powermanagment speedstepv working

Openhaltrestart = Restart and Shut down fix.. seems not really working on SL

Marvell 88se6102 = Patched ioata to get pata device working

 

This are the basics what our MB needs.

 

Most of this could be patched by a single file DSDT.aml. So what we can add to dsdt.aml is setting our usb, sata and Lan device as intern, solve KP by intelpowermanagement.kext and add HDEF support. All this is Generic for our Motherboard if we have all the same Bios. As Master Chief allready pointed out 1303 is the last on Asus Support Page.

 

Attached you will find my dsdt.dsl with this patches. Intelpowermanagment, Ahci, Usb, HDEF. There is still something wrong cause there are only 5 of 6 UsbUhci ports shown by system profiler.

 

I think on goal is to include TM Fix on P0P9 in the DSDT or in better words getting a Generic P5K Pro Dsdt with all the fix possible for our board. Excluding CPU and GPU

 

As for the boot loader: I first attempt I followed the MacLoader_SL instructions. SL installs but after installing the boot loader it fails to boot.

 

As for me i'm running SL stable booting with Boothink cause Chameleon RC3 resist to boot SL. May theres something i miss but give it a try on a usb stick.

 

MASTER CHIEF

 

I would like to add to my Dsdt the speedstep settings of my Q6600 i found this settings of a gigabyte user "AsereBLN"

 

 Scope (_PR)
   {
       Processor (CPU0, 0x00, 0x00000410, 0x06) {}
       Processor (CPU1, 0x01, 0x00000410, 0x06) {}
       Processor (CPU2, 0x02, 0x00000410, 0x06) {}
       Processor (CPU3, 0x03, 0x00000410, 0x06) {}
       Name (PDC0, 0x80000000)
       Name (PDC1, 0x80000000)
       Name (PDC2, 0x80000000)
       Name (PDC3, 0x80000000)
       Name (NPCT, Package (0x02)
       {
           ResourceTemplate ()
           {
               Register (FFixedHW, 
                   0x10,
                   0x00,
                   0x0000000000000199,
                   ,)
           }, 

           ResourceTemplate ()
           {
               Register (FFixedHW, 
                   0x10,
                   0x00,
                   0x0000000000000198,
                   ,)
           }
       })
       Name (NPSS, Package (0x02)
       {
           Package (0x06)
           {
               0x0960, 
               0x000157C0, 
               0xA0, 
               0x0A, 
               0x0926, 
               0x0926
           }, 

           Package (0x06)
           {
               0x0640, 
               0xDAC0, 
               0xA0, 
               0x0A, 
               0x061C, 
               0x061C
           }
       })
       Name (NCS1, Package (0x04)
       {
           0x03, 
           Package (0x04)
           {
               ResourceTemplate ()
               {
                   Register (FFixedHW, 
                       0x00,
                       0x00,
                       0x0000000000000000,
                       ,)
               }, 

               One, 
               0x14, 
               0x03E8
           },

           Package (0x04)
           {
               ResourceTemplate ()
               {
                   Register (SystemIO, 
                       0x08,
                       0x00,
                       0x0000000000000414,
                       ,)
               }, 

               0x02, 
               0x5A, 
               0x02EE
           },

           Package (0x04)
           {
               ResourceTemplate ()
               {
                   Register (SystemIO, 
                       0x08,
                       0x00,
                       0x0000000000000415,
                       ,)
               }, 

               0x03, 
               0x384, 
               0x01FC
           }
       })
       Scope (CPU0)
       {
           Name (HI0, Zero)
           Name (HC0, Zero)
           Name (TLD0, Zero)
           Method (_PDC, 1, NotSerialized)
           {
               Store ("PDC0", Debug)
               CreateDWordField (Arg0, 0x08, CAP0)
               Store (CAP0, PDC0)
           }

           Method (_PPC, 0, NotSerialized)
           {
               Return (Zero)
           }

           Method (_PCT, 0, NotSerialized)
           {
               Return (NPCT)
           }

           Method (_PSS, 0, NotSerialized)
           {
               Return (NPSS)
           }

           Method (_CST, 0, NotSerialized)
           {
               Return (NCS1)
           }
       }

       Scope (CPU1)
       {
           Name (HI0, Zero)
           Name (HC0, Zero)
           Name (TLD0, Zero)
           Method (_PDC, 1, NotSerialized)
           {
               Store ("PDC1", Debug)
               CreateDWordField (Arg0, 0x08, CAP0)
               Store (CAP0, PDC1)
           }

           Method (_PPC, 0, NotSerialized)
           {
               Return (Zero)
           }

           Method (_PCT, 0, NotSerialized)
           {
               Return (NPCT)
           }

           Method (_PSS, 0, NotSerialized)
           {
               Return (NPSS)
           }

           Method (_CST, 0, NotSerialized)
           {
               Return (NCS1)
           }
       }

       Scope (CPU2)
       {
           Name (HI0, Zero)
           Name (HC0, Zero)
           Name (TLD0, Zero)
           Method (_PDC, 1, NotSerialized)
           {
               Store ("PDC2", Debug)
               CreateDWordField (Arg0, 0x08, CAP0)
               Store (CAP0, PDC2)
           }

           Method (_PPC, 0, NotSerialized)
           {
               Return (Zero)
           }

           Method (_PCT, 0, NotSerialized)
           {
               Return (NPCT)
           }

           Method (_PSS, 0, NotSerialized)
           {
               Return (NPSS)
           }

           Method (_CST, 0, NotSerialized)
           {
               Return (NCS1)
           }
       }

       Scope (CPU3)
       {
           Name (HI0, Zero)
           Name (HC0, Zero)
           Name (TLD0, Zero)
           Method (_PDC, 1, NotSerialized)
           {
               Store ("PDC3", Debug)
               CreateDWordField (Arg0, 0x08, CAP0)
               Store (CAP0, PDC3)
           }

           Method (_PPC, 0, NotSerialized)
           {
               Return (Zero)
           }

           Method (_PCT, 0, NotSerialized)
           {
               Return (NPCT)
           }

           Method (_PSS, 0, NotSerialized)
           {
               Return (NPSS)
           }

           Method (_CST, 0, NotSerialized)
           {
               Return (NCS1)
           }
       }
   }

 

where shoud i but that. Or what should i leave as what i've read i must rename all the devices to match a MacPro3,1. I was wondering what happens if i try to boot with your dsdt.. and guess what.. nice KP on cpu acpi.... this could be because ssdt setting of chameleon i read somewhere it must be set to drop ssdt ?? May u check my dsdt.dsl to find the missing usb port. :( i fixed the compiler erros taking yours as example. Which is exactly the generic part of dsdt for all p5k pro users without influence on what cpu, memory or gpu they are running. Cause if we could make the generic code people just needs to delete that part and copy paste the fixed.

 

 

see u soon

dsdt__p5k_pro_1303_usb_sata_audio.txt

Share this post


Link to post
Share on other sites
I would like to add to my Dsdt the speedstep settings of my Q6600 i found this settings of a gigabyte user "AsereBLN"

 

 Scope (_PR)
   {
       Processor (CPU0, 0x00, 0x00000410, 0x06) {}
       Processor (CPU1, 0x01, 0x00000410, 0x06) {}
       Processor (CPU2, 0x02, 0x00000410, 0x06) {}
       Processor (CPU3, 0x03, 0x00000410, 0x06) {}
       Name (PDC0, 0x80000000)
       Name (PDC1, 0x80000000)
       Name (PDC2, 0x80000000)
       Name (PDC3, 0x80000000)
       Name (NPCT, Package (0x02)
       {
           ResourceTemplate ()
           {
               Register (FFixedHW, 
                   0x10,
                   0x00,
                   0x0000000000000199,
                   ,)
           }, 

           ResourceTemplate ()
           {
               Register (FFixedHW, 
                   0x10,
                   0x00,
                   0x0000000000000198,
                   ,)
           }
       })
       Name (NPSS, Package (0x02)
       {
           Package (0x06)
           {
               0x0960, 
               0x000157C0, 
               0xA0, 
               0x0A, 
               0x0926, 
               0x0926
           }, 

           Package (0x06)
           {
               0x0640, 
               0xDAC0, 
               0xA0, 
               0x0A, 
               0x061C, 
               0x061C
           }
       })
       Name (NCS1, Package (0x04)
       {
           0x03, 
           Package (0x04)
           {
               ResourceTemplate ()
               {
                   Register (FFixedHW, 
                       0x00,
                       0x00,
                       0x0000000000000000,
                       ,)
               }, 

               One, 
               0x14, 
               0x03E8
           },

           Package (0x04)
           {
               ResourceTemplate ()
               {
                   Register (SystemIO, 
                       0x08,
                       0x00,
                       0x0000000000000414,
                       ,)
               }, 

               0x02, 
               0x5A, 
               0x02EE
           },

           Package (0x04)
           {
               ResourceTemplate ()
               {
                   Register (SystemIO, 
                       0x08,
                       0x00,
                       0x0000000000000415,
                       ,)
               }, 

               0x03, 
               0x384, 
               0x01FC
           }
       })
       Scope (CPU0)
       {
           Name (HI0, Zero)
           Name (HC0, Zero)
           Name (TLD0, Zero)
           Method (_PDC, 1, NotSerialized)
           {
               Store ("PDC0", Debug)
               CreateDWordField (Arg0, 0x08, CAP0)
               Store (CAP0, PDC0)
           }

           Method (_PPC, 0, NotSerialized)
           {
               Return (Zero)
           }

           Method (_PCT, 0, NotSerialized)
           {
               Return (NPCT)
           }

           Method (_PSS, 0, NotSerialized)
           {
               Return (NPSS)
           }

           Method (_CST, 0, NotSerialized)
           {
               Return (NCS1)
           }
       }

       Scope (CPU1)
       {
           Name (HI0, Zero)
           Name (HC0, Zero)
           Name (TLD0, Zero)
           Method (_PDC, 1, NotSerialized)
           {
               Store ("PDC1", Debug)
               CreateDWordField (Arg0, 0x08, CAP0)
               Store (CAP0, PDC1)
           }

           Method (_PPC, 0, NotSerialized)
           {
               Return (Zero)
           }

           Method (_PCT, 0, NotSerialized)
           {
               Return (NPCT)
           }

           Method (_PSS, 0, NotSerialized)
           {
               Return (NPSS)
           }

           Method (_CST, 0, NotSerialized)
           {
               Return (NCS1)
           }
       }

       Scope (CPU2)
       {
           Name (HI0, Zero)
           Name (HC0, Zero)
           Name (TLD0, Zero)
           Method (_PDC, 1, NotSerialized)
           {
               Store ("PDC2", Debug)
               CreateDWordField (Arg0, 0x08, CAP0)
               Store (CAP0, PDC2)
           }

           Method (_PPC, 0, NotSerialized)
           {
               Return (Zero)
           }

           Method (_PCT, 0, NotSerialized)
           {
               Return (NPCT)
           }

           Method (_PSS, 0, NotSerialized)
           {
               Return (NPSS)
           }

           Method (_CST, 0, NotSerialized)
           {
               Return (NCS1)
           }
       }

       Scope (CPU3)
       {
           Name (HI0, Zero)
           Name (HC0, Zero)
           Name (TLD0, Zero)
           Method (_PDC, 1, NotSerialized)
           {
               Store ("PDC3", Debug)
               CreateDWordField (Arg0, 0x08, CAP0)
               Store (CAP0, PDC3)
           }

           Method (_PPC, 0, NotSerialized)
           {
               Return (Zero)
           }

           Method (_PCT, 0, NotSerialized)
           {
               Return (NPCT)
           }

           Method (_PSS, 0, NotSerialized)
           {
               Return (NPSS)
           }

           Method (_CST, 0, NotSerialized)
           {
               Return (NCS1)
           }
       }
   }

 

 

 

see u soon

kp also for me.

tried this from infinitemac, this code is not good for p5k mobos

mine for examle is like this for the processors, guess also yours:

 

[size="1"] Scope (_PR)
{
	Processor (CPU1, 0x01, 0x00000810, 0x06)
	{
		OperationRegion (STBL, SystemMemory, 0xCFF8E0D0, 0x01D2)
		Name (NCPU, 0x04)
		Name (TYPE, 0x80000000)
		Name (HNDL, 0x80000000)
		Name (CFGD, 0x01000007)
		Name (TBLD, 0x80)
		Method (_PDC, 1, NotSerialized)
		{
			CreateDWordField (Arg0, Zero, REVS)
			CreateDWordField (Arg0, 0x04, SIZE)
			Store (SizeOf (Arg0), Local0)
			Store (Subtract (Local0, 0x08), Local1)
			CreateField (Arg0, 0x40, Multiply (Local1, 0x08), TEMP)
			Name (STS0, Buffer (0x04)
			{
				0x00, 0x00, 0x00, 0x00
			})
			Concatenate (STS0, TEMP, Local2)
			_OSC (Buffer (0x10)
				{
					/* 0000 */	0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47, 
					/* 0008 */	0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53
				}, REVS, SIZE, Local2)
		}

		Method (_OSC, 4, NotSerialized)
		{
			CreateDWordField (Arg3, Zero, STS0)
			CreateDWordField (Arg3, 0x04, CAP0)
			CreateDWordField (Arg0, Zero, IID0)
			CreateDWordField (Arg0, 0x04, IID1)
			CreateDWordField (Arg0, 0x08, IID2)
			CreateDWordField (Arg0, 0x0C, IID3)
			Name (UID0, Buffer (0x10)
			{
				/* 0000 */	0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47, 
				/* 0008 */	0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53
			})
			CreateDWordField (UID0, Zero, EID0)
			CreateDWordField (UID0, 0x04, EID1)
			CreateDWordField (UID0, 0x08, EID2)
			CreateDWordField (UID0, 0x0C, EID3)
			If (LNot (LAnd (LAnd (LEqual (IID0, EID0), LEqual (IID1, EID1)), 
				LAnd (LEqual (IID2, EID2), LEqual (IID3, EID3)))))
			{
				Store (0x06, STS0)
				Return (Arg3)
			}

			If (LNotEqual (Arg1, One))
			{
				Store (0x0A, STS0)
				Return (Arg3)
			}

			Or (And (TYPE, 0x7FFFFFFF), CAP0, TYPE)
			If (And (CFGD, One))
			{
				If (LAnd (LAnd (And (CFGD, 0x01000000), LEqual (And (TYPE, 
					0x09), 0x09)), LNot (And (TBLD, One))))
				{
					Or (TBLD, One, TBLD)
					Load (STBL, HNDL)
				}
			}

			If (And (CFGD, 0xF0))
			{
				If (LAnd (LAnd (And (CFGD, 0x01000000), And (TYPE, 0x18
					)), LNot (And (TBLD, 0x02))))
				{
					Or (TBLD, 0x02, TBLD)
				}
			}

			Return (Arg3)
		}
	}
}

Scope (_PR)
{
	Processor (CPU2, 0x02, 0x00000810, 0x06)
	{................................. .............. ...........

 

power states and cpu optimizations via dsdt is the last thing left on my p5k premium wifi

Share this post


Link to post
Share on other sites

Hey! I got it booting!

 

Some things still aren't right:

 

1. The system only recognizes one of my video cards.

2. Sound is not working.

3. Restart still doesn't work.

 

Here is my dsdt

Share this post


Link to post
Share on other sites

do u get any of these messages?

ACPI_SMC_PlatformPlugin::pushCPU_CSTData - _CST evaluation failed

ACPI_SMC_PlatformPlugin::registerLPCDriver - WARNING - LPC device initialization failed: C-state power management not initialized

 

master chief what about u?

EDIT:

i mixed your part of the cpus (master chief )with my dsdt and for the 1st time i was able to boot with no smc errors,cpu-i.kext loaded with no kp and i saw 4 pstates.

cpu was running cool but there was a major problem in perfomace..a lot of LAG,sometimes spinning ball, etc

now iam back to my dsdt its fast again but i would like to study more cpu optimizations

what u suggest?

here is my dsdt, take a look.

spanakorizo.dsl.zip

Share this post


Link to post
Share on other sites
Hey! I got it booting!

 

Some things still aren't right:

 

1. The system only recognizes one of my video cards.

2. Sound is not working.

3. Restart still doesn't work.

 

Here is my dsdt

1) I have no idea how to fix this. Use search because I've seen people reporting it to work for them.

 

2) Sound should work with the included kext files.

 

3) Restart should also work with the included kext files (OpenHaltRestart.kext) be it a little slow.

 

Please attach your dsdt.dsl file. Not some text copy because I can't do jack with text files!

 

do u get any of these messages?

ACPI_SMC_PlatformPlugin::pushCPU_CSTData - _CST evaluation failed

ACPI_SMC_PlatformPlugin::registerLPCDriver - WARNING - LPC device initialization failed: C-state power management not initialized

 

master chief what about u?

EDIT:

i mixed your part of the cpus (master chief )with my dsdt and for the 1st time i was able to boot with no smc errors,cpu-i.kext loaded with no kp and i saw 4 pstates.

cpu was running cool but there was a major problem in perfomace..a lot of LAG,sometimes spinning ball, etc

now iam back to my dsdt its fast again but i would like to study more cpu optimizations

what u suggest?

here is my dsdt, take a look.

spanakorizo.dsl.zip

I don't want to sound rude, but this thread was started to help out P5K PRO owners and P5K PRO owners only. You may want to head over to the DSDT - Vanilla Speedstep - Remove _cst errors for MB without C-states and ask for help there.

 

And please, please change that long code block in that other post into a codebox – I am starting to suffer from RSI which I tell you is no joke but really hurts!

Share this post


Link to post
Share on other sites
<snip />

 

I think on goal is to include TM Fix on P0P9 in the DSDT or in better words getting a Generic P5K Pro Dsdt with all the fix possible for our board. Excluding CPU and GPU

Time Machine works here; you should copy the LAN device from my dsdt.dsl

 

As for me i'm running SL stable booting with Boothink cause Chameleon RC3 resist to boot SL. May theres something i miss but give it a try on a usb stick.

I don't think that you are missing anything simply because Chameleon RC3 has serious compatibility issues with certain drives, including my 1TB SAMSUNG HD103SJ.

 

MASTER CHIEF

 

I would like to add to my Dsdt the speedstep settings of my Q6600 i found this settings of a gigabyte user "AsereBLN"

 

<snip />

 

where shoud i but that. Or what should i leave as what i've read i must rename all the devices to match a MacPro3,1. I was wondering what happens if i try to boot with your dsdt.. and guess what.. nice KP on cpu acpi.... this could be because ssdt setting of chameleon i read somewhere it must be set to drop ssdt ??

You cannot use the _PSS Method from my dsdt.dsl Not without modifications. You have to change it for your CPU. You can read more about this, the values needed and how to calculate them, in the previously mentioned SpeedStep thread.

 

May u check my dsdt.dsl to find the missing usb port. :)

USB3 isn't showing up in IORegistryExplorer? If that's the case, then read my post and note the modifications to the USB ports.

 

i fixed the compiler erros taking yours as example. Which is exactly the generic part of dsdt for all p5k pro users without influence on what cpu, memory or gpu they are running. Cause if we could make the generic code people just needs to delete that part and copy paste the fixed.

Yep. That's one of our goals.

 

I see that you are from Spain. Nice... Costa Blanca is our #2 holiday destination since years, and Costa Dorada before that, but Ibiza is still #1 since 1979 (yeah, I am that old already).

 

Adios amigo :)

Share this post


Link to post
Share on other sites
USB3 isn't showing up in IORegistryExplorer? If that's the case, then read my post and note the modifications to the USB ports.

 

it isn't USB3. i read not to edit this one so i left it as it is. the one i have problem is "Name (_ADR, 0x001A0001)" alias USB5 it shows up in ioexplorer but actually no tree.

 

Gonna check out linux distro to find my pss ... "yeas i can" :rolleyes:

 

Offtopic

 

I see that you are from Spain. Nice... Costa Blanca is our #2 holiday destination since years, and Costa Dorada before that, but Ibiza is still #1 since 1979 (yeah, I am that old already).

 

Adios amigo :rolleyes:

 

Andalucia, verde que te quiero verde :rolleyes:

Share this post


Link to post
Share on other sites
I don't want to sound rude, but this thread was started to help out P5K PRO owners and P5K PRO owners only. You may want to head over to the DSDT - Vanilla Speedstep - Remove _cst errors for MB without C-states and ask for help there.

 

And please, please change that long code block in that other post into a codebox – I am starting to suffer from RSI which I tell you is no joke but really hurts!

ok that's no problem but it's not like i have a gigabyte mobo or an asus AV8 mobo or a Xbox360 (check my sigs)

about the codebox i thought the forum will do it automatically, sorry i edited with "codebox" instead of "code" ;)

see u on the other thread :(

Share this post


Link to post
Share on other sites
it isn't USB3. i read not to edit this one so i left it as it is. the one i have problem is "Name (_ADR, 0x001A0001)" alias USB5 it shows up in ioexplorer but actually no tree.

You might wanna re-read my first post because I keep adding info to it... and one particular part of the new info is all about the USB Hubs – I have all of them working.

 

Offtopic

Andalucia, verde que te quiero verde :)

That must be part of your school history, isn't it?

 

Hi all menbre,

Thanks spanakorizo he answer

 

<snip />

 

Sorry,my english bad I am french :(

Listen. If you want help from me or anyone else here, then please start a new topic. I'm sure that other people, like spanakorizo will join you there. And please remove your post here, and I'll join you there. How's that for an answer? Fair enough isn't it? In short: Do not dump unrelated stuff here, or I'll ignore you from now on! Clear?

 

Nothing personal. Absolutely not! However, people here are told to use search, but that won't work when people like you mix unrelated issues. In other words; a search on P5K PRO should show info about P5K PRO and not stuff related to other motherboards. That won't help anyone. And it makes it harder for me to keep up with everything.

 

ok that's no problem but it's not like i have a gigabyte mobo or an asus AV8 mobo or a Xbox360 (check my sigs)

about the codebox i thought the forum will do it automatically, sorry i edited with "codebox" instead of "code" ;)

see u on the other thread :)

Sure enough. Thanks man!

Share this post


Link to post
Share on other sites

Hey Chief

 

After some playing around i took your dsdt v2 and added my pss .. i'didn't get KP as befor but i get the same error when i try to use Chameleon RC3 with my working Dsdt. Remember i'am using BootThink.

 

SerialATAPI device reconfiguration did not complete successfully. FailedCommandInfo = 0x1

SerialATAPI device reconfiguration did not complete successfully. FailedCommandInfo = 0x2

 

Still waiting for root device

 

SerialATAPI Terminating due to unrecoverable Reset error -drive has stopped responding (resetType = 0x0, newPowerState = 0x1

 

If i edit my dsdt with my pss and your fixes then it boots perfect. Well only on BootThink. Once in Osx i get some sound stuttering but i read its cause irq so gonna check that.

 

EDIT: Deleted those irq entries on Device PIC and Device TMR and sound is working fine :unsure:

 

Search this in your dsdt

 

Device (PIC)
               {
                   Name (_HID, EisaId ("PNP0000"))
                   Name (_CRS, ResourceTemplate ()
                   {
                       IO (Decode16,
                           0x0020,             // Range Minimum
                           0x0020,             // Range Maximum
                           0x00,               // Alignment
                           0x02,               // Length
                           )
                       IO (Decode16,
                           0x00A0,             // Range Minimum
                           0x00A0,             // Range Maximum
                           0x00,               // Alignment
                           0x02,               // Length
                           )
                       IRQNoFlags ()
                           {2}
                   })
               }

 

 

 

 

now delete just this

 

IRQNoFlags ()
                           {2}

 

 

and now check this

 

Device (TMR)
               {
                   Name (_HID, EisaId ("PNP0100"))
                   Name (_CRS, ResourceTemplate ()
                   {
                       IO (Decode16,
                           0x0040,             // Range Minimum
                           0x0040,             // Range Maximum
                           0x00,               // Alignment
                           0x04,               // Length
                           )
                       IRQNoFlags ()
                           {0}
                   })
               }

 

and here delete this

 

IRQNoFlags ()
                           {0}

 

Open Issues are:

1. The slow restart and Shutdown.Openhaltrestard.kext doesn't work properly (edit.. give it some time (20restarts :) ). know its fast again)

2. The strange DVD-Rom look up from time to time searching a disk inside.. this also happend on 10.5

3. Chameleon not working. see error above. This links aswell to the DVD Rom (Chameleon works, i tried on usb and it works but not on Terrabyte Seagate HD, PCEFI 10.3 doesn't work neither)

 

Thx Chief, know my p5k pro feels better than ever

 

Salu2

 

ATTENTION: If you use my DSDT.aml be sure to edit first pss with yours or tatan KP. You get pss instaling voodoopower.kext from superhai 32Bit and running P States Calculator from here DSDT - Vanilla Speedstep Once you have your p-state table, edit the dsdt.aml accordingly and remove voodoopower.kext. Change inside PlatformUUID.kext the info.plist with your Uuid taken from disk Utility.

dsdt.zip

Extensions.zip

Share this post


Link to post
Share on other sites
<snip />

 

ATTENTION: If you use my DSDT.aml be sure to edit first pss with yours or tatan KP. You get pss instaling voodoopower.kext from superhai 32Bit and running P States Calculator from here http://www.insanelymac.com/forum/index.php...t&p=1235177

Change inside PlatformUUID.kext the info.plist with your Uuid taken from disk Utility.

You really shouldn't use voodoopower.kext anymore. The idea of all hard work done for the Vanilla SpeedStep thread was to fix the _CST boot errors, and to get vanilla SpeedStep working. And we succeeded. The only thing left to do is to get C-States working for everyone.

Share this post


Link to post
Share on other sites
You really shouldn't use voodoopower.kext anymore. The idea of all hard work done for the Vanilla SpeedStep thread was to fix the _CST boot errors, and to get vanilla SpeedStep working. And we succeeded. The only thing left to do is to get C-States working for everyone.

 

i don't use it .. i just used it to grap my pstates :D in 10.5 cause 32bit. thats kind of easy way to find out the pstates of your cpu. Well i did aswell the acpidump on ubuntu but the files i get there makes me very confusing :unsure:

 

i edit my previous post to let it clear.

 

salu2

Share this post


Link to post
Share on other sites

Version 2.1 now available for download from post #3 – see attachments.

 

And here's a quick HOWTO to re-enable PS2 devices, because I removed them. First search for:

					/* There is no PS2 Keyboard on a Mac
				If (And (OPT3, 0x10))
				{
					Notify (PS2K, 0x02)
				} */

Change that into:

					If (And (OPT3, 0x10))
				{
					Notify (PS2K, 0x02)
				}

Then search for:

				/*  There is no PS2 Keyboard on a Mac 
			Device (PS2K) {} */

			/* Method (PS2K._PRW, 0, NotSerialized) {} */

			/* There is no PS2 Mouse on a Mac
			Device (PS2M) {} */

			/* Method (PS2M._PRW, 0, NotSerialized) {} */

And replace it with:

                Device (PS2K)
               {
                   Name (_HID, EisaId ("PNP0303"))
                   Name (_CID, EisaId ("PNP030B"))
                   Method (_STA, 0, NotSerialized)
                   {
                       ShiftLeft (One, 0x0A, Local0)
                       If (And (IOST, Local0))
                       {
                           Return (0x0F)
                       }

                       Return (Zero)
                   }

                   Name (_CRS, ResourceTemplate ()
                   {
                       IO (Decode16,
                           0x0060,             // Range Minimum
                           0x0060,             // Range Maximum
                           0x00,               // Alignment
                           0x01,               // Length
                           )
                       IO (Decode16,
                           0x0064,             // Range Minimum
                           0x0064,             // Range Maximum
                           0x00,               // Alignment
                           0x01,               // Length
                           )
                       IRQNoFlags ()
                           {1}
                   })
               }

               Method (PS2K._PRW, 0, NotSerialized)
               {
                   Return (GPRW (0x1F, 0x04))
               }

               Device (PS2M)
               {
                   Name (_HID, EisaId ("PNP0F03"))
                   Name (_CID, EisaId ("PNP0F13"))
                   Method (_STA, 0, NotSerialized)
                   {
                       ShiftLeft (One, 0x0C, Local0)
                       If (And (IOST, Local0))
                       {
                           Return (0x0F)
                       }

                       Return (Zero)
                   }

                   Name (CRS1, ResourceTemplate ()
                   {
                       IRQNoFlags ()
                           {12}
                   })
                   Name (CRS2, ResourceTemplate ()
                   {
                       IO (Decode16,
                           0x0060,             // Range Minimum
                           0x0060,             // Range Maximum
                           0x00,               // Alignment
                           0x01,               // Length
                           )
                       IO (Decode16,
                           0x0064,             // Range Minimum
                           0x0064,             // Range Maximum
                           0x00,               // Alignment
                           0x01,               // Length
                           )
                       IRQNoFlags ()
                           {12}
                   })
                   Method (_CRS, 0, NotSerialized)
                   {
                       ShiftLeft (One, 0x0A, Local0)
                       If (And (IOST, Local0))
                       {
                           Return (CRS1)
                       }
                       Else
                       {
                           Return (CRS2)
                       }
                   }
               }

               Method (PS2M._PRW, 0, NotSerialized)
               {
                   Return (GPRW (0x1D, 0x04))
               }

And you are done! But here's an important note: Do NOT copy it from this forum, but use your own dsdt.dsl file or you'll end up with hidden characters (0x0d) that will prevent it from compiling!

 

You can see what I've done by entering the following command in a terminal window: diff -uw old.dsl new.dsl. No mysteries here :D

Share this post


Link to post
Share on other sites
Version 2.1 now available for download (see attachments in post #3).

And here's a quick HOWTO to re-enable PS2 devices, because I removed them. First search for:

					/* There is no PS2 Keyboard on a Mac
				If (And (OPT3, 0x10))
				{
					Notify (PS2K, 0x02)
				} */

Change that into:

					If (And (OPT3, 0x10))
				{
					Notify (PS2K, 0x02)
				}

Then search for:

				/*  There is no PS2 Keyboard on a Mac 
			Device (PS2K) {} */

			/* Method (PS2K._PRW, 0, NotSerialized) {} */

			/* There is no PS2 Mouse on a Mac
			Device (PS2M) {} */

			/* Method (PS2M._PRW, 0, NotSerialized) {} */

And replace it with:

                Device (PS2K)
               {
                   Name (_HID, EisaId ("PNP0303"))
                   Name (_CID, EisaId ("PNP030B"))
                   Method (_STA, 0, NotSerialized)
                   {
                       ShiftLeft (One, 0x0A, Local0)
                       If (And (IOST, Local0))
                       {
                           Return (0x0F)
                       }

                       Return (Zero)
                   }

                   Name (_CRS, ResourceTemplate ()
                   {
                       IO (Decode16,
                           0x0060,             // Range Minimum
                           0x0060,             // Range Maximum
                           0x00,               // Alignment
                           0x01,               // Length
                           )
                       IO (Decode16,
                           0x0064,             // Range Minimum
                           0x0064,             // Range Maximum
                           0x00,               // Alignment
                           0x01,               // Length
                           )
                       IRQNoFlags ()
                           {1}
                   })
               }

               Method (PS2K._PRW, 0, NotSerialized)
               {
                   Return (GPRW (0x1F, 0x04))
               }

               Device (PS2M)
               {
                   Name (_HID, EisaId ("PNP0F03"))
                   Name (_CID, EisaId ("PNP0F13"))
                   Method (_STA, 0, NotSerialized)
                   {
                       ShiftLeft (One, 0x0C, Local0)
                       If (And (IOST, Local0))
                       {
                           Return (0x0F)
                       }

                       Return (Zero)
                   }

                   Name (CRS1, ResourceTemplate ()
                   {
                       IRQNoFlags ()
                           {12}
                   })
                   Name (CRS2, ResourceTemplate ()
                   {
                       IO (Decode16,
                           0x0060,             // Range Minimum
                           0x0060,             // Range Maximum
                           0x00,               // Alignment
                           0x01,               // Length
                           )
                       IO (Decode16,
                           0x0064,             // Range Minimum
                           0x0064,             // Range Maximum
                           0x00,               // Alignment
                           0x01,               // Length
                           )
                       IRQNoFlags ()
                           {12}
                   })
                   Method (_CRS, 0, NotSerialized)
                   {
                       ShiftLeft (One, 0x0A, Local0)
                       If (And (IOST, Local0))
                       {
                           Return (CRS1)
                       }
                       Else
                       {
                           Return (CRS2)
                       }
                   }
               }

               Method (PS2M._PRW, 0, NotSerialized)
               {
                   Return (GPRW (0x1D, 0x04))
               }

hello again

in m case i need to load in /E 2 kexts because i use keyboard in PS2 port (mouse is usb)

http://www.insanelymac.com/forum/index.php...st&id=57913

do u think via dsdt i could get rid of the 2 hacked kexts?

i tried to copy/paste this code but couldnt compile the aml

any advise? (

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×