Help - Search - Members - Calendar
Full Version: P5K PRO - Snow Leopard installation...
InsanelyMac Forum > OSx86 Project > OSx86 Installation > OSx86 10.6 (Snow Leopard)
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17
VegasKarma
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.
bakeradiosk8er16
QUOTE (ScottHendricks @ Sep 25 2009, 10:54 PM) *
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
Master Chief
QUOTE (VegasKarma @ Sep 25 2009, 05:54 AM) *
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 wink.gif

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:

CODE
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):
CODE
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:
CODE
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:
CODE
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:
CODE
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:
CODE
<?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
CODE
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)
{
0x00, 0x00, 0x00, 0x20
},

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

"model",
Buffer (0x17)
{
"nVidia GeForce 9600 GT"
},

"rom-revision",
Buffer (0x2B)
{
"nVidia GeForce 9600 GT OpenGL Engine"
}
}, 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

VegasKarma
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.
Master Chief
QUOTE (VegasKarma @ Sep 26 2009, 07:33 PM) *
Master Chief,
I have updated my signature with more information.

Much better. Thanks.

QUOTE (VegasKarma @ Sep 26 2009, 07:33 PM) *
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?
VegasKarma
QUOTE (Master Chief @ Sep 26 2009, 07:01 PM) *
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
OsXsO
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 smile.gif
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

QUOTE
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"

CODE
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. smile.gif 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
spanakorizo
QUOTE (OsXsO @ Sep 26 2009, 10:30 PM) *
I would like to add to my Dsdt the speedstep settings of my Q6600 i found this settings of a gigabyte user "AsereBLN"

CODE
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:

