Jump to content

P5K PRO - Snow Leopard installation...


  • Please log in to reply
908 replies to this topic

#321
kdawg

kdawg

    InsanelyMac Legend

  • Donators
  • 508 posts
  • Gender:Male
  • Location:Boston, MA

Tip: Help people willing to help you, as in don't be cheap with info. Start by adding a signature (see 'My Controls') so that we here at least know what you are using. See post #3 for what we need to know.

Hear-hear!!

It seems to me it really should be a requirement to open an account.

#322
kdawg

kdawg

    InsanelyMac Legend

  • Donators
  • 508 posts
  • Gender:Male
  • Location:Boston, MA

kdawg, no problem

HDEF part in DSDT

Device (HDEF) // Patched for audio.            {                Name (_ADR, 0x001B0000)                                                // Newly added.                OperationRegion (HDCS, PCI_Config, 0x54, 0x04) // Power Management Control/Status (ICH9R-3169722.pdf / 17.1.19 / page 664).                Field (HDCS, DWordAcc, NoLock, Preserve)                {                        ,   15,                     PMES,   1                }                Method (_PRW, 0, NotSerialized)                {                    Return (Package (0x02)                    {                        0x0D,                         0x06                    })                }                // Newly added Method.                   Method (_DSM, 4, NotSerialized)                {                    Store (Package (0x0A)                        {                            "built-in",                            Buffer (One)                            {                                0x01                            },                            "codec-id",                            Buffer (0x04)                            {                                0x88, 0x08, 0xEC, 0x10                            },                            "layout-id",                            Buffer (0x04)                            {                                0x78, 0x03, 0x00, 0x00                            },                            "device-type",                            Buffer (0x0F)                            {                                "Realtek ALC888"                            },                            "PinConfigurations",                            Buffer (0x28)                            {                                /* 0000 */    0x10, 0x90, 0xA1, 0x01, 0x20, 0x90, 0xA1, 0x02,                                /* 0008 */    0x80, 0x30, 0x81, 0x01, 0x90, 0x40, 0x21, 0x02,                                /* 0010 */    0x30, 0x40, 0x11, 0x01, 0x40, 0x40, 0x01, 0x01,                                /* 0018 */    0x50, 0x60, 0x01, 0x01, 0x60, 0x20, 0x01, 0x01,                                /* 0020 */    0x70, 0x61, 0x4B, 0x01, 0xA0, 0x01, 0xCB, 0x01                            }                        }, Local0)                    MCDP (Arg2, RefOf (Local0))                    Return (Local0)                }            }


LegacyHDA.kext part
<key>PCIVendorDeviceID</key> <- Read from original AppleHDA.kext  
<integer>282987200</integer>
</dict>
<dict>
<key>CodecAddressMask</key>
<data>
AQAAAA==
</data>
<key>LayoutID</key>
<integer>0</integer>
<key>PCIVendorDeviceID</key> <- Read from original AppleHDA.kext
<integer>282987200</integer>
</dict>
</array>
_linenums:0'><key>CodecAddressFilterArray</key> <array> <dict> <key>CodecAddressMask</key> <data> AQAAAA== </data> <key>LayoutID</key> <integer>16392</integer> <strong class='bbc'><key>PCIVendorDeviceID</key> <- </strong>Read from original AppleHDA.kext <strong class='bbc'> <integer>282987200</integer></strong> </dict> <dict> <key>CodecAddressMask</key> <data> AQAAAA== </data> <key>LayoutID</key> <integer>0</integer> <strong class='bbc'> <key>PCIVendorDeviceID</key> </strong><strong class='bbc'><- </strong>Read from original AppleHDA.kext <strong class='bbc'> <integer>282987200</integer></strong> </dict> </array>

Here is my LegacyHDA.kext. Those is however only for ACL888.


Thanks!

#323
Master Chief

Master Chief

    Just Chief

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,176 posts
  • Gender:Male
The cleanest OSX restart kext is now available in post #3 – see attachments (ZIP file includes a 32 and 64 bit version).

