Jump to content


Always up to date!

Do you want to be kept up to date with new versions of files and / or news? Follow us on Twitter and Facebook! Make sure you are updated with new file versions!

Submitter

File Information

  • Submitted: Aug 07 2012 08:22 PM
  • Last Updated: Aug 07 2012 08:22 PM
  • File Size: 1.03MB
  • Views: 8557
  • Downloads: 6,495
  • Compatible with 10.5.x Leopard: No
  • Compatible with 10.6.x Snow Leopard: No
  • Compatible with 10.7.x Lion: No
  • Compatible with 10.8.x Mountain Lion: Yes
  • Compatible with 10.9.x Mavericks: Unkown
  • Source / Credits: link

Download VIA VT2021/2020 AppleHDA 1.0

- - - - -



=====================================================
***README*** Updated on 14th Oct 2012
=====================================================

Updated on 14th October 2012

a. Rectified a major bug in AppleHDAHardwareConfiguration.kext PinConfiguration in AppleHDA.kext
b. Updated HDEF to new one

Updated on 13th Oct 2012.

a. Rectified a minor bug with SPDIF Output.
b. Removed the use of VIA VT2021 kext
c. Added new HDEF patch
d. Enhanced AppleHDA kext


AppleHDA patch for VIA VT2021/2020 audio codecs for OS X Mountain Lion

10.8.x (Updated for 10.8.2)

Working Ports

1. Rear Green Port - Stereo Audio Output
2. Rear Pink Port - Stereo Microphone In
3. Rear Blue Port - Stereo Audio in
4. Rear SPDIF - Digital Line Out

=====================================================

1. Install AppleHDA using kext Utility

2. Patch DSDT with HDEF patch below, use it under PCI0

-----------------------------------------------------

Device (HDEF)
{
Name (_ADR, 0x001B0000)
Method (_PRW, 0, NotSerialized)
{
Return (Package (0x02)
{
0x0D,
0x05
})
}

Method (_DSM, 4, NotSerialized)
{
Store (Package (0x04)
{
"layout-id",
Buffer (0x04)
{
0x0c, 0x00, 0x00, 0x00
},

"PinConfigurations",
Buffer (0x30)
{
0x10, 0x40, 0x11, 0x01, 0xF0, 0x00, 0x00, 0x40,
0xF0, 0x00, 0x00, 0x40, 0xF0, 0x00, 0x00, 0x40,
0xF0, 0x00, 0x00, 0x40, 0xF0, 0x00, 0x00, 0x40,
0x50, 0x30, 0x81, 0x01, 0x60, 0x90, 0xA1, 0x90,
0xF0, 0x00, 0x00, 0x40, 0x20, 0x21, 0x45, 0x07,
0xF0, 0x00, 0x00, 0x40, 0xF0, 0x00, 0x00, 0x40
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}

------------------------------------------------------









ну че, как?
  • Report
@Pisca

How? what you r asking for?
  • Report
this does not work for me
nothing appears in the pref/sound (kexts are in place)
  • Report
@borquee

Which model is ur M/b?. If the kexts didn't work, try VIA_VT2021.zip attached. That will work and includes dsdt edit for the codec
  • Report
my mb is z77-D3h.not working also.help
  • Report
Same story with me: GA-Z77-D3H-MVP / i73770k. Installed both kexts as suggested, still not a squeak from the headphone socket. Anything I've missed? Something in the BIOS perhaps?
  • Report
I got this working on the GA-Z77X-D3H board.
I've had to go through the advanced method.

( DSDT editor and tutorial of usage is here: http://www.olarila.c...c.php?f=18&t=62 )

The simple method didn't work for me, and neither the HDEF.txt patch (at least not fully).

I was getting "DTGP" is undefined after patching the dsdt in the editor (and with this error the .aml wouldn't compile properly). After some further searches, I found the solution.

I had to add above the "Method (_WAK ...) the following function according to what's stated here on the wiki:
http://osxonthinkpad...dsdt-edits#toc1

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

If you want to look 'for inspiration purposes' into my dsdt.aml file - you can check it out here: http://cl.ly/IlXJ

I'd suggest you to avoid copy pasting it directly though even if you have the same mainboard. It's better to go through the standard procedure as documented by the original poster.
  • Report
Thanks, I tried this method with the following results:

I deleted the original APPLEHDA and installed the new APPLEHDA and VIA2021 using kext utility. I restart and so far so good, no panics.

I then copied the DSDT.aml you gave above into the /extra folder, restart and get a kernel panic.

I have the GA-Z77-D3H (not x, m or DS3H) on F14. Processor is the i3570 and I am using HD4000. The bios setting are on default expect SATA which is set to ACHI.

Something must be causing the kernel panic on boot with the DSDT, especially since I am running the the same motherboard. I have tried editing the DSDT manually and the sound shows up in the preference panel, however no sound comes out of the speakers...

Any ideas?
  • Report
А хер его знает, надо пробовать, пытаюсь звук завести
  • Report
@Tim182,

There's quite a difference in between Z77X and Z77 boards. Even if we both had the same exact mainboard, copy pasting the DSDT.aml wouldn't have worked (due to the differences in the devices we had plugged into the board).
That's why I recommended not to copy paste the .aml file, but instead using just to look at the end result - what fields got entered into the audio HD device, along the function that I had manually added.
  • Report