Jump to content

Need some guidance on patching VT2020 on GA-Z77M-D3H-MVP


kidalive
 Share

10 posts in this topic

Recommended Posts

I have a GA-Z77M-D3H-MVP motherboard which goes with a Via VT2020 sound codec card. I have 6 jack ports(3 ports in the front panel and 3 ports in the rear panel).

Front panel:

Green Headphone/Pink Mic

Rear Panel:

Blue Line In/Green Lion Out/Pink Mic

Digital Out

 

I am an old hacintosher. Having been a long time not hacintoshing since 2010. I did AppleHDA patch a long time ago with my Alc883 Cad2 card on Mac OS X 10.5 era. Now it`s on the Mac OS X 10.8.4. The patching method changed. I want to know how to get it going. I dumped codecs of this new card with Ubuntu distro. The problem is I saw two codecs in the /proc/asound/ folder named codec#2 and codec#3. Codec#2 start with "Codec: VIA VT2020" and codec#3 start with ""Codec: Intel PantherPoint HDMI". The codec#3 seem to be the HDMI codec. Should I combine codec#3 to codec#2? I ran the codecgraph scripts and get the svg graph and decimal version of my codec#2. Should I first combine codec#3and codec#2 to run those scripts? I`m confused. I have no idea what VT2020 is similar to Apple Based Computer sound codec? I need to modify the binary file in the MACOS folder of AppleHDA.kext. This is also unknown to me. I will attach my codecs to the novice to figured out. Any help will be appreciated. :rolleyes:

codec dump and graphs.zip

Link to comment
Share on other sites

The problem is I saw two codecs in the /proc/asound/ folder named codec#2 and codec#3. Codec#2 start with "Codec: VIA VT2020" and codec#3 start with ""Codec: Intel PantherPoint HDMI". The codec#3 seem to be the HDMI codec. Should I combine codec#3 to codec#2?

I have no knowledge of the the VIA VT2020. However, I can answer the PantherPoint HDMI question. That codec (Vendor Id: 0x80862806) is the HDMI audio codec for HD4000 HD Graphics and supported natively in ML AppleHDA.kext. dsdt edits and a possible framebuffer edit are required to enable HD4000 HDMI audio.

Link to comment
Share on other sites

I have no knowledge of the the VIA VT2020. However, I can answer the PantherPoint HDMI question. That codec (Vendor Id: 0x80862806) is the HDMI audio codec for HD4000 HD Graphics and supported natively in ML AppleHDA.kext. dsdt edits and a possible framebuffer edit are required to enable HD4000 HDMI audio.

Thanks for the quick reply, toleda. Then I should not bother this codec dump and focus on the codec#2 dump.

Link to comment
Share on other sites

Codec: VIA VT2020   Address: 2   DevID: 285606977 (0x11060441)
  Jack   Color  Description				  Node	 PinDefault			 Original Verbs
--------------------------------------------------------------------------------------------------------
Line Out at Ext Rear    0x24 0x24					    16859152 22471c10 22471d40	 22471e01 22471f01 
   1/8   Black  Line Out at Ext Rear	    37 0x25   0x410110f0   22571cf0 22571d10 22571e01 22571f41
   1/8  Orange  Line Out at Ext Rear	    38 0x26   0x410160f0   22671cf0 22671d60 22671e01 22671f41
   1/8    Grey  Line Out at Ext Rear	    39 0x27   0x410120f0   22771cf0 22771d20 22771e01 22771f41
HP Out at Ext Front    0x28 0x28					    35733535 22871c1f 22871d40	 22871e21 22871f02 
Mic at Ext Front    0x29 0x29					    44142647 22971c37 22971d90	 22971ea1 22971f02 
Line In at Ext Rear    0x2a 0x2a					    25243710 22a71c3e 22a71d30	 22a71e81 22a71f01 
Mic at Ext Rear    0x2b 0x2b					    27365430 22b71c36 22b71d90	 22b71ea1 22b71f01 
Analog Unknown  CD at Int N/A			   44 0x2c   0x503701f0   22c71cf0 22c71d01 22c71e37 22c71f50
Optical   Black  SPDIF Out at Ext Rear Panel  45 0x2d   0x474511f0   22d71cf0 22d71d11 22d71e45 22d71f47
Optical    Grey  SPDIF Out at Ext Rear Panel  46 0x2e   0x074521f0   22e71cf0 22e71d21 22e71e45 22e71f07
Optical    Grey  SPDIF In at Ext Rear Panel  47 0x2f   0x47c521f0   22f71cf0 22f71d21 22f71ec5 22f71f47
--------------------------------------------------------------------------------------------------------

  Jack   Color  Description				  Node	 PinDefault			 Modified Verbs
--------------------------------------------------------------------------------------------------------
Line Out at Ext Rear    0x24 0x24					    16859152 22471c10 22471d40	 22471e01 22471f01 
   1/8   Black  Line Out at Ext Rear	    37 0x25   0x410110f0   22571cf0 22571d10 22571e01 22571f41
   1/8  Orange  Line Out at Ext Rear	    38 0x26   0x410160f0   22671c20 22671d60 22671e01 22671f41
   1/8    Grey  Line Out at Ext Rear	    39 0x27   0x410120f0   22771c40 22771d20 22771e01 22771f41
HP Out at Ext Front    0x28 0x28					    35733535 22871c50 22871d40	 22871e21 22871f01 
Mic at Ext Front    0x29 0x29					    44142647 22971c30 22971d90	 22971ea1 22971f01 
Line In at Ext Rear    0x2a 0x2a					    25243710 22a71c60 22a71d30	 22a71e81 22a71f01 
Mic at Ext Rear    0x2b 0x2b					    27365430 22b71c70 22b71d90	 22b71ea1 22b71f01 
Analog Unknown  CD at Int N/A			   44 0x2c   0x503701f0   22c71c80 22c71d00 22c71e37 22c71f50
Optical   Black  SPDIF Out at Ext Rear Panel  45 0x2d   0x474511f0   22d71c90 22d71d10 22d71e45 22d71f40
Optical    Grey  SPDIF Out at Ext Rear Panel  46 0x2e   0x074521f0   22e71ca0 22e71d20 22e71e45 22e71f00
Optical    Grey  SPDIF In at Ext Rear Panel  47 0x2f   0x47c521f0   22f71cb0 22f71d20 22f71ec5 22f71f40
--------------------------------------------------------------------------------------------------------

Link to comment
Share on other sites

I checked the chip on motherboard it shows VIA VT2021 but the codec dump from the linux diistro it shows VIA VT2020 like above. Any idea?

 

I used this Pinconfigration below with one assertion during startup.

22471C10 22471D40 22471E11 22471F01 22571CF0 22571D00 22571E00 22571F40 22671CF0 22671D00 22671E00 22671F40 22771CF0 22771D00 22771E00 22771F40 22871CF0 22871D00

Sound assertion in AppleHDACodecGeneric at line 360

Any fix?

Link to comment
Share on other sites

  • 3 weeks later...

I have no knowledge of the the VIA VT2020. However, I can answer the PantherPoint HDMI question. That codec (Vendor Id: 0x80862806) is the HDMI audio codec for HD4000 HD Graphics and supported natively in ML AppleHDA.kext. dsdt edits and a possible framebuffer edit are required to enable HD4000 HDMI audio.

I got HDMI AUDIO working. But the Front panel no luck. I forgot how to patch and make a legacy APPLEHDA.kext.

 

I have no knowledge of the the VIA VT2020. However, I can answer the PantherPoint HDMI question. That codec (Vendor Id: 0x80862806) is the HDMI audio codec for HD4000 HD Graphics and supported natively in ML AppleHDA.kext. dsdt edits and a possible framebuffer edit are required to enable HD4000 HDMI audio.

Link to comment
Share on other sites

I got HDMI AUDIO working. But the Front panel no luck. I forgot how to patch and make a legacy APPLEHDA.kext.

Congrats.  Legacy is OK for pinconfigs.  Need a layout and pathmap in xml installed in the kext to work.

Link to comment
Share on other sites

Congrats.  Legacy is OK for pinconfigs.  Need a layout and pathmap in xml installed in the kext to work.

Yes, I know that. I don`t know how to modify the Pinconfig data got from codec and verbit. I used to get my alc883 Cad 1 working/ It`s been a long time. You are using VIA2021 also? Can you provide your patch files and codec for my research? Did you get all output and input working?

Link to comment
Share on other sites

Yes, I know that. I don`t know how to modify the Pinconfig data got from codec and verbit. I used to get my alc883 Cad 1 working/ It`s been a long time. You are using VIA2021 also? Can you provide your patch files and codec for my research? Did you get all output and input working?

I have never worked with any of the VIA codecs.  VCH888's VIA 2021 is probably the best starting point.  In OS X, there is little difference in the c, d, e and f values among working edited AppleHDA.kexts for a given pin.  For example, the ALC885 green rear (node 14 hex/20 dec) pinconfig is 21471c10 21471d40  21471e01 21471f01. For the 2021, the green rear (node 24 hex/36 dec) pinconfig is 22471c10 22471d40 22471e01 22471f01.

Link to comment
Share on other sites

I have never worked with any of the VIA codecs.  VCH888's VIA 2021 is probably the best starting point.  In OS X, there is little difference in the c, d, e and f values among working edited AppleHDA.kexts for a given pin.  For example, the ALC885 green rear (node 14 hex/20 dec) pinconfig is 21471c10 21471d40  21471e01 21471f01. For the 2021, the green rear (node 24 hex/36 dec) pinconfig is 22471c10 22471d40 22471e01 22471f01.

Yes, VCH888 is the first one made a working legacy APPLEHDA.KEXT for VIA2020/VIA2021. He is a coder here. I have not enogh info to get this working since I don`t know what`s the most similar audio codec and audio outputs Apple computer uses. If I know that then I can change my pinconfig data according to them. Like the example you give, the last two digits is the core to get rid of sound assertions and get Mic working. I did that once with Mac OS X 10.5 and it`s has been a long time. I almost forget it.

Link to comment
Share on other sites

 Share

×
×
  • Create New...