Update: A new ZIP file with a combo (32/64 bit) kext is now also available!

kextstat output:
120 0 0x554b2000 0x2000 0x1000 com.apple.osx.restart (1.0) <4 3>

ioreg output:

+-o OSX_Restart_Handler <class OSX_Restart_Handler, id 0x1000004b5, !registered, !matched, active, busy 0, retain 4>
{
"IOClass" = "OSX_Restart_Handler"
"IOMatchCategory" = "OSX_Restart_Handler"
"IOProbeScore" = 18446744073709550616
"IOProviderClass" = "IOPlatformExpertDevice"
"CFBundleIdentifier" = "com.apple.osx.restart"
"IOResourceMatch" = "ACPI"
}

And no, this is not a simple renaming action, and no there is no shutdown code in it. Just a new restart handler, and yes one without kdreboot :thumbsup_anim:

#324
ƃuıʞ ǝɥʇ

ƃuıʞ ǝɥʇ

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts

The cleanest OSX restart kext is now available in post #3 �" see attachments (ZIP file includes a 32 and 64 bit version).

kextstat output:
120 0 0x554b2000 0x2000 0x1000 com.apple.osx.restart (1.0) <4 3>

ioreg output:

+-o OSX_Restart_Handler <class OSX_Restart_Handler, id 0x1000004b5, !registered, !matched, active, busy 0, retain 4>
{
"IOClass" = "OSX_Restart_Handler"
"IOMatchCategory" = "OSX_Restart_Handler"
"IOProbeScore" = 18446744073709550616
"IOProviderClass" = "IOPlatformExpertDevice"
"CFBundleIdentifier" = "com.apple.osx.restart"
"IOResourceMatch" = "ACPI"
}

Why is only one architecture and not both i386 & x86_64?
And where is the source? :thumbsup_anim:

#325
Master Chief

Master Chief

    Just Chief

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,176 posts
  • Gender:Male

Why is only one architecture and not both i386 & x86_64?

Otherwise it wouldn't be the cleanest. But you are right, this way might be making things too difficult and thus I attached a new archive with a combo kext. Thanks for the clever reminder. I really appreciate it.

And where is the source? :thumbsup_anim:

The source will be made available after a grace period, giving me time to do something that has not be done before – but nothing sneaky, of course not.

Note: I was unable to add this text before, due to getting IPS errors!

#326
kdawg

kdawg

    InsanelyMac Legend

  • Donators
  • 508 posts
  • Gender:Male
  • Location:Boston, MA
@ MasterChief

I know you're in the middle of something great, but i wanted to verify something when you get a sec.

In your EC device this is the part that lets your samsumg DVD, specifically on PRT2, to allow sleep:
Field (ECOR, ByteAcc, Lock, Preserve)
					{
						CDIN,   1, Offset (0x02) 
					}

					Method (_QCD, 0, NotSerialized) // Event CD.
					{
						If (CDIN)
						{
							Notify (\_SB.PCI0.SATA.PRT2, 0x81)
						}
						Else
						{
							Notify (\_SB.PCI0.SATA.PRT2, 0x82)
						}
					}

So anyone who wants to use this patch needs to make sure they have their Samsung DVD drive on the corresponding port.

Makes me wish I hadn't bought a set pair of Sony DVD burners. I may resurrect my Samsungs just to try it out.

#327
Master Chief

Master Chief

    Just Chief

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,176 posts
  • Gender:Male

@ MasterChief

I know you're in the middle of something great, but i wanted to verify something when you get a sec.

In your EC device this is the part that lets your samsumg DVD, specifically on PRT2, to allow sleep:

