CODEC VERBS INFO FOR APPLEHDA PATCHING

071CXY

X = Default Association
Values: 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d and f

Y = Sequence 
Values: Always set this to '0' because Apple dont use analog multi outputs in their codec.

071DXY

X = Color: Color of the jack
Values: 
Unknown 0
Black 1
Grey 2
Blue 3
Green 4
Red 5
Orange 6
Yellow 7
Purple 8
Pink 9
Reserved A-D
White E
Other F

Y = Misc - Jack detect sensing capability
Values:
1 for Internal Devices(Speaker etc.,) and
0 for External Devices(Headphones etc.,)

071EXY

X = Default device - Intended use of the Jack
Values:
Speakers 1
HP Out 2
CD 3
SPDIF Out 4
Digital Other Out 5
Modem Line Side 6
Modem Handset Side 7
Line In 8
AUX 9
Mic In A
Telephony B
SPDIF In C
Digital Other In D
Reserved E
Other F

Y = Connection type - indicates the type of physical connection
Values:
Unknown 0
1/8 stereo/mono 1
1/4 stereo/mono 2
ATAPI internal 3
RCA 4
Optical 5
Other Digital 6
Other Analog 7
Multichannel Analog (DIN) 8
XLR/Professional 9
RJ-11 (Modem) A
Combination B
Other F

071FXY

X = Port Connectivity - indicates the external connectivity of the Pin Complex.

Software can use this value to know what Pin Complexes are connected to jacks, internal devices, or not connected at all.

00b - The Port Complex is connected to a jack (1/8, ATAPI, etc.).
01b - No physical connection for Port.
10b - A fixed function device (integrated speaker, integrated mic, etc.) is attached.
11b - Both a jack and an internal device are attached.


Y = Location
Location indicates the physical location of the jack or device to which the pin complex is connected. This allows software to indicate, for instance, that the device is the Front Panel Headphone Jack as opposed to rear panel connections.


Details:
Convert the 2 digit hex number to binary.
Pad the front with zeros to make it 8 dgits.

Example:
Code: 0x02 = binary 10 = 00000010 8 digit binary
Reading the bits from left to right:

Port Connectivity bits 7:6
-----------------------------------------------------------
00 - Port is connected to a Jack

01 - No External Port -or- No physical connection for Port**

10 - Fixed Function/Built In Device (integrated speaker, mic, etc)

11 - Jack and Internal device are attached


Location Part 1 - bits 5:4
-----------------------------------------------------------
00 - External on primary chassis

01 - Internal

10 - Separate chassis

11 - Other


Location Part 2 - bits 3:0
-----------------------------------------------------------
The meaning depends on Location Part 1

00 0000****N/A

00 0001** Rear

00 0010** Front

00 0011** Left

00 0100** Right

00 0101** Top

00 0110** Bottom

00 0111** Special (Rear panel)

00 1000** Special (Drive bay)



01 0000** N/A

01 0111** Special (Riser)

01 1000** HDMI

01 1001** ATAPI



10 0000****N/A

10 0001** Rear

10 0010** Front

10 0011** Left

10 0100** Right

10 0101** Top

10 0110** Bottom



11 0000** N/A

11 0110** ?

11 0111** Inside Mobile Lid (example: mic)

11 1000** Outside Mobile Lid



************Bits

Hex******76 54 3210
-------------------
71cf01 = 00 00 0001 - Port has a jack - It is External - Rear Location

71cf02 = 00 00 0010 - Port has a jack - It is External - Front Panel Location

71cf59 = 01 01 1001 - No External Port - ATAPI

71cf18 = 00 01 1000 - Port has a jack - External - HDMI

71cf90 = 10 01 0000 - Built In Device - Internal - N/A

******** |**|**||||

******** |**|**|--------- Location part 2

******** |**|------------ Location part 1**

******** |--------------- Port Connectivity

No Responses

Add Comment