View Single Post
 
Old 05-26-2010, 10:54 AM
Dreamwatcher Dreamwatcher is offline
Cheetah
 
Join Date: May 2010
Posts: 1
1. DSDT insert to HDEF section
Code:
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x0A)
                        {
                            "built-in", 
                            Buffer (One)
                            {
                                0x00
                            }, 

                            "codec-id", 
                            Buffer (0x04)
                            {
                                0x62, 0x06, 0xEC, 0x10
                            }, 

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

                            "device-type", 
                            Buffer (0x0F)
                            {
                                "Realtek ALC662"
                            }, 

                            "PinConfigurations", 
                            Buffer (Zero) {}
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
2. install LegacyALC662.kext to /Extra/Extensions

10.6.3 is require below.

3. patch AppleHDA.kext of ALC662 codec-id(0x10ec 0x0662)
sudo perl -pi -e 's|\x85\x08\xec\x10|\x62\x06\xec\x10|g' /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA
Attached Files
File Type: zip LegacyALC662.kext.zip (8.2 KB, 351 views)
Reply With Quote