... (see post #328)

So anyone who wants to use this patch needs to make sure they have their Samsung DVD drive on the corresponding port.

Makes me wish I hadn't bought a set pair of Sony DVD burners. I may resurrect my Samsungs just to try it out.

This only works with an additional kext which I haven't even shared – you may remove it for now if you want.

#328
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,052 posts
  • Gender:Male
  • Location:UK

The cleanest OSX restart kext is now available in post #3 €“ see attachments (ZIP file includes a 32 and 64 bit version).

Update: A new ZIP file with a combo (32/64 bit) kext is now also available!

Wow. You've been busy (again). I look forward to trying this out. Good work Master Chief ;)

#329
thiagomorales

thiagomorales

    Think different...

  • Members
  • PipPipPip
  • 121 posts
  • Gender:Male
  • Location:Brazil - Rio de Janeiro

The cleanest OSX restart kext is now available in post #3 �" see attachments (ZIP file includes a 32 and 64 bit version).

Update: A new ZIP file with a combo (32/64 bit) kext is now also available!

kextstat output:
120 0 0x554b2000 0x2000 0x1000 com.apple.osx.restart (1.0) <4 3>

ioreg output:

+-o OSX_Restart_Handler <class OSX_Restart_Handler, id 0x1000004b5, !registered, !matched, active, busy 0, retain 4>
{
"IOClass" = "OSX_Restart_Handler"
"IOMatchCategory" = "OSX_Restart_Handler"
"IOProbeScore" = 18446744073709550616
"IOProviderClass" = "IOPlatformExpertDevice"
"CFBundleIdentifier" = "com.apple.osx.restart"
"IOResourceMatch" = "ACPI"
}

And no, this is not a simple renaming action, and no there is no shutdown code in it. Just a new restart handler, and yes one without kdreboot ;)


Thank you for your Great Work!
Regards

#330
VCH888

VCH888

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 585 posts

kdawg, no problem

HDEF part in DSDT

Device (HDEF) // Patched for audio.            {                Name (_ADR, 0x001B0000)                                                // Newly added.                OperationRegion (HDCS, PCI_Config, 0x54, 0x04) // Power Management Control/Status (ICH9R-3169722.pdf / 17.1.19 / page 664).                Field (HDCS, DWordAcc, NoLock, Preserve)                {                        ,   15,                     PMES,   1                }                Method (_PRW, 0, NotSerialized)                {                    Return (Package (0x02)                    {                        0x0D,                         0x06                    })                }                // Newly added Method.                   Method (_DSM, 4, NotSerialized)                {                    Store (Package (0x0A)                        {                            "built-in",                            Buffer (One)                            {                                0x01                            },                            "codec-id",                            Buffer (0x04)                            {                                0x88, 0x08, 0xEC, 0x10                            },                            "layout-id",                            Buffer (0x04)                            {                                0x78, 0x03, 0x00, 0x00                            },                            "device-type",                            Buffer (0x0F)                            {                                "Realtek ALC888"                            },                            "PinConfigurations",                            Buffer (0x28)                            {                                /* 0000 */    0x10, 0x90, 0xA1, 0x01, 0x20, 0x90, 0xA1, 0x02,                                /* 0008 */    0x80, 0x30, 0x81, 0x01, 0x90, 0x40, 0x21, 0x02,                                /* 0010 */    0x30, 0x40, 0x11, 0x01, 0x40, 0x40, 0x01, 0x01,                                /* 0018 */    0x50, 0x60, 0x01, 0x01, 0x60, 0x20, 0x01, 0x01,                                /* 0020 */    0x70, 0x61, 0x4B, 0x01, 0xA0, 0x01, 0xCB, 0x01                            }                        }, Local0)                    MCDP (Arg2, RefOf (Local0))                    Return (Local0)                }            }


