Forgot to insert the code snipped from AzaliaVerbTable.h that I referred to below. Now added...
-----Original Message----- From: Gerard Bucas [mailto:[email protected]] Sent: Tuesday, August 25, 2015 10:47 AM To: [email protected] Subject: [edk2] [minnowboard] How/where to insert Realtek HDA Codec Verb Table? Hi All, We are using the Minnowboard MAX 0.82 firmware as the basis for the firmware for a new Intel Baytrail (E3845) based product we have developed. It uses the Realtek ALC262 HDA Audio Codec & we are having some problems activating the analog audio out headphone. Realtek has sent us the "HDA Codec Subsystem ID verb-table" to insert in our BIOS/firmware. However, it is not clear how/where this needs to be inserted. Does anypne have an example of how/where such a verb table (see attached) needs to be inserted in the firmware code? I noticed the following line in the code snipped below in the "AzaliaVerbTable.h" file, which has this line in the ALC262 entry: 0 // Pointer to verb table data, need to be inited in the code. { // // VerbTable: (RealTek ALC262) // Revision ID = 0xFF, support all steps // Codec Verb Table For AZALIA // Codec Address: CAd value (0/1/2) // Codec Vendor: 0x10EC0262 // { 0x10EC0262, // Vendor ID/Device ID 0x0000, // SubSystem ID 0xFF, // Revision ID 0x01, // Front panel support (1=yes, 2=no) 0x000B, // Number of Rear Jacks = 11 0x0002 // Number of Front Jacks = 2 }, 0 // Pointer to verb table data, need to be inited in the code. } Not clear to us what the value of this pointer should be and where the attached Realtek verb table should be inserted? Any examples or help would be greatly appreciated! Best Regards Gerard Bucas
;=================================================================================================== ; ; Realtek Semiconductor Corp. ; ;=================================================================================================== ;Realtek High Definition Audio Configuration - Version : 5.0.3.0 ;Realtek HD Audio Codec : ALC262-VC ;PCI PnP ID : PCI\VEN_8086&DEV_2668&SUBSYS_00000000 ;HDA Codec PnP ID : HDAUDIO\FUNC_01&VEN_10EC&DEV_0262&SUBSYS_00000000 ;The number of verb command block : 15 ; NID 0x12 : 0x40000000 ; NID 0x14 : 0x411111F0 ; NID 0x15 : 0x03214010 ; NID 0x16 : 0x411111F0 ; NID 0x18 : 0x03A19120 ; NID 0x19 : 0x411111F0 ; NID 0x1A : 0x411111F0 ; NID 0x1B : 0x411111F0 ; NID 0x1C : 0x411111F0 ; NID 0x1D : 0x40530605 ; NID 0x1E : 0x411111F0 ; NID 0x1F : 0x411111F0 ;===== HDA Codec Subsystem ID Verb-table ===== ;HDA Codec Subsystem ID : 0x00000000 dd 00172000h dd 00172100h dd 00172200h dd 00172300h ;===== Pin Widget Verb-table ===== ;Widget node 0x01 : dd 0017FF00h dd 0017FF00h dd 0017FF00h dd 0017FF00h ;Pin widget 0x12 - DMIC dd 01271C00h dd 01271D00h dd 01271E00h dd 01271F40h ;Pin widget 0x14 - LINE-OUT (Port-D) dd 01471CF0h dd 01471D11h dd 01471E11h dd 01471F41h ;Pin widget 0x15 - HP-OUT (Port-A) dd 01571C10h dd 01571D40h dd 01571E21h dd 01571F03h ;Pin widget 0x16 - MONO-OUT dd 01671CF0h dd 01671D11h dd 01671E11h dd 01671F41h ;Pin widget 0x18 - MIC1 (Port-B) dd 01871C20h dd 01871D91h dd 01871EA1h dd 01871F03h ;Pin widget 0x19 - MIC2 (Port-F) dd 01971CF0h dd 01971D11h dd 01971E11h dd 01971F41h ;Pin widget 0x1A - LINE1 (Port-C) dd 01A71CF0h dd 01A71D11h dd 01A71E11h dd 01A71F41h ;Pin widget 0x1B - LINE2 (Port-E) dd 01B71CF0h dd 01B71D11h dd 01B71E11h dd 01B71F41h ;Pin widget 0x1C - CD-IN dd 01C71CF0h dd 01C71D11h dd 01C71E11h dd 01C71F41h ;Pin widget 0x1D - BEEP-IN dd 01D71C05h dd 01D71D06h dd 01D71E53h dd 01D71F40h ;Pin widget 0x1E - S/PDIF-OUT dd 01E71CF0h dd 01E71D11h dd 01E71E11h dd 01E71F41h ;Pin widget 0x1F - S/PDIF-IN dd 01F71CF0h dd 01F71D11h dd 01F71E11h dd 01F71F41h ;Widget node 0x20 : dd 02050007h dd 02040040h dd 02050007h dd 02040040h
_______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

