InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   10.X (http://infinitemac.com/forumdisplay.php?f=36)
-   -   Asus K50IN (http://infinitemac.com/showthread.php?t=4409)

pboda 01-03-2010 12:36 AM

Quote:

Originally Posted by drade (Post 42280)
hi
In your IOregistry the section ATA what value IOInterruptSpecifieres? 8? - need 9
HpetDevice.kext in info.plist irq number 12? you will change on 21, or vice versa.

Sorry for my English.

problems solved thanks :)

drade 01-03-2010 08:18 PM

1 Attachment(s)
Quote:

Originally Posted by Buhgalter (Post 42167)
Try DSDT by Rus for K50IN which I have attached. It fixes that problem. Also the system works without HpetDevice.Kext, HDAEnabler.kext with this DSDT.

Rus has made 2 options:
1 - DSDT fix for dvd, hpet and sound - With this you must remove HpetDevice.Kext, HDAEnabler.kext
2 - DSDT fix for dvd, hpet and audio + video - With this you must remove HpetDevice.Kext, HDAEnabler.kext and turn off graphic enabler in the Chameleon.

UPDATE DSDT for Asus K50in
1 - DSDT fix for dvd,hpet,audio, and enabler smbus - use 32,64 bit (NVEnabler.kext)
2 - DSDT fix for dvd,hpet,audio,video and enabler smbus - use only 64 bit
Code:

               
/*Fix hpet*/
Device (HPET)
                {
                    Name (_HID, EisaId ("PNP0103"))
                    Name (ATT3, ResourceTemplate ()
                    {
                        IRQNoFlags ()
                            {3}  /* -irq 0 conflict Device (PIC) - (correctly it does not work DVD rom)*/
                        IRQNoFlags ()
                            {8}
                        Memory32Fixed (ReadWrite,
                            0xFED00000,        // Address Base
                            0x00000400,        // Address Length
                            )
                    })
                    Name (ATT4, ResourceTemplate ()
                    {
                    })
                    Method (_STA, 0, NotSerialized)
                    {
                        Return (0x0F)
                    }

                    Method (_CRS, 0, NotSerialized)
                    {
                        Return (ATT3)
                    }
                }
/*the correcting*/
                Device (TMR)
                {
                    Name (_HID, EisaId ("PNP0100"))
                    Name (_CRS, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x0040,            // Range Minimum
                            0x0040,            // Range Maximum
                            0x00,              // Alignment
                            0x04,              // Length
                            )
                    })
                }

                Device (RTC0)
                {
                    Name (_HID, EisaId ("PNP0B00"))
                    Name (_CRS, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x0070,            // Range Minimum
                            0x0070,            // Range Maximum
                            0x00,              // Alignment
                            0x02,              // Length
                            )
                    })
                }
/*Enabler SmBus*/
 Device (BUS0)
                {
                    Name (_CID, "smbus")
                    Name (_ADR, Zero)
                    Device (DVL0)
                    {
                        Name (_ADR, 0x57)
                        Name (_CID, "diagsvault")
                    }
                }
/*Enabler Audio Realtec ALC 662*/
            Device (HDAC)
            {
                Name (_ADR, 0x00080000)
                Method (_PS0, 0, NotSerialized)
                {
                    Return (GPRW (0x15, 0x04))
                }
            }

            Device (HDEF)
            {
                Name (_ADR, 0x00080000)
                Name (_SUN, One)
                Name (_PRW, Package (0x02)
                {
                    0x05,
                    0x04
                })
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x0C)
                        {
                            "codec-id",
                            Buffer (0x04)
                            {
                                0x62, 0x06, 0xEC, 0x10
                            },

                            "built-in",
                            Buffer (One)
                            {
                                0x00
                            },

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

                            "model",
                            Buffer (0x10)
                            {
                                "Realtek ALC662"
                            },

                            "device_type",
                            Buffer (0x06)
                            {
                                "Sound"
                            },

                            "PinConfigurations",
                            Buffer (One)
                            {
                                0x00
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }
/*Enabler Video G102M*/
                    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, 0x01, 0x00,
                                    /* 0008 */    0x0E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0A,
                                    /* 0010 */    0x00, 0x00, 0x00, 0x00
                                },

                                "NVPM",
                                Buffer (0x20)
                                {
                                    /* 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 (0x08)
                                {
                                    "Display"
                                },

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

                                "rom-revision",
                                Buffer (0x25)
                                {
                                    "nVidia GeForce G102M OpenGL Engine"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
/*Method (DTGP)*/   
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)
    }


pboda 01-04-2010 12:51 AM

tryed those dsdt files i lose keyboard and mouse funktion whith them best regards pboda

drade 01-04-2010 09:39 AM

Quote:

Originally Posted by pboda (Post 42333)
tryed those dsdt files i lose keyboard and mouse funktion whith them best regards pboda

Your need the correcting DSDT for Asus K61IC.
DSDT asus k 50in the large difference Asus K61IC.

pboda 01-04-2010 08:34 PM

i sucessefully manage to get the audio part and hpet part ok but smbus and video fix i cant manage to get into my dsdt without errors. but it runs good whith the parts i got in still got 42 warnings when i compile it only problems i still have is it when the computer sleeps for more then one hour keyboard and mouse freezes so i have to reset it my problem is that im pretty new to mac and coding isnt what i am is best on :) so if anayone here is able to clean up my dsdt files i would be very happy best regards pboda

shawn0694 01-06-2010 08:35 AM

Hello all. First I would like to say thank you to all of you here it has taken me great amounts of time but this noob finally got snow leopard 10.6.2 up and running dual boot with windows 7.
Went and bought usb N wireless that works great and doesn't bother me I will use until we find a kext for the built in wireless. I do not have sound working yet and also graphics work well but no QE/CI and none of my video programs will run those two things I am working on now. Have tried chameleon enabler, NVinject _64, as well as NVEnabler none have given me full graphics support any help would be appreciated. I am running Asus K50in-RBCBRO5
geforce 102m graphics card. thanks again to all

shawn0694 01-07-2010 07:07 AM

Sound is now working as well. Thanks again.
Now i have a weird problem. As long as my usb HDD is plugged in I can boot into any partition i want but when i unplug my external it says boot error and boots straight into windows 7 I have tried reinstalling chameleon to no avail. I am sure this is a simple fix but i cannot seem to figure it out any help would be appreciated. THX

flip360 01-07-2010 08:35 PM

what disk did you install chameleon onto?

this first springs to mind :)

shawn0694 01-08-2010 07:19 AM

first chameleon was installed to usb hdd in order to install then when that was working properly i installed to internal hdd in the same process.

Disk0s1 = boot disk
disk0s2 = windows 7
disk0s3 = Snowing ( my SL drive)

I used the program from beginning posts to add chameleon and Flip360' s Extra folder to my SL drive which worked for the usb HDD it just is not working properly for my internal HDD

kokozedman 01-08-2010 08:19 AM

I also don't get any Keyboard/Touchpad with the patched DSDTs with Audio, Video and HPET (and SMBus).
So, I reverted to the older one that I have used.

I tried to see the difference between mine and the patched one, but it is too numerous, and I can't locate the patch for the DVD drive.