LegacyHDA.kext part
<key>PCIVendorDeviceID</key> <- Read from original AppleHDA.kext  
<integer>282987200</integer>
</dict>
<dict>
<key>CodecAddressMask</key>
<data>
AQAAAA==
</data>
<key>LayoutID</key>
<integer>0</integer>
<key>PCIVendorDeviceID</key> <- Read from original AppleHDA.kext
<integer>282987200</integer>
</dict>
</array>
_linenums:0'><key>CodecAddressFilterArray</key> <array> <dict> <key>CodecAddressMask</key> <data> AQAAAA== </data> <key>LayoutID</key> <integer>16392</integer> <strong class='bbc'><key>PCIVendorDeviceID</key> <- </strong>Read from original AppleHDA.kext <strong class='bbc'> <integer>282987200</integer></strong> </dict> <dict> <key>CodecAddressMask</key> <data> AQAAAA== </data> <key>LayoutID</key> <integer>0</integer> <strong class='bbc'> <key>PCIVendorDeviceID</key> </strong><strong class='bbc'><- </strong>Read from original AppleHDA.kext <strong class='bbc'> <integer>282987200</integer></strong> </dict> </array>

Here is my LegacyHDA.kext. Those is however only for ACL888.


May I be off the topic?

For using any legacy/dummy HDA.kext with 1.7.9a4 AppleHDA.kext (10.6.2)

Just remove BuiltInHDA key from info.plist of any legacy/dummy kext if having it.[/color]
Also, we don't need such LegacyHDAController.kext for Snow.

#331
barnum

barnum

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 127 posts
  • Gender:Male
  • Location:france
Hi parcival39

 <key>PCIVendorDeviceID</key> <- Read from original AppleHDA.kext  
<integer>282987200</integer> _linenums:0'>Device (HDEF) // Patched for audio. <strong class='bbc'> <key>PCIVendorDeviceID</key> </strong><strong class='bbc'><- </strong>Read from original AppleHDA.kext <strong class='bbc'> <integer>282987200</integer></strong>


how do you determine the "PCIVendorDeviceID" (ho I can find it for my sound card ? lspci, ioreg ...)

Barnum

#332
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,052 posts
  • Gender:Male
  • Location:UK

Wow. You've been busy (again). I look forward to trying this out. Good work Master Chief :)

OSXRestart confirmed as working on my system.

#333
Master Chief

Master Chief

    Just Chief

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,176 posts
  • Gender:Male

OSXRestart confirmed as working on my system.

Great! And is this with OS X 10.6.2? That would be even better because they seem to have changed things once again.

Thank you for the confirmation. I must admit that I was a little worried, since my kext is limited to 'fixing' restart only, no shutdown code included. Thanks again.

#334
DB1

DB1

    InsanelyMac Sage

  • Donators
  • 407 posts

Great! And is this with OS X 10.6.2? That would be even better because they seem to have changed things once again.

Thank you for the confirmation. I must admit that I was a little worried, since my kext is limited to 'fixing' restart only, no shutdown code included. Thanks again.


New kext working on P5K VM 10.6.2 with v3.1 dsdt - Thanks

BTW finally got some sleep functionality including keyboard mouse sleep & wake (for some). Scheduled and auto not working yet. Also notice restart failure with any restart kext variant following a sleep. Is the Pro misbehaving the same?

#335
Master Chief

Master Chief

    Just Chief

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,176 posts
  • Gender:Male

New kext working on P5K VM 10.6.2 with v3.1 dsdt - Thanks

BTW finally got some sleep functionality including keyboard mouse sleep & wake (for some). Scheduled and auto not working yet. Also notice restart failure with any restart kext variant following a sleep. Is the Pro misbehaving the same?

No. Sleep works, but not auto sleep, and so does restart afterwards (I just verified it once again).

What other kexts are you using? And what boot file? I ask this because leaks can prevent sleep/shutdown et all from working. Even on a real Mac!

#336
DB1

DB1

    InsanelyMac Sage

  • Donators
  • 407 posts

No. Sleep works, but not auto sleep, and so does restart afterwards (I just verified it once again).

What other kexts are you using? And what boot file? I ask this because leaks can prevent sleep/shutdown et all from working. Even on a real Mac!


Boot Loader Chameleon 2.0 RC2 r640 with netkas 10.5 boot file.

Kexts: JMicronATA, OSXreboot, VoodooMonitor, fakeSMC(oldnapalm version), PlatformUUID, Yukon2. HDA. AHCIDiskDriver