CODE
[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
VegasKarma
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
spanakorizo
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.
Click to view attachment
Master Chief
QUOTE (VegasKarma @ Sep 27 2009, 02:56 AM) *
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!

QUOTE (spanakorizo @ Sep 27 2009, 03:20 AM) *
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.
Click to view attachment

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!
Master Chief
QUOTE (OsXsO @ Sep 26 2009, 11:30 PM) *
<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

QUOTE (OsXsO @ Sep 26 2009, 11:30 PM) *
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.

QUOTE (OsXsO @ Sep 26 2009, 11:30 PM) *
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.

QUOTE (OsXsO @ Sep 26 2009, 11:30 PM) *
May u check my dsdt.dsl to find the missing usb port. smile.gif

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

QUOTE (OsXsO @ Sep 26 2009, 11:30 PM) *
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 wink.gif
OsXsO
QUOTE (Master Chief @ Sep 27 2009, 06:17 AM) *
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" smile.gif

Offtopic

QUOTE (Master Chief @ Sep 27 2009, 06:17 AM) *
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 wink.gif


Andalucia, verde que te quiero verde smile.gif
spanakorizo
QUOTE (Master Chief @ Sep 27 2009, 05:38 AM) *
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" wink.gif
see u on the other thread rolleyes.gif
Master Chief
QUOTE (OsXsO @ Sep 27 2009, 12:15 PM) *
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.

QUOTE (OsXsO @ Sep 27 2009, 12:15 PM) *
Offtopic
Andalucia, verde que te quiero verde smile.gif

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

QUOTE (Flashe @ Sep 27 2009, 02:13 PM) *
Hi all menbre,
Thanks spanakorizo he answer

<snip />

Sorry,my english bad I am french sad.gif

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.

QUOTE (spanakorizo @ Sep 27 2009, 02:12 PM) *
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" wink.gif
see u on the other thread rolleyes.gif

Sure enough. Thanks man!
spanakorizo
i just remembered that almost 2 years ago i had started a thread for P5K premium
and my title was "Asus P5K Premium Wifi Black Pearl !ONLY!, and Q6600 cpu " so let;s respect this thread for P5k PRO and move there:
P5K PREMIUM
OsXsO
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 smile.gif

Search this in your dsdt

CODE
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

CODE
IRQNoFlags ()
{2}



and now check this

CODE
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

CODE
IRQNoFlags ()
{0}


Open Issues are:
1. The slow restart and Shutdown.Openhaltrestard.kext doesn't work properly (edit.. give it some time (20restarts smile.gif ). 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.
VegasKarma
QUOTE (Master Chief @ Sep 27 2009, 05:38 AM) *
Please attach your dsdt.dsl file. Not some text copy because I can't do jack with text files!


Her it is.
Click to view attachment
Master Chief
QUOTE (OsXsO @ Sep 27 2009, 05:22 PM) *
<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.
OsXsO
QUOTE (Master Chief @ Sep 28 2009, 03:25 AM) *
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 smile.gif 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 wacko.gif

i edit my previous post to let it clear.

salu2
Master Chief
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:
CODE
                    /* There is no PS2 Keyboard on a Mac
                    If (And (OPT3, 0x10))
                    {
                        Notify (PS2K, 0x02)
                    } */

Change that into:
CODE
                    If (And (OPT3, 0x10))
                    {
                        Notify (PS2K, 0x02)
                    }

Then search for:
CODE
                /*  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:
CODE
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 wink.gif
VegasKarma
QUOTE (Master Chief @ Sep 27 2009, 04:38 AM) *
Please attach your dsdt.dsl file. Not some text copy because I can't do jack with text files!


Master Chief - Here is my dsdt any help would be appreciated. I have tried, this stuff is hard.

Click to view attachment
Master Chief
QUOTE (VegasKarma @ Oct 3 2009, 03:51 AM) *
Master Chief - Here is my dsdt any help would be appreciated. I have tried, this stuff is hard.

Click to view attachment

Okay, but what exactly is it that you want me to do with it?
VegasKarma
I still have no sound and I know you fixed that in your dsdt. There may be other things, I really don't know whats possible.
spanakorizo
QUOTE (Master Chief @ Sep 30 2009, 01:44 PM) *
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:
CODE
                    /* There is no PS2 Keyboard on a Mac
                    If (And (OPT3, 0x10))
                    {
                        Notify (PS2K, 0x02)
                    } */

Change that into:
CODE
                    If (And (OPT3, 0x10))
                    {
                        Notify (PS2K, 0x02)
                    }

Then search for:
CODE
                /*  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:
CODE
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? (
Master Chief
QUOTE (VegasKarma @ Oct 4 2009, 09:22 PM) *
I still have no sound and I know you fixed that in your dsdt. There may be other things, I really don't know whats possible.

Right. I'll look at it after work.

QUOTE (spanakorizo @ Oct 4 2009, 11:14 PM) *
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? (

Not really. I don't think so. And I don't have/use PS2 hardware so I can't help you here. And if it works... then don't break it wink.gif
julia24
QUOTE (Master Chief @ Sep 26 2009, 08:34 AM) *
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 USB keyboard 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
Here's the ASUS P5K PRO specific support page and here's a link to the manual I have here which I will be using in near future updates/replies to this topic – this should grow (over time) into the Snow Leopard Installation Guide for P5K PRO users.

Vanilla Snow Leopard Installation
Here's the ultra short/over simplified edition:
1) Made a GUID Partition Table with Disk Utility on a 8GB SanDisk Cruzer (1 * 512MB + 1 * 7GB).
2) Restored the original Snow Leopard Retail DVD with Disk Utility on the second partition.
3) Installed Chameleon v2 RC3 on the first partition.
4) Booted from the USB stick and installed Snow Leopard.

DSDT
WARNING: The attached DSDT 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:

CODE
            Name (_PSS, Package (0x04)
            {
                Package (0x06) { 2498, 88000, 10, 10, 0x4720, 0x0000 },
                Package (0x06) { 2331, 59643, 10, 10, 0x071E, 0x0001 },
                Package (0x06) { 2165, 51124, 10, 10, 0x461C, 0x0002 },
                Package (0x06) { 1998, 41880, 10, 10, 0x061A, 0x0003 }
            })

With the following ASL snippet added to Processor (CPU[2/3/4], 0x0[2/3/4], 0x00000810, 0x06):
CODE
            Method (_CST, 0, NotSerialized)
            {
                Return (\_PR.CPU1._CST())
            }

And the following ASL method:
CODE
Method (_CST, 0, NotSerialized)
{
If (LAnd (And (CFGD, 0x01000000), LNot (And (TYPE, 0x09
))))
{
Return (Package (0x02)
{
One, // Number of C-State packages: 1
Package (0x04)
{
ResourceTemplate ()
{
Register (FFixedHW,
0x00, // Bit Width
0x00, // Bit Offset
0x0000000000000000, // Address
,)
},

One, // Type: C1
0x9D, // Latency: 157us
0x03E8 // Power: 1000mw
}
})
}

Return (Package (0x04)
{
0x03,
Package (0x04)
{
ResourceTemplate ()
{
Register (FFixedHW,
0x01, // Bit Width
0x02, // Bit Offset
0x0000000000000000, // Address
0x01, // Access Size
)
},

0x01,
0x01,
0x03E8
},

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

0x02,
0x01,
0x01F4
},

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

0x03,
0x11,
0xFA
}
})

}

To prevent the following errors from showing up in kernel.log:
CODE
ACPI_SMC_PlatformPlugin::pushCPU_CSTData - _CST evaluation failed
ACPI_SMC_PlatformPlugin::registerLPCDriver - WARNING - LPC device initialization failed: C-state power management not initialized

This however also requires you to have some sort of SMBIOS injection, to set it as P5K PRO, or you can use this hack to change "MacPro3,1" in:
/System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/ACPI_SMC_PlatformPlugin.kext/Contents/info.plist
into "P5K PRO". Which works for me.

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.

New Devices
Device (DTGP) of course
Device (LAN)
Device (SBUS)

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) Device USB3 in my dsdt.dsl because it didn't show up in IORegistryExplorer.

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)

TODO
Fix sleep after idle period with TSSTcorp DVD drives.

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 to generate the following "device-properties" for: /Library/Preferences/SystemConfiguration/com.apple.Boot.plist:
CODE
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:
CODE
<?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.

Attached Files
Sorry,I hane no microphone with this drivers.
Master Chief
The latest edition – DSDT V2.2 is now available for download from post #3 – see attachments.

1) It now includes a SBUS Device.

You can see the before/after changes by looking at the included diff.out file (open with TextEdit).

Have fun!
farski
since I had been working on this a bit when SL first came out and I was talking with some people over in the '- P5W DH Deluxe - [SUCCESS], ** GUIDE INSIDE <<| .. Some P5K Pro things' thread, I've had no time to think about this; seems like real progress has been made now though. I haven't had a chance to read through this thread too much yet, but I am going to in the next couple of days and try to get my system finished.

My one question for right now though is I know I have an older BIOS right now (0806 or something like that); if I update is there any chance that could break my 10.5 install? I had actually gotten pretty close when I was trying last month; booted fine, just had some sound/LAN issues. If newer BIOS could eliminate one potential factor for little things like that I will upgrade, just need to know I have my computer working for work in the mean time.
OsXsO
QUOTE (julia24 @ Oct 6 2009, 12:45 PM) *
Sorry,I hane no microphone with this drivers.


try the BlackCH kexts linked on this post http://www.insanelymac.com/forum/index.php...t&p=1281540


QUOTE (farski @ Oct 6 2009, 05:03 PM) *
since I had been working on this a bit when SL first came out and I was talking with some people over in the '- P5W DH Deluxe - [SUCCESS], ** GUIDE INSIDE <<| .. Some P5K Pro things' thread, I've had no time to think about this; seems like real progress has been made now though. I haven't had a chance to read through this thread too much yet, but I am going to in the next couple of days and try to get my system finished.

My one question for right now though is I know I have an older BIOS right now (0806 or something like that); if I update is there any chance that could break my 10.5 install? I had actually gotten pretty close when I was trying last month; booted fine, just had some sound/LAN issues. If newer BIOS could eliminate one potential factor for little things like that I will upgrade, just need to know I have my computer working for work in the mean time.


There will be no problem to update the bios.. as i did it without screwing up anything few times before on this board. This will not fix your problems but you will have same Bios more or less same Dsdt so should be easier for you to fix your issues. As well if you have a problem then we all talk from the same Base if we have same Bios smile.gif
Master Chief
QUOTE (OsXsO @ Oct 6 2009, 06:24 PM) *
try the BlackCH kexts linked on this post http://www.insanelymac.com/forum/index.php...t&p=1281540

Thanks man.

@Julia24: I'm confused. Not about your post... but I thought to have replied to you before dinner. Apparently not. Sorry!
OsXsO
Hola Chief

i'm trying your version 2.2. My experience is that i have to delete those irqs on Device (IPIC) and Device (TIMR) to get clear audio. You don't have problems with that??

As well i get the orange HD icons back ... inserting

CODE
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"device-id",
Buffer (0x04)
{
0x81, 0x26, 0x00, 0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}


fixed it but i confused with your new method

CODE
// New Method.
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"io-device-location",
Buffer (0x04)
{
"Bay 1"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}

Device (PRT1) // Renamed from: CHN1
{
Name (_ADR, One)

Method (_GTM, 0, NotSerialized)
{
ShiftLeft (SSCR, One, Local1)
Or (SMCR, Local1, Local0)
ShiftLeft (SMAE, 0x02, Local3)
ShiftLeft (SM6E, One, Local4)
Or (Local3, Local4, Local3)
Or (SM3E, Local3, Local1)
ShiftLeft (SMPT, 0x04, Local3)
Or (Local1, Local3, Local1)
ShiftLeft (SSAE, 0x02, Local3)
ShiftLeft (SS6E, One, Local4)
Or (Local3, Local4, Local3)
Or (SS3E, Local3, Local2)
ShiftLeft (SSPT, 0x04, Local3)
Or (Local2, Local3, Local2)
Return (GTM (SMRI, Local1, SMUT, SSRI, Local2, SSUT, Local0))
}

Method (_STM, 3, NotSerialized)
{
Store (Arg0, Debug)
Store (Arg0, TMD0)
ShiftLeft (SMAE, 0x02, Local3)
ShiftLeft (SM6E, One, Local4)
Or (Local3, Local4, Local3)
Or (SM3E, Local3, Local0)
ShiftLeft (SMPT, 0x04, Local3)
Or (Local0, Local3, Local0)
ShiftLeft (SSAE, 0x02, Local3)
ShiftLeft (SS6E, One, Local4)
Or (Local3, Local4, Local3)
Or (SS3E, Local3, Local1)
ShiftLeft (SSPT, 0x04, Local3)
Or (Local1, Local3, Local1)
Store (SMRI, GMPT)
Store (Local0, GMUE)
Store (SMUT, GMUT)
Store (SMCR, GMCR)
Store (SSRI, GSPT)
Store (Local1, GSUE)
Store (SSUT, GSUT)
Store (SSCR, GSCR)
STM ()
Store (GMPT, SMRI)
Store (GMUE, Local0)
Store (GMUT, SMUT)
Store (GMCR, SMCR)
Store (GSUE, Local1)
Store (GSUT, SSUT)
Store (GSCR, SSCR)
If (And (Local0, One))
{
Store (One, SM3E)
}
Else
{
Store (Zero, SM3E)
}

If (And (Local0, 0x02))
{
Store (One, SM6E)
}
Else
{
Store (Zero, SM6E)
}

If (And (Local0, 0x04))
{
Store (One, SMAE)
}
Else
{
Store (Zero, SMAE)
}

If (And (Local1, One))
{
Store (One, SS3E)
}
Else
{
Store (Zero, SS3E)
}

If (And (Local1, 0x02))
{
Store (One, SS6E)
}
Else
{
Store (Zero, SS6E)
}

If (And (Local1, 0x04))
{
Store (One, SSAE)
}
Else
{
Store (Zero, SSAE)
}

Store (GTF (Zero, Arg1), ATA2)
Store (GTF (One, Arg2), ATA3)
}

Device (DRV0)
{
Name (_ADR, Zero)
Method (_GTF, 0, NotSerialized)
{
Return (RATA (ATA2))
}
}

Device (DRV1)
{
Name (_ADR, One)
Method (_GTF, 0, NotSerialized)
{
Return (RATA (ATA3))
}
}

// New Method.
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"io-device-location",
Buffer (0x06)
{
"Bay 2"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}

Device (PRT2) // new Device.
{
Name (_ADR, 0x02)

Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"io-device-location",
Buffer (0x06)
{
"Bay 3"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}

Device (PRT3) // new Device.
{
Name (_ADR, 0x03)

Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"io-device-location",
Buffer (0x06)
{
"Bay 4"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}

Device (PRT4) // new Device.
{
Name (_ADR, 0x04)

Method (_DSM, 4, NotSerialized)
{
Store (Package (0x06)
{
"io-device-location",
Buffer (0x06)
{
"Bay 5"
},

"location",
Buffer (0x0f)
{
"0 top 1 bottom"
},

"AHCI-Ejectable",
Buffer (One)
{
One
}

}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}

Device (PRT5) // new Device.
{
Name (_ADR, 0x05)

Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"io-device-location",
Buffer (0x06)
{
"Bay 6"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}


do i screw something by mixing??

ups and the usb aren't set as internal again.. so no sleep.. well i learned how to fix this smile.gif

On boot i get this few new errors

CODE

06/10/09 20:10:32 kernel Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleMikeyDriver/AppleMikeyI2C.cpp" at line 197 goto handler

06/10/09 20:10:32 kernel Sound assertion "mMikeyReceiverFound && 0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleMikeyDriver/AppleMikeyI2C.cpp" at line 247 goto Exit

06/10/09 20:10:32 kernel Sound assertion "0 != readRegisters ( (UInt8*)&mRegisterCache )" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleMikeyDriver/AppleMikeyI2C.cpp" at line 104 goto handler

06/10/09 20:10:34 com.apple.kextd[10] /System/Library/Extensions/IOSerialFamily.kext/Contents/PlugIns/InternalModemSupport.kext does not declare a kernel dependency; using com.apple.kernel.6.0.


"Offtopic
and as read you have logitech wireless so sure your running lcc version 3.10 i get as well this errors

CODE

06/10/09 20:10:21 kernel Kernel Extensions in backtrace (with dependencies):
06/10/09 20:10:21 kernel com.Logitech.Control Center.HID Driver(3.1.0)@0x5d36a000->0x5d390fff
06/10/09 20:10:21 kernel dependency: com.apple.iokit.IOUSBFamily(3.7.8)@0x5cc39000
06/10/09 20:10:21 kernel dependency: com.apple.iokit.IOHIDFamily(1.6.0)@0x5c9f5000
06/10/09 20:10:21 kernel dependency: com.apple.iokit.IOUSBHIDDriver(3.7.5)@0x5d2e2000
06/10/09 20:10:21 kernel Trying to change a collection in the registry
06/10/09 20:10:21 kernel Backtrace 0x4ff2a8 0x4fef07 0x5d37f4be 0x5d37bc6f 0x5d37b47a 0x5d37fe17 0x5d37562d


mine is Logitech Cordless Keyboard s530 mac, sometimes i have some strange lags.. for example the dock stays static no effect until i unplug and plug the usb transmitter. do you see same behaviour on your system?"

Thx for your hard work on getting osx working better and better on generic and specially "p5k pro" boards...
farski
Is there a specific reason this (and most) guides say to install from a USB drive, and not straight from the DVD? The install I had "working" for a while was installed right from the DVD, and while it did have some issues like I mentioned (sound, slow LAN, no sleep) in general it seemed to work.
OsXsO
QUOTE (farski @ Oct 6 2009, 07:19 PM) *
Is there a specific reason this (and most) guides say to install from a USB drive, and not straight from the DVD? The install I had "working" for a while was installed right from the DVD, and while it did have some issues like I mentioned (sound, slow LAN, no sleep) in general it seemed to work.


the specific reason is that most bootloaders haven't proper atapi dvd drivers for most boards so its easier to install from usb.. you can go for a boot 132cd smile.gif

As for your issues they are all fixed in this topic. well, slow lan is new to me.
farski
QUOTE (OsXsO @ Oct 6 2009, 02:40 PM) *
the specific reason is that most bootloaders haven't proper atapi dvd drivers for most boards so its easier to install from usb.. you can go for a boot 132cd smile.gif

As for your issues they are all fixed in this topic. well, slow lan is new to me.


the slow LAN is through a cheapo PCI 10/100 card that I had put in when I installed 10.5 because it worked vanilla and the p5k onboard port didn't. If onboard LAN works now I can ditch the PCI card and it probably won't be an issue (though I don't know why it would work fine in 10.5 and be slow in 10.6)

Also, dumb question, Master Chief (or anyone who's doing things pretty close to this guide) I'm assuming all the steps that aren't mentioned explicitly in your guide, like editing apple boot plist and the UUID drive strings etc, are still required. Just making sure since I haven't looked into this since the week 10.6 came out, things could have changed. Is there a specific guide that you would suggest to follow for that stuff.
Master Chief
QUOTE (OsXsO @ Oct 6 2009, 08:04 PM) *
Hola Chief
i'm trying your version 2.2. My experience is that i have to delete those irqs on Device (IPIC) and Device (TIMR) to get clear audio. You don't have problems with that??

Hi. No, I don't need to remove the IRQ's no.

QUOTE (OsXsO @ Oct 6 2009, 08:04 PM) *
As well i get the orange HD icons back ... inserting
CODE
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"device-id",
Buffer (0x04)
{
0x81, 0x26, 0x00, 0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}


That's probably because I use LegacyAppleAHCIPort.kext for it – I don't like to change device id's without first knowing that it really does.

QUOTE (OsXsO @ Oct 6 2009, 08:04 PM) *
fixed it but i confused with your new method

CODE
// New Method.
Store (Package (0x02)
{
"io-device-location",
Buffer (0x04)
{
"Bay 1"
}
}, Local0)

do i screw something by mixing??

Not if you take care of the length Package (0x02) here. And all this does is to add a new property in System Profiler called: "Bay Name:" and in this case that would be set to: "Bay 1". One of the four bays inside a MacPro.

QUOTE (OsXsO @ Oct 6 2009, 08:04 PM) *
ups and the usb aren't set as internal again.. so no sleep.. well i learned how to fix this smile.gif

Are you talking about the: "Host Controller Location:" because these are all set to: "Built-in USB" in System Profiler.

QUOTE (OsXsO @ Oct 6 2009, 08:04 PM) *
On boot i get this few new errors

CODE

06/10/09 20:10:32 kernel Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleMikeyDriver/AppleMikeyI2C.cpp" at line 197 goto handler

06/10/09 20:10:32 kernel Sound assertion "mMikeyReceiverFound && 0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleMikeyDriver/AppleMikeyI2C.cpp" at line 247 goto Exit

06/10/09 20:10:32 kernel Sound assertion "0 != readRegisters ( (UInt8*)&mRegisterCache )" failed in "/SourceCache/AppleHDA/AppleHDA-174.1.1/AppleMikeyDriver/AppleMikeyI2C.cpp" at line 104 goto handler

06/10/09 20:10:34 com.apple.kextd[10] /System/Library/Extensions/IOSerialFamily.kext/Contents/PlugIns/InternalModemSupport.kext does not declare a kernel dependency; using com.apple.kernel.6.0.

I'm working on it. Well not really at the moment but I hope to fix this soon. I just hate warnings and errors.

QUOTE (OsXsO @ Oct 6 2009, 08:04 PM) *
"Offtopic
and as read you have logitech wireless so sure your running lcc version 3.10 i get as well this errors
CODE

06/10/09 20:10:21 kernel Kernel Extensions in backtrace (with dependencies):
06/10/09 20:10:21 kernel com.Logitech.Control Center.HID Driver(3.1.0)@0x5d36a000->0x5d390fff
06/10/09 20:10:21 kernel dependency: com.apple.iokit.IOUSBFamily(3.7.8)@0x5cc39000
06/10/09 20:10:21 kernel dependency: com.apple.iokit.IOHIDFamily(1.6.0)@0x5c9f5000
06/10/09 20:10:21 kernel dependency: com.apple.iokit.IOUSBHIDDriver(3.7.5)@0x5d2e2000
06/10/09 20:10:21 kernel Trying to change a collection in the registry
06/10/09 20:10:21 kernel Backtrace 0x4ff2a8 0x4fef07 0x5d37f4be 0x5d37bc6f 0x5d37b47a 0x5d37fe17 0x5d37562d


mine is Logitech Cordless Keyboard s530 mac, sometimes i have some strange lags.. for example the dock stays static no effect until i unplug and plug the usb transmitter. do you see same behaviour on your system?"


I only have a Logitech wireless mouse (V220). My keyboard has changed to Apple USB as of today. I guess that I couldn't get used to PC keyboards. Switching between the two all the time was getting too much of a hassle for me.

QUOTE (OsXsO @ Oct 6 2009, 08:04 PM) *
Thx for your hard work on getting osx working better and better on generic and specially "p5k pro" boards...

Thanks, but it's just for fun of course wink.gif
OsXsO
finally i found why your usb fix was never working for me

part of your code

CODE
Device (EHCI) // Renamed from: EUSB
{
Name (_ADR, 0x001D0007)
Method (_PRW, 0, NotSerialized)
{
Return (GPRW (0x0D, 0x04))
}
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x04)
{
"AAPL,clock-id",
Buffer (One)
{
0x01
},

"device-id",
Buffer (0x04)
{
0x3a, 0x3a, 0x00, 0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}


mine

CODE
Device (EUSB)
{
Name (_ADR, 0x001D0007)
Method (_S3D, 0, NotSerialized)
{
If (LEqual (OSFL (), 0x02))
{
Return (0x02)
}

Return (0x03)
}

Name (_PRW, Package (0x02)
{
0x0D,
0x03
})
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x04)
{
"AAPL,clock-id",
Buffer (One)
{
0x01
},

"device_type",
Buffer (0x05)
{
"EHCI"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}


and other example
CODE
Device (UHC1) // Renamed from: USB0
{
Name (_ADR, 0x001D0000)
OperationRegion (BAR0, PCI_Config, 0xC4, One)
Field (BAR0, ByteAcc, NoLock, Preserve)
{
USBW, 2, Offset (0x01)
}
Method (_S3D, 0, NotSerialized)
{
If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02)))
{
Return (0x02)
}
Else
{
Return (0x03)
}
}

Method (_PSW, 1, NotSerialized)
{
If (Arg0)
{
Store (0x03, USBW)
}
Else
{
Store (Zero, USBW)
}
}

Method (_PRW, 0, NotSerialized)
{
Return (GPRW (0x03, 0x04))
}

Method (_DSM, 4, NotSerialized)
{
Store (Package (0x04)
{
"device-id",
Buffer (0x04)
{
0x34, 0x3a, 0x00, 0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}


mine
CODE
Device (USB0)
{
Name (_ADR, 0x001D0000)
Method (_S3D, 0, NotSerialized)
{
If (LEqual (OSFL (), 0x02))
{
Return (0x02)
}

Return (0x03)
}

Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"device-id",
Buffer (0x04)
{
0x34, 0x3A, 0x00, 0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}

Name (_PRW, Package (0x02)
{
0x03,
0x03
})
}


so we have different buffer data and thats why it was not working before. now i know how but not why.... mmmhhh why do i have to remove the irq for sound and you not?

know i have your file adapted to my system but actually this shows that i should start from scratch with a clean dsdt and inserting all the patches again... as there are more small differences and those could damage the board isn't it?

QUOTE
I only have a Logitech wireless mouse (V220). My keyboard has changed to Apple USB as of today. I guess that I couldn't get used to PC keyboards. Switching between the two all the time was getting too much of a hassle for me.


mine is a mac keyboard and mouse with special buttons from logitech. so for your v220 i suppose you didn't install lcc310 as there is no need for it smile.gif


salu2
Master Chief
The Store (Package (0x04) error is my fault. I simply forgot to adjust the package length – I have a few more fixes in my DSDT, work in progress/patches that I am still working on and thus they are not included/ready for sharing. Thanks for catching the error (I'll update the files tomorrow).

The buffer index starts with 0 and not 1 and thus the length for the string: "EHCI" should be [0, 1, 2, 3] + 1 = 4.
Master Chief
QUOTE (VegasKarma @ Oct 3 2009, 03:51 AM) *
Master Chief - Here is my dsdt any help would be appreciated. I have tried, this stuff is hard.

Click to view attachment

Hi There,

I finally got took some time off and looked at your DSDT... to not find a single patch in it (see attachments for the diff. That was a bit of a surprise, as you might understand. Is this the DSDT you got from a Linux dump? If that is the case then please unzip DSDT_V2.3.zip and use that.

You might need to change the OperationRegion in each Processor block definition. Here's the one for my CPU0:
CODE
Mine:
Processor (CPU1, 0x01, 0x00000810, 0x06)
{
OperationRegion (STBL, SystemMemory, 0xCFF8E0D0, 0x01D2)

Yours:
Processor (CPU1, 0x01, 0x00000810, 0x06)
{
OperationRegion (STBL, SystemMemory, 0xBFF8E0D0, 0x01D2)

And thus all you have to do is to change the marked address in red, with the following onces:

0xBFF8E0D0
0xBFF8E2B0
0xBFF8E400
0xBFF8E550

I don't know why they are different, but presumably due to used BIOS version/revision or BIOS settings. Adding some pictures to your (first) post would have helped me greatly.

Now about sound. Have a look at the newly inserted HDEF Device which is what makes things work here. And usually you only need to adjust the "layout-id" to the one you are using/used in your Legacy kext. I used 883 because that was the logical thing to do for our motherboard with the ALC883 on it. It might however not match with some/all of the available legacy kexts.

parcival39
Hi, many thanks for this super Thread here.

Abbout kernel Sound assertion.
The same error had i also. I use this additional kext,
thus work my ACL888. It must be changed for other HDA device accordingly.

Click to view attachment

parcival
Master Chief
QUOTE (farski @ Oct 6 2009, 09:10 PM) *
...
Also, dumb question, Master Chief (or anyone who's doing things pretty close to this guide) I'm assuming all the steps that aren't mentioned explicitly in your guide, like editing apple boot plist and the UUID drive strings etc, are still required.

The installation of Chameleon and its requirements are not included, simply because that's already part of the included Chameleon installation instructions/documentation.

QUOTE (farski @ Oct 6 2009, 09:10 PM) *
Just making sure since I haven't looked into this since the week 10.6 came out, things could have changed. Is there a specific guide that you would suggest to follow for that stuff.

Not really. I can't really recommend anything. But the main purpose of Hacks to me is the fun factor. To learn new stuff and get things going, and thus the day that everything works here... then I'll be gone (again). Looking for something new/broken again. It might ultimately be the real reason why I bought a wired Apple USB keyboard, simply because you cannot wake up your computer with it. And I tell you that is about to change one day soon thumbsup_anim.gif

Hey. Some people play chess... I develop and write software, and do tech stuff. I already have my own Apple/Mac hardware (see sig) and so do my children and thus that's not "it". Nope. But the unknown stuff, like that address change in post #38 intrigues me so much that I will most likely end up restarting my hack many times later today... simply because I have to know what it is. I just can't stop/help it. LOL Sometimes I get sick and tired of it myself. Not to mention the other family members here wink.gif
Master Chief
DSDT V2.3 is now available in post #3 – see attachments.

I only changed some of the package lengths – thanks to OsXsO for catching the erors!
parcival39
Hi Master Chief,

I need your assistance.
My Mobo is a P5E-Ws-Pro, up to your version 2.1 has i no problems.
However with the integration of new SBUS with version 2.2

I have two compilers errors, however i do not find the error. sad.gif

Invalid character (0x16), expecting ASL keyword or name
and
syntax error, unexpected $end

Please look into my dsdt.dsl
Click to view attachment

Many thanks for your assistance biggrin.gif

parcival
Master Chief
QUOTE (parcival39 @ Oct 7 2009, 12:13 PM) *
Hi Master Chief,

I need your assistance. My Mobo is a P5E-Ws-Pro, up to your version 2.1 has i no problems.
However with the integration of new SBUS with version 2.2

I have two compilers errors, however i do not find the error. sad.gif

Invalid character (0x16), expecting ASL keyword or name and syntax error, unexpected $end

Please look into my dsdt.dsl
Click to view attachment

Many thanks for your assistance biggrin.gif

parcival

I am sorry, but I am not going to fix your dsdt.dsl – nor that of anyone else here. Doing this would put me in an awkward position, as you might understand, where I end up fixing other peoples mistakes. Not to mention that you don't have a P5K PRO motherboard. Different kind of soup so to speak. I can however tell you that it can be done:

==================================================
Master-Chiefs-Mac:DSDT Chief$ sudo ./iasl parcival39_dsdt.dsl

Intel ACPI Component Architecture – Compiled by Master Chief
ASL Optimizing Compiler version 20091006 [Oct 6 2009]
Copyright © 2000 - 2009 Intel Corporation
Supports ACPI Specification Revision 4.0

ASL Input: parcival39_dsdt.dsl - 10309 lines, 332782 bytes, 4616 keywords
AML Output: ./dsdt.aml - 37976 bytes, 1062 named objects, 3554 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 123 Optimizations
Master-Chiefs-Mac:DSDT Chief$
==================================================

Your dsdt.dsl had 14 errors in it, of which 13 were related to invalid characters (0x0d). The last error was caused by a missing } in the last _WAK Method. Why do you have two?

Let's use the first compiler error from your dsdt.dsl so that anyone running into this specific problem (Error 4095) can fix it without my help:

// Newly added Method for SBUS support.
Error 4095 - ^ Invalid character (0x0D), expecting ASL keyword or name


Now search for "// Newly added Method for SBUS support." and this is what you get:
CODE
        // Newly added Method for SBUS support.
        Method (DBEN, 0, NotSerialized)
        {
        }

Which looks good doesn't it? How come the compiler barks about 0x0d? Let's find out. Put the cursor after the . and remove everything up until the { and rearrange the layout again. Now re-compile the dsdt.dsl Done.

But doing this for the wrong line(s) might not work so you'll have to find the right spot first. Which is equally easy when you add some text (??? in the following example) like this:
CODE
        // ??? Newly added Method for SBUS support.
        Method (DBEN, 0, NotSerialized)
        {
        }

I hope this helps you and all the other people that keep running into this problem. Good luck!
parcival39
Master Cief,

thanks for your hint, problem solved.
Owing to your assistance, i have much learned here biggrin.gif

thx

parcival
Master Chief
QUOTE (parcival39 @ Oct 7 2009, 01:13 PM) *
Master Cief,

thanks for your hint, problem solved.
Owing to your assistance, i have much learned here biggrin.gif

thx

parcival

That's more like it – it is much more fun to fix things yourself because what if people stop helping or go missing? And yes now you can help other people as well.
OsXsO
Buenas jefe biggrin.gif

i found this entry in your dsdt.. and i was wondering what this does..

CODE
Concatenate (STS0, TEMP, Local2)
_OSC (Buffer (0x10)
{ // GUID for Intel platforms is: 4077A616-290C-47BE-9EBD-D87058713953.
/* 0000 */ 0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47,
/* 0008 */ 0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53
}, REVS, SIZE, Local2)


