Contribute
Register

Enable Audio ALC269 on Ivy Bridge Laptops (Mavericks) 10.9

Status
Not open for further replies.
PLZ some one correct my verb data now I'm working to patch my AppleHDA ...

I will take a pass for you today. The only I did before was my own, so I am not expert in this and it will take me a bit time. :p
Stay tuned.
 
PLZ some one correct my verb data now I'm working to patch my AppleHDA ...

Here you go. The red is what you need, and the rest is just my work. Have fun patching!


Codec: Realtek ALC269VC
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0269 [Decimal: 283902569]
Node 12(Internal - Mic Phantom Jack) : 0x90a60930 30 09 a6 90 10 01 a0 90
Node 14(Internal - Speaker Playback Switch): 0x90170110 EAPD 0x2: 10 01 17 90 20 01 17 90
Node 15(External - Headphone Playback Switch):0x0321101f 1f 10 31 03 30 10 31 03
Node 18 (External - Mic Boost Volume): 0x03a15820 20 58 a1 03 40 50 a1 03

Verb
<01271c10 01271d01 01271ea0 01271f90 01471c20 01471d01 01471e17 01471f90 01571c30 01571d10 01571e31 01571f03 01771cf0 01771d00 01771e00 01771f40 01871c40 01871d50 01871ea1 01571f03 01971cf0 01971d00 01971e00 01971f40 01a71cf0 01a71d00 01a71e00 01a71f40 01b71cf0 01b71d00 01b71e00 01b71f40 01d71cf0 01d71d00 01d71e00 01d71f40 01e71cf0 01e71d00 01e71e00 01e71f40 01470c02>

PathMap
Output Devices

  • Internal Speaker Node 14: 0x14 ->0x0d->0x03, Decimal 20->13->3
  • External headphone Node 15: 0x15->-0x0c->0x02, Decimal 21->12->2
Input Devices

  • Internal Mic Node 12: 0x12->0x22->0x09, Decimal 18->34->9
  • External Mic Node 18: 0x18->0x23-0x08, Decimal 24->35->8
 
Here you go. The red is what you need, and the rest is just my work. Have fun patching!


Codec: Realtek ALC269VC
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0269 [Decimal: 283902569]
Node 12(Internal - Mic Phantom Jack) : 0x90a60930 30 09 a6 90 10 01 a0 90
Node 14(Internal - Speaker Playback Switch): 0x90170110 EAPD 0x2: 10 01 17 90 20 01 17 90
Node 15(External - Headphone Playback Switch):0x0321101f 1f 10 31 03 30 10 31 03
Node 18 (External - Mic Boost Volume): 0x03a15820 20 58 a1 03 40 50 a1 03

Verb
<01271c10 01271d01 01271ea0 01271f90 01471c20 01471d01 01471e17 01471f90 01571c30 01571d10 01571e31 01571f03 01771cf0 01771d00 01771e00 01771f40 01871c40 01871d50 01871ea1 01571f03 01971cf0 01971d00 01971e00 01971f40 01a71cf0 01a71d00 01a71e00 01a71f40 01b71cf0 01b71d00 01b71e00 01b71f40 01d71cf0 01d71d00 01d71e00 01d71f40 01e71cf0 01e71d00 01e71e00 01e71f40 01470c02>

PathMap
Output Devices

  • Internal Speaker Node 14: 0x14 ->0x0d->0x03, Decimal 20->13->3
  • External headphone Node 15: 0x15->-0x0c->0x02, Decimal 21->12->2
Input Devices

  • Internal Mic Node 12: 0x12->0x22->0x09, Decimal 18->34->9
  • External Mic Node 18: 0x18->0x23-0x08, Decimal 24->35->8

what script you are used in it ?
 
Thanks but plz configer this platform layout 12 I'm not experience on it ...

Code:
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>LayoutID</key>
    <integer>12</integer>
    <key>PathMapRef</key>
    <array>
        <dict>
            <key>CodecID</key>
            <array>
                <integer>283902569</integer>
            </array>
            <key>Headphone</key>
            <dict>
                <key>AmpPostDelay</key>
                <integer>150</integer>
                <key>AmpPreDelay</key>
                <integer>150</integer>
                <key>MuteGPIO</key>
                <integer>0</integer>
            </dict>
            <key>Inputs</key>
            <array>
                <string>LineIn</string>
                <string>Mic</string>
            </array>
            <key>IntSpeaker</key>
            <dict>
                <key>AmpPostDelay</key>
                <integer>150</integer>
                <key>AmpPreDelay</key>
                <integer>150</integer>
                <key>MaximumBootBeepValue</key>
                <integer>48</integer>
                <key>MuteGPIO</key>
                <integer>0</integer>
            </dict>
            <key>LineIn</key>
