GETTING CODEC INFORMATION FOR APPLEHDA PATCHING

CHAPTER 1: GETTING CODEC INFORMATION.

Intro: This guide is for those who want to use AppleHDA and / or trying to learn how it works. It is divided in to several steps and we will address each of them throughout the guide.

Section 1:: Getting Information from the codec. There are other ways but in this guide we will explain how to get to Linux. Using Ubuntu or another distro. (Note: Use the latest version of Linux and Alsa drivers)

in terminal type:
cat /proc/asound/card0/codec#1 > ~/Desktop/codec_dump.txt
or
cat /proc/asound/card0/codec#0 > ~/Desktop/codec_dump.txt
or if you prefer use zhell script:
cd ~/Desktop && mkdir CodecDump && for c in /proc/asound/card*/codec#*; do f="${c//*card/card}"; cat "$c" > CodecDump/${f////-}.txt; done && zip -r CodecDump.zip CodecDump
Save it in a safe place.

Section 2:: Analyzing the codec dump and extracting relevant information

 

We need the following details from the codec dump:
Codec: Realtek ALC887-VD
Address: 2
AFG Function Id: 1 (unsol 1)
Vendor Id: Hex : 0x10EC0887 [ Decimal : 283904135]

Add Comment