Thread: Asus K50IN
View Single Post
 
Old 01-03-2010, 08:18 PM
drade drade is offline
Cheetah
 
Join Date: Nov 2009
Posts: 6
Quote:
Originally Posted by Buhgalter View Post
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)
    }
Attached Files
File Type: zip DSDT - ASUS K50IN.zip (45.2 KB, 162 views)

Last edited by drade; 01-04-2010 at 10:50 AM.
Reply With Quote