Current set up posted here: P5K VM v3.1 & Sleep solution

#337
Master Chief

Master Chief

    Just Chief

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,176 posts
  • Gender:Male

Boot Loader Chameleon 2.0 RC2 r640 with netkas 10.5 boot file.

Kexts: JMicronATA, OSXreboot, VoodooMonitor, fakeSMC(oldnapalm version), PlatformUUID, Yukon2. HDA. AHCIDiskDriver

Current set up posted here: P5K VM v3.1 & Sleep solution

So your PC insomnia was about a jumper. I quickly checked the P5GC-MX/1333 manual (page 1-24) because I remember getting a PM from someone with the same problem, and I was right. This might in fact help people who can't solve their PC sleep problems. That is if they have such jumper. Good catch!

And you still need PlatformUUID.kext with Chameleon?

I just ran into an issue myself where shutdown no longer worked. Removing the new Sitecom CN-516 USB Bluetooth dongle from my Apple keyboard... and then it's all ok again. Apparently another bad Sitecom firmware (HCI) problem. Or not?

Update: Shutdown works when I insert the mini USB dongle in a normal USB port.

#338
DB1

DB1

    InsanelyMac Sage

  • Donators
  • 407 posts

So your PC insomnia was about a jumper. I quickly checked the P5GC-MX/1333 manual (page 1-24) because I remember getting a PM from someone with the same problem, and I was right. This might in fact help people who can't solve their PC sleep problems. That is if they have such jumper. Good catch!

And you still need PlatformUUID.kext with Chameleon?

I just ran into an issue myself where shutdown no longer worked. Removing the new Sitecom CN-516 USB Bluetooth dongle from my Apple keyboard... and then it's all ok again. Apparently another bad Sitecom firmware (HCI) problem.


Never bothered to take out platformUUID - if it ain't broke - will try taking out you never know with this game.

What boot loader you using? Maybe thats the problem!

Have the apple recommended Belkin dongle which allows wake on mouse but not the Ali keyboard for some strange reason. Not sure yet if this a 10.6.2 problem or associated with the general sleep problem. Hope I can solve the Magic mouse being delivered tomorrow.

keep up the great work.

#339
Master Chief

Master Chief

    Just Chief

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,176 posts
  • Gender:Male

...
What boot loader you using? Maybe thats the problem!

Some old boot file – not using my hack now so I'll attach it shortly.

Have the apple recommended Belkin dongle which allows wake on mouse but not the Ali keyboard for some strange reason. Not sure yet if this a 10.6.2 problem or associated with the general sleep problem. Hope I can solve the Magic mouse being delivered tomorrow.

keep up the great work.

Thanks, and what Belkin dongle is that? Link type info?

I have to wait another five days for my new mouse. Out of stock. Giving me some time to take care of that silly Bluetooth dongle issue, hopefully that is.

p.s. Can you please attach a IORegistryExplorer dump for me (looking for missing properties)?

Attached Files

  • Attached File  boot.zip   36.89KB   8 downloads


#340
blackosx

blackosx

    InsanelyMacaholic

  • Coders
  • 3,052 posts
  • Gender:Male
  • Location:UK

Great! And is this with OS X 10.6.2? That would be even better because they seem to have changed things once again.

Thank you for the confirmation. I must admit that I was a little worried, since my kext is limited to 'fixing' restart only, no shutdown code included. Thanks again.

Yes, that's using 10.6.2. But I only checked restart and was confirming that worked.

Only now as you've mentioned shutdown I have done some trials and have to report the OS shuts down but the machine doesn't power off. This is the same with the kernel in both 32-bit & 64-bit mode.

I am using the follow kexts in E/E
Disabler (Just AppleUpstreamUserClient for mouse lag)
fakesmc (oldnapalm version)
LegacyHDA (amended as per tmongkol's suggestion)
PlatformUUID
OSXRestart
VoodooMonitor.

My machine is running as a MacPro3,1 and if it helps I have attached my current work in progress DSDT that I am running.

Thanks

Attached Files







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy