Jump to content
lazybon3

AppleHDA for Gigabyte GA-Z77X-UD3H [VIA VT2020/VT2021]

12 posts in this topic

Recommended Posts

Hello,

 

This is a fixed Version of AppleHDA.kext for Gigabyte GA-Z77X-UD3H with Mac OS 10.7.4,

maybe it works for some other Mainboards with VIA VT2020/VT2021 too.

 

It is based on the work of VCH888, so all credits go to him, and of course the people he wants to give credits to.

In the attachement you will find a modified Version of AppleHDA.kext based on AppleHDA.kext from 10.7.4

 

The file was bin-patched, so you will just need a DSDT-Edit with Layout ID 12, no other Enablers are needed.

 

Layout12.xml, Platforms.xml and Info.plist in AppleHDAHardwareConfigDriver.kext have been modified and AppleHDA has been patched

Verbs for the Inputs/Outputs that do not work have been removed from AppleHDAHardwareConfigDriver.kext so they wont show up in System Profiler.

 

+ The System Profiler will only show the Inputs and Outputs that are actually working (for now)

+ SPDIF-Out works

+ Green Rear works (shown as Internal Speaker) / Green Front works (shown as Headphones)

+ Grey Rear works as Line Out

+ Black Rear works as Line Out

+ Blue Rear works as Line In

+ Connecting Headphones to Green Front mutes Green Rear

 

- Pink Front works only as Line In (no support for Headset/active Microphones) yet

- Pink Rear does not work (could not get Pink Front and Rear to work at the same time)

- Orange Rear does not work at all (tried everthing, i was unable to find the right path)

 

NOTE: If you use VoodooHDA.kext remove it before you use AppleHDA.kext, and make sure you have rebooted your Machine before installing AppleHDA.kext.

AppleHDA.kext.zip

Share this post


Link to post
Share on other sites
Advertisement

Hi,

 

I'm trying to build my first hackintosh with this board. I have an i5 3570K ivy bridge proc, 16gb of ram and the default intel 4000 graphics (for now). What install method did you use to get your setup going?

 

If you have this board can you provide a working DSDT file?

Share this post


Link to post
Share on other sites

Hello,

 

As Install method i started making an USB-Boot-Stick with ######.

After the Install is started up the Machine via Bootloader on USB-Stick and installed the Kexts via ######.

Created the DSDT with DSDT-Patcher (GUI) and modified it with DSDT-SE.

After complete Setup updated System with BrigdeHelper 5.0.

 

Sure i can provide a DSDT-File for the latest BIOS Version of the Board, but i think it would be a better idea to

create/patch you own DSDT-File.

 

If you haven't bought the Mainboard yet, you should maybe take another Board since the GA-Z77X-UD3H

still has some Problems with Audio (no Mic In with AppleHDA, no SPDIF with VoodooHDA)

and i couldn't get the 4 upper Rear USB-Ports working (VIA VL800) and with the PXHCD.kext i even

needed to disable the VIA Onboard USB 3.0 Ports, else it would end up in a Kernel Panic.

 

On of the plus sides of the Board is that with BridgeHelper 5.0 i could get sleep to work.

 

I ll send you a PM with a link to the DSDT, in case that you need it.

 

bye.

Share this post


Link to post
Share on other sites

Hi

I am trying to build a Z77M-D3H with Mountain Lion.

Will this kext work with my build, too?

 

I am a noob when it comes to DSDT editing. Can you please give more details for this:

"

The file was bin-patched, so you will just need a DSDT-Edit with Layout ID 12, no other Enablers are needed."

What exactly must I do?

Thank you very much for your help.

 

P.S. I downloaded your kext and it installs fine, but without the DSDT I get no audio device...

Share this post


Link to post
Share on other sites

@ clickmikes:

 

I haven't found the time to install 10.8 on my Machine yet, just got it running on my real macs.

 

At the moment i don't find the time to make a new Version of the VoodooHDA plist file, or to make a new modified Version of AppleHDA.

Since i am on vacation the next week, i will have some time for this, you can expect an answere by the end of next week.

 

bye

Share this post


Link to post
Share on other sites

Hi Lazybon3,

Thanks for the patch, I can confirm it works on a Gigabyte H77M-D3H board, with Mountain Lion installed.

I just had to patch the DSDT following instructions from http://www.projectos...p?showtopic=465 to a Layout ID 12 and fix some errors (just google)

I have not tested all input/outputs but at least the stereo out is working.

 

