Jump to content

ALC889a on Gigabyte GA-P35-DS3R Input Microphone Working - Snow Leopard


lithiumion
 Share

3 posts in this topic

Recommended Posts

Hi

 

This is my fixed DSDT.aml + AppleHDA & HDAEnabler Kexts to get your GA-P35-DS3R's ALC889a fully working.

 

It took me a while to figure out where I was going wrong. I used to generate and edit my dsdt.dsl and recompile it, but I never added the right code to fix the mic nor did I replace the AppleHDA.kext with the correct one after that.

 

The correct code I found in the "How to Patch DSDT" folder thats included in "SL_Pack_v4.zip"

 

 

Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x0A)
                       {

		    "built-in",
		    Buffer (0x01)
		    {
			0x01
		    },

                           "codec-id", 
                           Buffer (0x04)
                           {
                               0x85, 0x08, 0xEC, 0x10    
                           }, 

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

                           "device-type", 
                           Buffer (0x10)
                           {
                               "Realtek ALC889A"     
                           }, 

                           "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)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }

 

I used to get 14 compilation errors every time I tried to recompile my dsdt.dsl. That was due to an extra "}" in the "How to patch DSDT with LAN and HDEF functions.pdf" file. It's a typo but I finally figured it out.

 

Check the attached picture to see where it is.

 

I have nVidia 9400GT/1GB, you will need to decompile and edit the DSDT.aml file to suite your card.

To edit yout card's VRAM total size edit the part where it says:

 

 "VRAM,totalsize",
                               Buffer (0x04)
                               {
                                   0x00, 0x00, 0x00, 0x40
                               },

 

For a card with 128MB of VRAM use 0x10, for 512MB of VRAM use 0x20 etc. For a 512MB card it should look like this:

 

 "VRAM,totalsize",
                               Buffer (0x04)
                               {
                                   0x00, 0x00, 0x00, 0x20
                               },

 

 

Use DSDTSE to edit the file instead of TextEdit so you wont get compilation errors.

 

 

PS: I force the system to boot into 32Bit Kernel by editing com.apple.Boot.plist to look like this:

 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Kernel</key>
<string>mach_kernel</string>
<key>Kernel Flags</key>
<string>arch=i386 -x32</string>
</dict>
</plist>

 

 

All thanks goes to the guys who did the hard work, THe KiNG, Taruga, stickpin, Kabyl, karaakeha1, MadTux, tmongkol and the rest. Thank You

GA_P35_DS3R_Input_Fix.zip

post-71630-1256104276_thumb.png

Link to comment
Share on other sites

  • 3 weeks later...
 Share

×
×
  • Create New...