InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 02-09-2010, 12:46 AM
kjun5huo kjun5huo is offline
Puma
 
Join Date: Jul 2009
Posts: 16
Quote:
Originally Posted by walterav View Post
I am using the 1.1.7 version with the reboot fix "FADT/OsxRestart.kext" built in. I'm using 10.5.8 btw because of snow leopard incompatible ATI hd2600xt.

No kernel panics here, thats around 2 years ago, when using IDE controller Jmicron.
Thank you for your answer. So, you don't use OsXRestart.kext in E/E anymore ? Where can I get the information about 'the reboot fix "FADT/OsxRestart.kext" built in' ?
Reply With Quote
  #2  
Old 02-09-2010, 01:02 AM
walterav walterav is offline
Jaguar
 
Join Date: Aug 2009
Posts: 45
Quote:
Originally Posted by kjun5huo View Post
Thank you for your answer. So, you don't use OsXRestart.kext in E/E anymore ? Where can I get the information about 'the reboot fix "FADT/OsxRestart.kext" built in' ?
http://www.efixusers.com/showthread.php?t=644

It was already there since 1.1.x

What extra kexts are you also using?
I'm only using LegacyYukon2.kext "based on 88e8053 not 55" and 1988b.kext in /S/L/E , and fakesmc in /E/E.

Last edited by walterav; 02-09-2010 at 01:04 AM.
Reply With Quote
  #3  
Old 03-03-2010, 03:40 PM
Prox85 Prox85 is offline
Cheetah
 
Join Date: Mar 2010
Posts: 2
Quote:
Originally Posted by walterav View Post

So Restart after sleep/wake, sleep and wake and shutdown and hibernate all work!
hello can u post your DSDT and zipped extra folder?

thank you...
Reply With Quote
  #4  
Old 03-05-2010, 02:29 PM
walterav walterav is offline
Jaguar
 
Join Date: Aug 2009
Posts: 45
Quote:
Originally Posted by Prox85 View Post
hello can u post your DSDT and zipped extra folder?

thank you...
DSDT is configuration specific, it depends on amount of RAM and type of CPU used. I may post a list of all patches I used in the near future, the only thing that may be added is speedstepping and therefor a proper cpu temperature... but I haven't botherd that much with it. It may also be possible to get full audio and network detection in it...

The E/E/ only contains 'fakesmc' the E/ folder only contains DSDT.aml and com.apple.Boot.plist. The S/L/E/ folder only contains the 2 injectors for audio and lan.

Can you post your BIOS settings?
Reply With Quote
  #5  
Old 03-19-2010, 07:39 PM
walterav walterav is offline
Jaguar
 
Join Date: Aug 2009
Posts: 45
Quote:
Originally Posted by walterav View Post
I may post a list of all patches I used in the near future
This is just a summary of several dsdt fixes working for this board. I'm not the one who invented any of these patches, but I don't know the names of all contributors anymore... See it as a guide, and notice the //- or //+.

Code:
### several DSDT patches for optimizing p5k-e-wifi/ap bios 1202

###fix for adding fixes
Method (NPTS, 1, NotSerialized)
            {
            }