I have tried VoodooHDA on ML but it always gives a kernel panic, regardless of how I tweak the info.plist file.

 

EDIT: The Gigabyte board has a VIA VT2021 audio chip.

Share this post


Link to post
Share on other sites

@All, who just get a KP on 10.8 (with VoodooHDA) :

 

Solution (maybe) found.

The Version of VoodooHDA that i have postet is 2.7.2. It isn't compatible with 10.8

 

If you want to solve the Problem by yourself just add/modify the "nodes to patch" and "mixer values"

and IOPCIPrimaryMatch section of VoodooHDA 2.7.3

 

or wait until next week, then i will have a little more time and upload a new, and maybe tested version.

 

 

Bye :)

Share this post


Link to post
Share on other sites

@lazybon3:

 

have you found the time to play with the ML version of the appleHDA yet?

I would rather go this way than play against KP with Voodoo...

 

Thanks

Share this post


Link to post
Share on other sites

Hi Lazybon3,

Thanks for the patch, I can confirm it works on a Gigabyte H77M-D3H board, with Mountain Lion installed.

I just had to patch the DSDT following instructions from http://www.projectos...p?showtopic=465 to a Layout ID 12 and fix some errors (just google)

I have not tested all input/outputs but at least the stereo out is working.

 

I have tried VoodooHDA on ML but it always gives a kernel panic, regardless of how I tweak the info.plist file.

 

EDIT: The Gigabyte board has a VIA VT2021 audio chip.

Hi !

I have the same board, can you tell precisely what did you modified in the DSDT ?

I corrected it so I have no warnings, I added the DTGP method and this code to force layoutID 12 :

			Method (_DSM, 4, NotSerialized)
			{
				Store (Package (0x04)
					{
						"layout-id",
						Buffer (0x04)
						{
							0x0C, 0x00, 0x00, 0x00
						},
						"PinConfigurations",
						Buffer (Zero) {}
					}, Local0)
				DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
				Return (Local0)
			}

After "Name(.....)" in Device (HDEF)

 

Is it correct ? Do I have to do something else ?My audio is not detected.

 

I'm under ML 10.8

 

EDIT : Ok, I have to boot wit UseKernelCache=No to make it work, I installed it with ######, Kext Utility or Kext Wizard, same result. I would have been happy with it if I just had to change this flag but my wifi will not work wit UseKernelCache=No (AR9282.kext).

 

Thanks,

Val'

Share this post


Link to post
Share on other sites

The attached AppleHDA.kext worked for Mountain Lion (10.8) on my ga-z77x-ud3h with a HDEF patched DSDT. I got some clues on making this work from this post: www.osx86.net/view/3041-via_vt2021-2020_applehda.html

 

I've attached my DSDT files for the ga-z77x-ud3h, hope it helps.

ga-z77x-ud3h-dsdt.zip

Share this post


Link to post
Share on other sites

This is the best kext I've found so far. Thank you for your work.

 

However the SPDIF-out is not working for me. Lazybon3: could you please take a look at my codec dump and see if there is something unusual with it?

badluck_codecdump.txt

Share this post


Link to post
Share on other sites
On 8/3/2012 at 8:19 AM, ksat90 said:

Hi Lazybon3,

Thanks for the patch, I can confirm it works on a Gigabyte H77M-D3H board, with Mountain Lion installed.

I just had to patch the DSDT following instructions from http://www.projectos...p?showtopic=465 to a Layout ID 12 and fix some errors (just google)

I have not tested all input/outputs but at least the stereo out is working.

 

I have tried VoodooHDA on ML but it always gives a kernel panic, regardless of how I tweak the info.plist file.

 

EDIT: The Gigabyte board has a VIA VT2021 audio chip.

 

On 8/3/2012 at 8:19 AM, ksat90 said:

Hi Lazybon3,

Thanks for the patch, I can confirm it works on a Gigabyte H77M-D3H board, with Mountain Lion installed.

I just had to patch the DSDT following instructions from http://www.projectos...p?showtopic=465 to a Layout ID 12 and fix some errors (just google)

I have not tested all input/outputs but at least the stereo out is working.

 

I have tried VoodooHDA on ML but it always gives a kernel panic, regardless of how I tweak the info.plist file.

 