sure i have to edit with mine uuid.. put what is the purpose of it ??

salu2
Master Chief
Sweet! I cannot believe that I did it this quick, seriously, but I can now wake up my hack from my new Apple HID Keyboard! And goodbye to the device-id changes for EHCI and UHCI.

Note: I will update the attachments later today – right after adding some more comments and additional testing.

QUOTE (OsXsO @ Oct 7 2009, 03:54 PM) *
Buenas jefe biggrin.gif

i found this entry in your dsdt.. and i was wondering what this does..

CODE
Concatenate (STS0, TEMP, Local2)
_OSC (Buffer (0x10)
{ // GUID for Intel platforms is: 4077A616-290C-47BE-9EBD-D87058713953.
/* 0000 */ 0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47,
/* 0008 */ 0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53
}, REVS, SIZE, Local2)


sure i have to edit with mine uuid.. put what is the purpose of it ??

salu2

LOL jefe angel.png

Anyway this GUID is just there for backward compatibility.
Master Chief
DSDT V2.4 is now available in post #3 – see attachments.

Improvements:

1) Wake up from Apple USB Keyboard (this had yet to be solved I'm told).
2) No more device-id setting needed in EHCI/UHCI.
3) Additional comments added.

Just two fixes, but this update is pretty important in my book – the less workarounds we use the better.

And all this, like I said due to reading of the "Intel I/O Controller Hub 9 (ICH9) Family" specification. That was a real eye opener. I'm also pretty positive about other goodies, because the addition of the SBUS and the two latest fixes here, are only a start... I want sleep after an idle period with a TSST drive, but without a DVD in it. Who said that can't be done?
spanakorizo
nice, im gonna try now adding the smbus, congrats on the new hint for wake with apple keyboards
now go and fix idle sleep with TSSTcorp Drives tongue.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.