//+     Method (DTGP, 5, NotSerialized)
            {
                If (LEqual (Arg0, Buffer (0x10)
                        {
                            /* 0000 */    0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44, 
                            /* 0008 */    0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B
                        }))
                {
                    If (LEqual (Arg1, One))
                    {
                        If (LEqual (Arg2, Zero))
                        {
                            Store (Buffer (One)
                                {
                                    0x03
                                }, Arg4)
                            Return (One)
                        }

                        If (LEqual (Arg2, One))
                        {
                            Return (One)
                        }
                    }
                }

                Store (Buffer (One)
                    {
                        0x00
                    }, Arg4)
                Return (Zero)
//+            }

Method (NWAK, 1, NotSerialized)
            {
            }

###shutdown fix

Device (SBRG)
{
    Name (_ADR, 0x001F0000)
    //+ OperationRegion (LPC0, PCI_Config, 0xA0, 0x54)
    //+ Field (LPC0, AnyAcc, NoLock, Preserve)
    //+ {
    //+        ,   10, 
    //+     XPME,   1, 
    //+             Offset (0x04), 
    //+     AG3E,   1, 
    //+             Offset (0x50), 
    //+     RCBA,   32
    //+ }

    Device (IELK)

Method (_PTS, 1, NotSerialized)
    {
        //+ If (LEqual (Arg0, 0x05))
        //+ {
        //+     Store (One, \_SB.PCI0.SBRG.AG3E)
        //+ }
        //+ Else
        //+ {
            Store (Arg0, DBG8)
            PTS (Arg0)
            Store (Zero, Index (WAKP, Zero))
            Store (Zero, Index (WAKP, One))
            If (LAnd (LEqual (Arg0, 0x04), LEqual (OSFL (), 0x02)))
            {
                Sleep (0x0BB8)
            }

            Store (ASSB, WSSB)
            Store (AOTB, WOTB)
            Store (AAXB, WAXB)
            Store (Arg0, ASSB)
            Store (OSFL (), AOTB)
            Store (Zero, AAXB)
        //+ }
    }

### AppleIntelCPUPowerManagment.kext kernelpanic fix, hpet / rtc / tmr
#not that good for quadcores?

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}
                    })

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

Device (RTC0)
                {
                    Name (_HID, EisaId ("PNP0B00"))
                    Name (_CRS, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x0070,             // Range Minimum
                            0x0070,             // Range Maximum
                            0x00,               // Alignment
                            0x02,               // Length
                            )
                        //- IRQNoFlags ()
                        //-    {8}
                    })
                }

Device (HPET)
                {
                    Name (_HID, EisaId ("PNP0103"))
                    Name (CRS, ResourceTemplate ()
                    {
                        //+ IRQNoFlags ()
                        //+     {0}
                        //+ IRQNoFlags ()
                        //+     {8}
                        Memory32Fixed (ReadOnly,
                            0xFED00000,         // Address Base
                            0x00000400,         // Address Length
                            _Y09)
                    })

### internal SATA ports shown as internal Intel ESB2 sata ports

Device (SATA)
            {
                Name (_ADR, 0x001F0002)
                Name (^NATA, Package (0x01)
                {
                    0x001F0002
                })
                Name (\FZTF, Buffer (0x07)
                {
                    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5
                })
                Name (REGF, One)
                //+ 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)
                //+ }

        Method (_REG, 2, NotSerialized)

### usb ports show as internal usbport for fixing sleep, a lot of work

Device (EUSB)
            {
                Name (_ADR, 0x001D0007)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x0D, 0x04))
                }

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

Device (USBE)
            {
                Name (_ADR, 0x001A0007)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x0D, 0x04))
                }

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

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

          //+   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)
          //+   }

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

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

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

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

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

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

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

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

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

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

### Network adapter will be shown as onboard fixes UUID/timemachine etc

Device (P0P9)
            {
                Name (_ADR, 0x001C0005)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x09, 0x04))
                }

                Method (_PRT, 0, NotSerialized)
                {
                    If (PICM)
                    {
                        Return (AR09)
                    }

                    Return (PR09)
                }

                //+ Device (GIGE)
                {
                    Name (_ADR, Zero)
                    OperationRegion (GPIO, SystemIO, 0x0800, 0x06)
                    Field (GPIO, ByteAcc, NoLock, Preserve)
                    {
                        GO01,   8, 
                        GO02,   8, 
                        GO03,   8, 
                        GO04,   8, 
                        GO05,   8, 
                        GP9,    1
                    }

                    Name (_PRW, Package (0x02)
                    {
                        0x09, 
                        0x03
                    })
                    Method (EWOL, 1, NotSerialized)
                    {
                        If (LEqual (Arg0, One))
                        {
                            Or (GP9, One, GP9)
                        }
                        Else
                        {
                            And (GP9, Zero, GP9)
                        }

                        If (LEqual (Arg0, GP9))
                        {
                            Return (Zero)
                        }
                        Else
                        {
                            Return (One)
                        }
                    }
                //+ }
            }

Device (GBEC)

