Jump to content

[alc269] patching - not working.


1 post in this topic

Recommended Posts

Hello.

I am looking for someone who can help with patching AppleHDA.kext

I tried binary patching but my audio still not working.

 

------
Node 14 : Pin Default 0x90170110 , EAPD: 0x02		    Speaker Playback Switch (Output)
Node 15 : Pin Default 0x03211020 , EAPD: 0x02		    Headphone Playback Switch (Headphone Out)
Node 18 : Pin Default 0x03a11830						 Mic Boost Volume (External Mic)
Node 19 : Pin Default 0x90a70940						 Internal Mic Boost Volume (LineIN)
------
For example:-
at Node 14: 10 01 71 09 [ !KOREKCJA 9 -> 0]
at Node 15: 20 01 12 30
at Node 18: 03 81 a1 30 [ KOREKCJA ]
at Node 19: 04 90 a7 90 [ KOREKCJA ]
at Node 14 EAPD : 02 (Note 2)
at Node 15 EAPD : 02 (Note 2)

Corrected Verb Data:
Code:
at Node 14: 10 01 71 09
at Node 15: 20 01 12 30
at Node 18: 30 01 a1 30
at Node 19: 40 10 a7 90
at Node 14 EAPD : 02
at Node 15 EAPD : 02
--------
[codeC VERBS]
Codec Address + NodeID + Verb Commands + Verb data
( Speaker Playback Switch )
For the Pin Complex Node 14:
0 + 14 + 71c + 10  = 01471c10
0 + 14 + 71d + 01  = 01471d01
0 + 14 + 71e + 71  = 01471e71
0 + 14 + 71f + 09  = 01471f09

( Headphone playback switch )
For the Pin Complex Node 15:
0 + 15 + 71c + 20  = 01571c20
0 + 15 + 71d + 01  = 01571d01
0 + 15 + 71e + 12  = 01571e12
0 + 15 + 71f + 30  = 01571f30

( Mic boost volume )
For the Pin Complex Node 18:
0 + 18 + 71c + 30  = 01871c30
0 + 18 + 71d + 01  = 01871d01
0 + 18 + 71e + a1  = 01871ea1
0 + 18 + 71f + 30  = 01871f30
( Internal mic )
For the Pin Complex Node 19:
0 + 19 + 71c + 40  = 01971c40
0 + 19 + 71d + 10  = 01971d10
0 + 19 + 71e + a7  = 01971ea7
0 + 19 + 71f + 90  = 01971f90

01471c10 01471d01 01471e71 01471f09 01470c02
01971c40 01971d10 01971ea7 01971f90
01571c20 01571d01 01571e12 01571f30 01470c02
01871c30 01871d01 01871e81 01871f30

01471c10 01471d01 01471e71 01471f09 01470c02 01571c20 01571d01 01571e12 01571f30 01470c02 01871c30 01871d01 01871e81 01871f30 01971c40 01971d10 01971ea7 01971f90
-----------------------------------

For output Devices, the PathMap follows this pattern
Pin Complex->Audio Mixer->Audio Output
!! [TO TRY] 0x14->0x0c->0x03, Decimal - 20->12->3
!! [TO TRY] 0x15->0x0d->0x02, Decimal - 21->13->2

Pin Complex->Audio Mixer->Audio Output (Hex values inside braces)
Speaker    : 20-> 12-> 2 (0x14->0x0c->0x02)
HeadPhone    : 21-> 13-> 3 (0x15->0x0d->0x03)
Pin Complex->Audio Selector/Mixer->Audio Input(Hex values inside braces)
Internal Mic    : 25-> 35-> 8 (0x19->0x23->0x08)
External Mic    : 24-> 34-> 9 (0x18->0x22->0x09)
--------
Node 0x12 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
 Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
 Amp-In vals:  [0x00 0x00]
 Pincap 0x00000020: IN
 Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
   Conn = 1/8, Color = Black
   DefAssociation = 0xf, Sequence = 0x0
   Misc = NO_PRESENCE
 Pin-ctls: 0x00:
 Power states:  D0 D1 D2 D3 EPSS
 Power: setting=D0, actual=D0

Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
 Control: name="Speaker Playback Switch", index=0, device=0
   ControlAmp: chs=3, dir=Out, idx=0, ofs=0
 Control: name="Speaker Phantom Jack", index=0, device=0
 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 Amp-Out vals:  [0x00 0x00]
 Pincap 0x00010014: OUT EAPD Detect
 EAPD 0x2: EAPD
 Pin Default 0x90170110: [Fixed] Speaker at Int N/A
   Conn = Analog, Color = Unknown
   DefAssociation = 0x1, Sequence = 0x0
   Misc = NO_PRESENCE
 Pin-ctls: 0x40: OUT
 Unsolicited: tag=00, enabled=0
 Power states:  D0 D1 D2 D3 EPSS
 Power: setting=D0, actual=D0
 Connection: 2
 0x0c 0x0d*


Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
 Control: name="Headphone Playback Switch", index=0, device=0
   ControlAmp: chs=3, dir=Out, idx=0, ofs=0
 Control: name="Headphone Jack", index=0, device=0
 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 Amp-Out vals:  [0x00 0x00]
 Pincap 0x0001001c: OUT HP EAPD Detect
 EAPD 0x2: EAPD
 Pin Default 0x03211020: [Jack] HP Out at Ext Left
   Conn = 1/8, Color = Black
   DefAssociation = 0x2, Sequence = 0x0
 Pin-ctls: 0xc0: OUT HP
 Unsolicited: tag=01, enabled=1
 Power states:  D0 D1 D2 D3 EPSS
 Power: setting=D0, actual=D0
 Connection: 2
 0x0c* 0x0d