EDIT: The Gigabyte board has a VIA VT2021 audio chip.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By ltooz_audis
      Some people do have problem understanding AppleALC, how to use it for their own codecs. Here's how I used it for both Realtek ALC and IDT audio codecs.
      https://youtu.be/ZNUzQkb6p5g
      For more info on Catalina click here.
      Cheers,
      Louis
    • By grisno
      Hi people,
       
      Installer to activate the sound card REALTEK ALC282-v2 (10ec:0282) with LayoutID 1 or 3 in MacOS. This installer does not contain AppleHDA patched Kext. To work properly, it must be installed over vanilla AppleHDA.kext.
       
      I want to thank the whole community for their efforts and content provided, because without these it would not be possible to create this installer.
       
      I would appreciate comments and suggestions!!
       
      Status:
      Speakers : OK Headphones : OK HDMI Audio : OK (Intel HD4K Tested) LineIn : N/A (Model Without LineIn) MicInt : OK MicIntNoiseReduction : OK MicExt : N/A (Model Without MicExt) AutoDetectLineIn : N/A (Model Without LineIn) Sleep : OK WakeUp : OK AutoSleep : OK Hibernate : OK Siri : OK   Tested Laptops:
       
      - HP Pavillion 15-D002SS
       
      Coming Soon:
       
      - Unified installer for the different supported operating systems.
      - Support model with LineIn jack.
       
      Modified Verbs:
      01271C20 01271D00 01271EA0 01271F90 01471C10 01471D00 01471E17 01471F90 01871CF0 01871D00 01871E00 01871F40 01E71CF0 01E71D00 01E71E00 01E71F40 02171C30 02171D10 02171E21 02171F00 01470C02   DSDT:
       
      Patch to apply with MaciASL in your DSDT
      ######################################### HDEF v1.00######################################## into method label _DSM parent_label HDEF remove_entry;into device label HDEF insertbeginMethod (_DSM, 4, NotSerialized)\n{\n If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n Return (Package()\n {\n "layout-id", Buffer() { 0x01, 0x00, 0x00, 0x00 },\n //"layout-id", Buffer() { 0x03, 0x00, 0x00, 0x00 },\n "hda-gfx", Buffer() { "onboard-1" },\n "PinConfigurations", Buffer() { },\n })\n}\nend;  
    • By grisno
      Hi people,
       
      This is a preliminary installer to activate the sound card IDT 92HD87B2/4 (111D:76D9) in MacOS. This new version of the installer does not contain AppleHDA patched Kext. To work properly, it must be installed over vanilla AppleHDA Kext.
       
      I want to thank the whole community for their efforts and content provided, because without these it would not be possible to create this installer.
       
      I would appreciate comments and suggestions!!
       
      Status:
      Speakers : OK Headphones : OK HDMI Audio : OK (Intel HD3K/4K Tested) LineIn : OK MicInt : OK MicIntNoiseReduction : OK MicExt : OK AutoDetectLineIn : OK Sleep : OK WakeUp : OK AutoSleep : OK Hibernate : OK Siri : OK   Tested Laptops:
       
      - HP Pavillion G6-2209SS
      - HP Probook 4440S
       
      Coming Soon:
       
      - Unified installer for the different supported operating systems
       
      Original Verbs:
      00a71cf0 00a71d00 00a71ef0 00a71f40 00b71c1f 00b71d10 00b71e21 00b71f04 00c71c20 00c71d10 00c71ea1 00c71f04 00d71c10 00d71d01 00d71e17 00d71f90 00f71cf0 00f71d00 00f71ef0 00f71f40 01171c30 01171d01 01171ea3 01171fd5   Modified Verbs Layer ID 3 & 12:
      00A71CF0 00A71D00 00A71EF0 00A71F40 01371C40 01371D10 01371E21 01371F04 00C71C20 00C71D10 00C71E81 00C71F04 01471C10 01471D01 01471E17 01471F90 00F71C50 00F71D00 00F71EF0 00F71F40 01171C30 01171D01 01171EA0 01171F90  
      Modified Verbs Layer ID 2:
      00B71C10 00B71D10 00B71E21 00B71F04 00C71C20 00C71D10 00C71E81 00C71F04 00D71C30 00D71D00 00D71E17 00D71F90 01171C40 01171D00 01171EA0 01171F90  
        AppleHDAHardwareConfigDriver.kext > Info.plist (Layer ID 2, 3 & 12): <key>HDAConfigDefault</key> <array> <dict> <key>AFGLowPowerState</key> <data> AwAAAA== </data> <key>Codec</key> <string>IDT 92HD87B2/4</string> <key>CodecID</key> <integer>287143641</integer> <key>ConfigData</key> <data> AKcc8ACnHQAApx7wAKcfQAE3HEABNx0QATce IQE3HwQAxxwgAMcdEADHHoEAxx8EAUccEAFH HQEBRx4XAUcfkAD3HFAA9x0AAPce8AD3H0AB FxwwARcdAQEXHqABFx+Q </data> <key>FuncGroup</key> <integer>1</integer> <key>LayoutID</key> <integer>2</integer> </dict> <dict> <key>AFGLowPowerState</key> <data> AwAAAA== </data> <key>Codec</key> <string>IDT 92HD87B2/4</string> <key>CodecID</key> <integer>287143641</integer> <key>ConfigData</key> <data> ALccEAC3HRAAtx4hALcfBADHHCAAxx0QAMce gQDHHwQA1xwwANcdAADXHhcA1x+QARccQAEX HQABFx6gARcfkA== </data> <key>FuncGroup</key> <integer>1</integer> <key>LayoutID</key> <integer>3</integer> </dict> <dict> <key>AFGLowPowerState</key> <data> AwAAAA== </data> <key>Codec</key> <string>IDT 92HD87B2/4</string> <key>CodecID</key> <integer>287143641</integer> <key>ConfigData</key> <data> ALccEAC3HRAAtx4hALcfBADHHCAAxx0QAMce gQDHHwQA1xwwANcdAADXHhcA1x+QARccQAEX HQABFx6gARcfkA== </data> <key>FuncGroup</key> <integer>1</integer> <key>LayoutID</key> <integer>12</integer> </dict> </array>   DSDT:
       
      Patch to apply with MaciASL in your DSDT. You must change the value of the layout-id before applying the patch. In MacOS Mojave should always be 0x02
      ######################################### HDEF ######################################## into method label _DSM parent_label HDEF remove_entry; into device label HDEF insert begin Method (_DSM, 4, NotSerialized)\n {\n If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n Return (Package()\n {\n "built-in", Buffer () { 0x00 }, \n "hda-gfx", Buffer() { "onboard-1" }, \n "layout-id", Buffer () { 0x03, 0x00, 0x00, 0x00 }, \n "PinConfigurations", Buffer () {}, \n "MaximumBootBeepVolume", Buffer () { 0x4d } \n })\n }\n end;  
    • By warty
      On 8/20/2018 at 5:22PM, TessereKt said:
       
      On 8/21/2018 at 7:34AM, insanelyDeepak said:
       
      @insanelyDeepak, I would like to try cloverHDA, but I need help understanding how to use it.
       
      I have an Asus laptop that uses Realtek ALC295.
       
      My questions with regard to using cloverHDA:
      1.  I am running High Sierra (10.13.6). Is cloverHDA directly compatible? If not, can it easily be made compatible with adjustments I can apply?
       
      2.  What needs to be done with the original AppleHDA.kext that is already present in /S/L/E? Should it be left alone? Should it be removed? If it is removed, does the AppleHDA.kext that comes with cloverHDA, for example /Vanilla AppleHDA/Mac OS Sierra 10.12.6/AppleHDA.kext, need to be installed in its place?
       
      3.  In the 21 aug 18 reply to TessereKt, you mentioned "there is ALCPluxfix must install this." I noticed that there is a directory for alc_fix in one ALC295 directory (the ALC295_v2 Asus UX430UA directory) but not in the other ALC 295 directory that is provided (the ALC295/3254 directory). In which situation(s) is ALCPlugFix required?
       
      4.  My pathmaps are somewhat different from those in the cloverHDA.kext. Is there an easy way for me to customize the kext? For example, if I just switch the values in the xml files, will that be enough? Or does the whole thing then need to be recompiled?
       
      needed pathmaps:
      33-2
      23-3
      7-36-18
      9-34-19
       
      (My highest priority for the moment is getting headphone working, which is 33-2, and I might even be able to use the 33-3 that is already included. But I would like to eventually get all of them working.)
       
       
    • By maiconjs
      I have a receiver with 7.1 channels, in which I transmit the formats Dolby Digital and DTS without problems by Windows, through the HDMI output of HD4000. On that same Laptop, I have the Hackintosh, with the High Sierra 10.13.6, and with audio enabled using AppleALC, but in the audio preferences, I can not enable the Digital audio format. Also did not find players like Mirillis SplashPro (which I have used in Windows) with the option of HDMI output Bitstream. Is it possible to enable this digital output on Hackintosh?
×