<dict>
     <key>MuteGPIO</key>
     <integer>1342242840</integer>
            <dict/>
            <key>Mic</key>
<dict>
     <key>MuteGPIO</key>
     <integer>1342242841</integer>
            <dict/>
            <key>Outputs</key>
            <array>
                <string>IntSpeaker</string>
                <string>Headphone</string>
            </array>
            <key>PathMapID</key>
            <integer>12</integer>
        </dict>
    </array>
</dict>
</plist>

here is analyzed Codec Dump

Code:
Codec: Realtek ALC269VCAddress: 0
Vendor Id: 0x10ec0269


————————————————————————————————————————————
PIN COMPLEX NODES WITH CONTROL NAMES


Node 0x12 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
  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:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x90a60930: [Fixed] Mic at Int N/A
    Conn = Digital, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  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 0x0321101f: [Jack] HP Out at Ext Left
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0xf
  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 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 0x03a15820: [Jack] Mic at Ext Left
    Conn = 1/8, Color = Red
    DefAssociation = 0x2, 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
————————————————————————————————————————————


AUDIO MIXER


Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 5
     0x18 0x19 0x1a 0x1b 0x1d


Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x02 0x0b


Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x03 0x0b


Node 0x0f [Audio Mixer] wcaps 0x20010a: Mono Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00] [0x80]
  Connection: 2
     0x02 0x0b


Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x00 0x00]
  Connection: 7
     0x18 0x19 0x1a 0x1b 0x1d 0x0b 0x12


Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 6
     0x18 0x19 0x1a 0x1b 0x1d 0x0b
————————————————————————————————————————————


AUDIO OUTPUT NODES


Node 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="ALC269VC Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals:  [0x3d 0x3d]
  Converter: stream=8, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Speaker Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals:  [0x3d 0x3d]
  Converter: stream=8, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
————————————————————————————————————————————


AUDIO INPUT NODES


Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
  Amp-In vals:  [0x97 0x97]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x23


Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Device: name="ALC269VC Analog", type="Audio", device=0
  Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
  Amp-In vals:  [0x27 0x27]
  Converter: stream=4, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x22
————————————————————————————————————————————


[B]Final codec Verb commands with disabled nodes is:[/B]


01271c10 01271d01 01271ea0 01271f90 01471c20 01471d01 01471e17 01471f90 01571c30 01571d10 01571e31 01571f03 01771cf0 01771d00 01771e00 01771f40 01871c40 01871d50 01871ea1 01571f03 01971cf0 01971d00 01971e00 01971f40 01a71cf0 01a71d00 01a71e00 01a71f40 01b71cf0 01b71d00 01b71e00 01b71f40 01d71cf0 01d71d00 01d71e00 01d71f40 01e71cf0 01e71d00 01e71e00 01e71f40 01470c02


PathMap
Output Devices



[LIST]
[*]Internal Speaker Node 14: 0x14 ->0x0d->0x03, Decimal 20->13->3
[*]External headphone Node 15: 0x15->-0x0c->0x02, Decimal 21->12->2
[/LIST]


Input Devices



[LIST]
[*]Internal Mic Node 12: 0x12->0x22->0x09, Decimal 18->34->9
[*]External Mic Node 18: 0x18->0x23-0x08, Decimal 24->35->8
[/LIST]
 
what script you are used in it ?

I found something is strange. Some guides indicate me follow the AMP with * to determine the pathmap.So I made and patched AppleHDA,but failed.When I patched Mirone's AppleHDA for ALC269VC,only headphone worked,so I campared mine xml to Mirone's platform.xml,I found Mirone's headphone pathmap didnot follow the AMP with *,so I tried to change Mirone's speaker pathmap with my codec and problem was fixed.Either Speraker or headphone works well on my W530.Hope this can help someone.

and this thread is very useful,I followed it to make mine LayoutXX.xml and platform.xml.<
http://forum.osxlatitude.com/index.php?/topic/1946-complete-applehda-patching-guide/>

here is Mirone's Github repo.Thanks to Mirone for sharing.I got the patched ALC269VC from the site.
<
https://github.com/Mirone?tab=activity>
 
Status
Not open for further replies.
Back
Top