Node 0x17 [Pin Complex] wcaps 0x40050c: Mono Amp-Out
 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 Amp-Out vals:  [0x80]
 Pincap 0x00000010: OUT
 Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
   Conn = 1/8, Color = Black
   DefAssociation = 0xf, Sequence = 0x0
   Misc = NO_PRESENCE
 Pin-ctls: 0x00:
 Power states:  D0 D1 D2 D3 EPSS
 Power: setting=D0, actual=D0
 Connection: 1
 0x0f


Node 0x18 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
 Control: name="Mic Boost Volume", index=0, device=0
   ControlAmp: chs=3, dir=In, idx=0, ofs=0
 Control: name="Mic Jack", index=0, device=0
 Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
 Amp-In vals:  [0x00 0x00]
 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 Amp-Out vals:  [0x80 0x80]
 Pincap 0x00003734: IN OUT Detect
   Vref caps: HIZ 50 GRD 80 100
 Pin Default 0x03a11830: [Jack] Mic at Ext Left
   Conn = 1/8, Color = Black
   DefAssociation = 0x3, Sequence = 0x0
 Pin-ctls: 0x24: IN VREF_80
 Unsolicited: tag=02, enabled=1
 Power states:  D0 D1 D2 D3 EPSS
 Power: setting=D0, actual=D0
 Connection: 2
 0x0c* 0x0d


Node 0x19 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
 Control: name="Internal Mic Boost Volume", index=0, device=0
   ControlAmp: chs=3, dir=In, idx=0, ofs=0
 Control: name="Internal Mic Phantom Jack", index=0, device=0
 Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
 Amp-In vals:  [0x01 0x01]
 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 Amp-Out vals:  [0x80 0x80]
 Pincap 0x00003734: IN OUT Detect
   Vref caps: HIZ 50 GRD 80 100
 Pin Default 0x90a70940: [Fixed] Mic at Int N/A
   Conn = Analog, Color = Unknown
   DefAssociation = 0x4, Sequence = 0x0
   Misc = NO_PRESENCE
 Pin-ctls: 0x24: IN VREF_80
 Unsolicited: tag=00, enabled=0
 Power states:  D0 D1 D2 D3 EPSS
 Power: setting=D0, actual=D0
 Connection: 2
 0x0c* 0x0d


Node 0x1a [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
 Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
 Amp-In vals:  [0x00 0x00]
 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 Amp-Out vals:  [0x80 0x80]
 Pincap 0x0000373c: IN OUT HP Detect
   Vref caps: HIZ 50 GRD 80 100
 Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
   Conn = 1/8, Color = Black
   DefAssociation = 0xf, Sequence = 0x0
   Misc = NO_PRESENCE
 Pin-ctls: 0x20: IN VREF_HIZ
 Unsolicited: tag=00, enabled=0
 Power states:  D0 D1 D2 D3 EPSS
 Power: setting=D0, actual=D0
 Connection: 2
 0x0c* 0x0d


Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
 Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
 Amp-In vals:  [0x00 0x00]
 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 Amp-Out vals:  [0x80 0x80]
 Pincap 0x00003734: IN OUT Detect
   Vref caps: HIZ 50 GRD 80 100
 Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
   Conn = 1/8, Color = Black
   DefAssociation = 0xf, Sequence = 0x0
   Misc = NO_PRESENCE
 Pin-ctls: 0x20: IN VREF_HIZ
 Unsolicited: tag=00, enabled=0
 Power states:  D0 D1 D2 D3 EPSS
 Power: setting=D0, actual=D0
 Connection: 2
 0x0c* 0x0d


Node 0x1d [Pin Complex] wcaps 0x400400: Mono
 Pincap 0x00000020: IN
 Pin Default 0x4004a205: [N/A] Line Out at Ext N/A
   Conn = RCA, Color = UNKNOWN
   DefAssociation = 0x0, Sequence = 0x5
 Pin-ctls: 0x20: IN
 Power states:  D0 D1 D2 D3 EPSS
 Power: setting=D0, actual=D0
Node 0x1e [Pin Complex] wcaps 0x400781: Stereo Digital
 Pincap 0x00000010: OUT
 Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
   Conn = 1/8, Color = Black
   DefAssociation = 0xf, Sequence = 0x0
   Misc = NO_PRESENCE
 Pin-ctls: 0x40: OUT
 Unsolicited: tag=00, enabled=0
 Power states:  D0 D1 D2 D3 EPSS
 Power: setting=D0, actual=D0
 Connection: 1
 0x06

 

this is my code..

thanks for any help with that.

 

kamillo.

Link to comment
Share on other sites

 Share

×
×
  • Create New...