### azalia/hdef AppleHDA compatible inject

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

    //+ Device (HDEF)
            {
                Name (_ADR, 0x001B0000)
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x08)
                        {
                            "codec-id", 
                            Buffer (0x04)
                            {
                                0x9B, 0x82, 0x43, 0x10
                            }, 

                            "layout-id", 
                            Buffer (0x04)
                            {
                                0x0C, 0x00, 0x00, 0x00
                            }, 

                            "device-type", 
                            Buffer (0x17)
                            {
                                "Analog Devices AD1988B"
                            }, 

                            "PinConfigurations", 
                            Buffer (0x20)
                            {
                                /* 0000 */    0x30, 0x40, 0x21, 0x01, 0x10, 0x40, 0x11, 0x01, 
                                /* 0008 */    0x40, 0x90, 0xA1, 0x01, 0x50, 0x30, 0x81, 0x01, 
                                /* 0010 */    0x60, 0x10, 0x01, 0x01, 0x20, 0x90, 0xA1, 0x01, 
                                /* 0018 */    0xF0, 0x11, 0x45, 0x01, 0x70, 0x60, 0x01, 0x01
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            //+ }
        }

Scope (\_GPE)

### injecting ATI videocard with DSDT
#use Wormy/x1600 Megalodon/2600/3870 Motmot/4870
            Device (P0P2)
            {
                Name (_ADR, 0x00010000)
    //+    Device (GFX)
                {
                    Name (_ADR, Zero)
                    Name (_SUN, One)
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x16)
                            {
                                "@0,compatible", 
                                Buffer (0x0E)
                                {
                                    "ATY,Megalodon"
                                }, 

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

                                "@0,display-connect-flags", 
                                Buffer (0x02)
                                {
                                    0x00, 0x04
                                }, 

                                "@0,name", 
                                Buffer (0x0E)
                                {
                                    "ATY,Display_A"
                                }, 

                                "@1,compatible", 
                                Buffer (0x0E)
                                {
                                    "ATY,Megalodon"
                                }, 

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

                                "@1,display-connect-flags", 
                                Buffer (0x02)
                                {
                                    0x00, 0x04
                                }, 

                                "@1,name", 
                                Buffer (0x0E)
                                {
                                    "ATY,Display_B"
                                }, 

                                "device_type", 
                                Buffer (0x14)
                                {
                                    "ATY,MegalodonParent"
                                }, 

                                "model", 
                                Buffer (0x19)
                                {
                                    "ATI Radeon HD2600 Series"
                                }, 

                                "rom-revision", 
                                Buffer (0x06)
                                {
                                    "3169a"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
    //+    }

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

                Method (_PRT, 0, NotSerialized)
                {
                    If (PICM)
                    {
                        Return (AR02)
                    }

                    Return (PR02)
                }
            }

### Snow Leopard extra sleep fix?
Return (WAKP)

//+    Return (Package (0x02)
    {
    Zero, 
    Zero
//+    })
Reply With Quote
  #6  
Old 02-09-2010, 12:20 AM
bingaling bingaling is offline
Cheetah
 
Join Date: Oct 2009
Posts: 4
i had 10.6 working perfectly. then i updated to 10.6.1, again perfect. but every time i try to update to 10.6.2 it panics immediately...

i'm in 64bit mode by default. DSDT patched but couldn't manage to recompile the DSDT. I'm using evoreboot.kext instead of osxrestart.kext coz it shuts down completely... and voodooHDA... any ideas on what's making it panic?
i have leopard on a smaller partition so can edit ad lib.

another minor issue is that in the "Hardware overview" it says i have a Quad-Core Intel Xeon 3 GHz, when in fact it's a Core2 Quad Q6600... although that's purely cosmetic, i would like to fix it eventually


-------------------
P5K-E Wifi/AP
Quad core Q6600
6GB 800MHz RAM
GeForce 9400 GT
Chameleon-2.0-RC4-r684
Reply With Quote
  #7  
Old 02-09-2010, 12:48 AM
walterav walterav is offline
Jaguar
 
Join Date: Aug 2009
Posts: 45
Quote:
Originally Posted by bingaling View Post
DSDT patched but couldn't manage to recompile the DSDT. I'm using evoreboot.kext instead of osxrestart.kext coz it shuts down completely... and voodooHDA... any ideas on what's making it panic?
Why use VoodooHDA? is DSDT + legacy kext not working for you, maybe thats the kernelpanic cause?

Download the iasl binary file, copy the DSDT.dat / DSDT.aml into a folder with the iasl. Go to terminal and type.
./iasl -d DSDT.aml #it will make a DSDT.dsl
#textedit/textwrangler / patch what you want
mv DSDT.aml DSDT.aml.good
./iasl -ta DSDT.dsl #recreates DSDT.aml
Reply With Quote
  #8  
Old 02-09-2010, 01:19 AM
fishcow fishcow is offline
Puma
 
Join Date: Aug 2009
Posts: 25
Quote:
Originally Posted by bingaling View Post
i had 10.6 working perfectly. then i updated to 10.6.1, again perfect. but every time i try to update to 10.6.2 it panics immediately...

i'm in 64bit mode by default. DSDT patched but couldn't manage to recompile the DSDT. I'm using evoreboot.kext instead of osxrestart.kext coz it shuts down completely... and voodooHDA... any ideas on what's making it panic?
i have leopard on a smaller partition so can edit ad lib.

another minor issue is that in the "Hardware overview" it says i have a Quad-Core Intel Xeon 3 GHz, when in fact it's a Core2 Quad Q6600... although that's purely cosmetic, i would like to fix it eventually
Hi,
I'm running 10.6.2 (updated from Software Update) with no issues.
I'm yet to do the dsdt shutdown fix - but for the moment - happy to stay with EvOreboot, OSXRestart and SleepEnabler combo which works fine.

So I have the following Extensions in my Extra/Extensions/ folder:
Disabler.kext ---> Quicktime fix
EvOreboot
Fakesmc
NullCPUPowerManagement
OSXRestart
PlatformUUID
SleepEnabler

The only Extensions added to the regular /S/L/E are:
AD1988b.fix.kext -----> for audio with dsdt patches
IONetworkingFamily.ket ----> edited for yukon

I use a smbios.plist in Extra folder to report proper RAM, CPU and fake MacPro 3,1
The only caveat being if you decide to OverClock - you have to edit the info again.

I don't use any IDE drives - all SATA
Hope that helps

Last edited by fishcow; 02-09-2010 at 01:26 AM.
Reply With Quote
  #9  
Old 02-09-2010, 01:43 AM
walterav walterav is offline
Jaguar
 
Join Date: Aug 2009
Posts: 45
Quote:
Originally Posted by fishcow View Post
So I have the following Extensions in my Extra/Extensions/ folder:
Disabler.kext ---> Quicktime fix
EvOreboot
Fakesmc
NullCPUPowerManagement
OSXRestart
PlatformUUID
SleepEnabler
With DSDT fixes you have to get rid of these 3:
EvOreboot OSXRestart NullCPUPowerManagement

Don't know about PlatformUUID, but is Sleepenabler really necessary, Id did not need in when I stopped using NullCPUPowerManagment? Might try snow leo also these days without QE/CI... to see if it requires extras.

Are you sure about Disabler.kext being only for AppleUpstreamClient.kext, there may be more kexts in the plists being blocked!

Last edited by walterav; 03-10-2010 at 08:20 PM.
Reply With Quote
  #10  
Old 02-09-2010, 01:51 AM
fishcow fishcow is offline
Puma
 
Join Date: Aug 2009
Posts: 25
Quote:
Originally Posted by walterav View Post

Are you sure about Disabler.kext being only for AppleUpstreamClient.kext, there may be more kexts in the plists being blocked!
Mine is edited just for QT fix (AppleUpstreamClient.kext) - no other blocked extensions

As for all the other stuff I have in E/E :
I really don't know anymore because it's been a LONG time since I had to do all this stuff.
Well, at least since 10.6.2 and deciding to go 64 bit.
I still have all this stuff because I haven't done the dsdt shutdown patch yet.

P5K-E Wifi/AP
Q6600
9800GT

Last edited by fishcow; 02-09-2010 at 01:58 AM.
Reply With Quote
Reply