Jump to content

AppleHDA Binary Patching


EMlyDinEsH

Recommended Posts

Found a device of class VoodooHDADevice: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/HDEF@1B/VoodooHDADevice


Probing codec #0...
 HDA Codec #0: Realtek ALC269
 HDA Codec ID: 0x10ec0269
       Vendor: 0x10ec
       Device: 0x0269
     Revision: 0x01
     Stepping: 0x00
PCI Subvendor: 0x035b1025
	startNode=1 endNode=2
	Found audio FG nid=1 startNode=2 endNode=36 total=34

Processing audio FG cad=0 nid=1...
Powering up...
Parsing audio FG...
GPIO: 0x40000002 NumGPIO=2 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
 nid 18 0x99a30930 as  3 seq  0 Microphone    Fixed ATAPI   Special Internal Unknown misc 4 NoPresenceDetect
 nid 20 0x99130110 as  1 seq  0 Speaker       Fixed ATAPI   Special Internal Unknown misc 0 NoPresenceDetect
 nid 23 0x411111f0 as 15 seq  0 Speaker       None  1/8     Rear    External Black   misc 0 NoPresenceDetect
 nid 24 0x03a19840 as  4 seq  0 Microphone    Jack  1/8     Left    External Pink    misc 4
 nid 25 0x411111f0 as 15 seq  0 Speaker       None  1/8     Rear    External Black   misc 0 NoPresenceDetect
 nid 26 0x411111f0 as 15 seq  0 Speaker       None  1/8     Rear    External Black   misc 0 NoPresenceDetect
 nid 27 0x411111f0 as 15 seq  0 Speaker       None  1/8     Rear    External Black   misc 0 NoPresenceDetect
Patching widget caps nid=29 0x00400000 -> 0x00700000
 nid 30 0x03451120 as  2 seq  0 SPDIF-out     Jack  Optic   Left    External Black   misc 0 NoPresenceDetect
 nid 33 0x0321101f as  1 seq 15 Headphones    Jack  1/8     Left    External Black   misc 0
Parsing vendor patch...
VHDevice NID= 2 Config=00000000 (audio output  ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID= 3 Config=00000000 (audio output  ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID= 4 Config=00000000 (vendor widget ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID= 5 Config=00000000 (vendor widget ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID= 6 Config=00000000 (audio output  ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID= 7 Config=00000000 (vendor widget ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID= 8 Config=00000000 (audio input   ) Cap=00000000 Ctrl=00000000 -- Conns: 0=35
VHDevice NID= 9 Config=00000000 (audio input   ) Cap=00000000 Ctrl=00000000 -- Conns: 0=34
VHDevice NID=10 Config=00000000 (vendor widget ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID=11 Config=00000000 (audio mixer   ) Cap=00000000 Ctrl=00000000 -- Conns: 0=24 1=25 2=26 3=27 4=29
VHDevice NID=12 Config=00000000 (audio mixer   ) Cap=00000000 Ctrl=00000000 -- Conns: 0=2 1=11
VHDevice NID=13 Config=00000000 (audio mixer   ) Cap=00000000 Ctrl=00000000 -- Conns: 0=3 1=11
VHDevice NID=14 Config=00000000 (vendor widget ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID=15 Config=00000000 (audio mixer   ) Cap=00000000 Ctrl=00000000 -- Conns: 0=2 1=11
VHDevice NID=16 Config=00000000 (vendor widget ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID=17 Config=00000000 (vendor widget ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID=18 Config=99a30930 (pin: Microphon) Cap=00000020 Ctrl=00000000 -- Conns:
VHDevice NID=19 Config=00000000 (vendor widget ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID=20 Config=99130110 (pin: Speaker () Cap=00010014 Ctrl=00000000 -- Conns: 0=12 1=13
VHDevice NID=21 Config=00000000 (vendor widget ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID=22 Config=00000000 (vendor widget ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID=23 Config=411111f0 (pin: Speaker () Cap=00000010 Ctrl=00000000 -- Conns: 0=15
VHDevice NID=24 Config=03a19840 (pin: Microphon) Cap=00001734 Ctrl=00000020 -- Conns: 0=13
VHDevice NID=25 Config=411111f0 (pin: Speaker () Cap=00001724 Ctrl=00000020 -- Conns:
VHDevice NID=26 Config=411111f0 (pin: Speaker () Cap=0000003c Ctrl=00000020 -- Conns: 0=12 1=13
VHDevice NID=27 Config=411111f0 (pin: Speaker () Cap=00000034 Ctrl=00000020 -- Conns: 0=12 1=13
VHDevice NID=28 Config=00000000 (vendor widget ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID=29 Config=00000000 (beep widget   ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID=30 Config=03451120 (pin: SPDIF-out) Cap=00000014 Ctrl=00000040 -- Conns: 0=6
VHDevice NID=31 Config=00000000 (vendor widget ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID=32 Config=00000000 (vendor widget ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID=33 Config=0321101f (pin: Headphone) Cap=0000001c Ctrl=00000000 -- Conns: 0=12 1=13
VHDevice NID=34 Config=00000000 (audio selector) Cap=00000000 Ctrl=00000000 -- Conns: 0=24 1=25 2=26 3=27 4=29 5=11 6=18
VHDevice NID=35 Config=00000000 (audio mixer   ) Cap=00000000 Ctrl=00000000 -- Conns: 0=24 1=25 2=26 3=27 4=29 5=11
Disabling nonaudio...
Disabling useless...
 Disabling nid 11 connection 1 due to disabled child widget.
 Disabling nid 11 connection 2 due to disabled child widget.
 Disabling nid 11 connection 3 due to disabled child widget.
 Disabling nid 15 due to all it's consumers disabled.
 Disabling nid 34 connection 1 due to disabled child widget.
 Disabling nid 34 connection 2 due to disabled child widget.
 Disabling nid 34 connection 3 due to disabled child widget.
 Disabling nid 35 connection 1 due to disabled child widget.
 Disabling nid 35 connection 2 due to disabled child widget.
 Disabling nid 35 connection 3 due to disabled child widget.
Patched pins configuration:
 nid 18 0x99a30930 as  3 seq  0 Microphone    Fixed ATAPI   Special Internal Unknown misc 4 NoPresenceDetect
 nid 20 0x99130110 as  1 seq  0 Speaker       Fixed ATAPI   Special Internal Unknown misc 0 NoPresenceDetect
 nid 23 0x411111f0 as 15 seq  0 Speaker       None  1/8     Rear    External Black   misc 0 NoPresenceDetect [DISABLED]
 nid 24 0x03a19840 as  4 seq  0 Microphone    Jack  1/8     Left    External Pink    misc 4
 nid 25 0x411111f0 as 15 seq  0 Speaker       None  1/8     Rear    External Black   misc 0 NoPresenceDetect [DISABLED]
 nid 26 0x411111f0 as 15 seq  0 Speaker       None  1/8     Rear    External Black   misc 0 NoPresenceDetect [DISABLED]
 nid 27 0x411111f0 as 15 seq  0 Speaker       None  1/8     Rear    External Black   misc 0 NoPresenceDetect [DISABLED]
 nid 30 0x03451120 as  2 seq  0 SPDIF-out     Jack  Optic   Left    External Black   misc 0 NoPresenceDetect
 nid 33 0x0321101f as  1 seq 15 Headphones    Jack  1/8     Left    External Black   misc 0
Parsing pin associations...
4 associations found:
Association 0 (1) out:
 Pin nid=20 seq=0
 Pin nid=33 seq=15
   Redir type=0 jack=15 def=0
Association 1 (2) out:
 Pin nid=30 seq=0
   Redir type=-1 jack=-1 def=0
Association 2 (3) in:
 Pin nid=18 seq=0
   Redir type=-1 jack=-1 def=0
Association 3 (4) in:
 Pin nid=24 seq=0
   Redir type=-1 jack=0 def=0
Building AFG tree...
Tracing association 0 (1)
 Tracing pin 20 with min nid 0
  tracing via nid 20
   tracing via nid 12
    tracing via nid 2
    nid 2 returned 2
    tracing via nid 11
     tracing via nid 24
     tracing via nid 29
   nid 12 returned 2
   tracing via nid 13
    tracing via nid 3
    nid 3 returned 3
    tracing via nid 11
     tracing via nid 24
     tracing via nid 29
   nid 13 returned 3
  nid 20 returned 2
 Pin 20 traced to DAC 2
 Tracing pin 33 with min nid 0 and hpredir 0
  tracing via nid 33
   tracing via nid 12
    tracing via nid 2
    nid 2 returned 2
   nid 12 returned 2
  nid 33 returned 2
 Pin 33 traced to DAC 2 and hpredir 0
Association 0 (1) trace succeeded
Tracing association 1 (2)
 Tracing pin 30 with min nid 0
  tracing via nid 30
   tracing via nid 6
   nid 6 returned 6
  nid 30 returned 6
 Pin 30 traced to DAC 6
Association 1 (2) trace succeeded
Tracing association 2 (3)
 Tracing pin 18 to ADC 8
  tracing via nid 18
   tracing via nid 34
    tracing via nid 9
    nid 9 returned 0
   nid 34 returned 0
  nid 18 returned 0
 Unable to trace pin 18 to ADC 8, undo traces
 Tracing pin 18 to ADC 9
  tracing via nid 18
   tracing via nid 34
    tracing via nid 9
    nid 9 returned 1
   nid 34 returned 1
  nid 18 returned 1
 Pin 18 traced to ADC 9
Association 2 (3) trace succeeded
Tracing association 3 (4)
 Tracing pin 24 to ADC 8
  tracing via nid 24
   tracing via nid 11
    tracing via nid 12
    nid 12 busy by association 0
    tracing via nid 13
     tracing via nid 20
     nid 20 busy by association 0
     tracing via nid 24
     nid 24 returned 0
     tracing via nid 33
     nid 33 busy by association 0
    nid 13 returned 0
    tracing via nid 34
    nid 34 busy by association 2
    tracing via nid 35
     tracing via nid 8
     nid 8 returned 1
    nid 35 returned 1
   nid 11 returned 1
   tracing via nid 34
   nid 34 busy by association 2
   tracing via nid 35
    tracing via nid 8
    nid 8 returned 1
   nid 35 returned 1
  nid 24 returned 1
 Pin 24 traced to ADC 8
Association 3 (4) trace succeeded
Tracing input monitor
 Tracing nid 11 to out
  tracing via nid 11
   tracing via nid 12
   nid 12 found output association 0
   tracing via nid 13
    tracing via nid 20
    nid 20 found output association 0
    tracing via nid 24
    nid 24 busy by input association 3
    tracing via nid 33
    nid 33 found output association 0
   nid 13 returned 1
   tracing via nid 34
   nid 34 busy by input association 2
   tracing via nid 35
   nid 35 busy by input association 3
  nid 11 returned 1
 nid 11 is input monitor
 Tracing nid 35 to out
  tracing via nid 35
   tracing via nid 8
   nid 8 busy by input association 3
  nid 35 returned 0
Tracing other input monitors
 Tracing nid 18 to out
  tracing via nid 18
   tracing via nid 34
   nid 34 busy by input association 2
  nid 18 returned 0
 Tracing nid 24 to out
  tracing via nid 24
   tracing via nid 11
   nid 11 busy by input association 3
   tracing via nid 34
   nid 34 busy by input association 2
   tracing via nid 35
   nid 35 busy by input association 3
  nid 24 returned 0
Tracing beeper
 Tracing nid 29 to out
  tracing via nid 29
   tracing via nid 11
   nid 11 busy by input association 3
   tracing via nid 34
   nid 34 busy by input association 2
   tracing via nid 35
   nid 35 busy by input association 3
  nid 29 returned 0
Disabling unassociated widgets...
Disabling nonselected inputs...
Disabling useless...
 Disabling nid 13 connection 0 due to disabled child widget.
 Disabling nid 13 due to all it's consumers disabled.
Disabling crossassociated connections...
 Disabling connection input mixer nid 35 conn 5 to monitor 11.
Disabling useless...
Binding associations to channels...
Assigning names to signal sources...
Parsing Ctls...
Assigning mixers to the tree...
Preparing pin controls...
AFG commit...
GPIO init: data=0x00000000 mask=0x00000000 dir=0x00000000
GPIO commit: data=0x00000001 mask=0x00000001 dir=0x00000001
Creating PCM devices...
pcmAttach: HDA Realtek ALC269 PCM #0 Analog at cad 0 nid 1
+--------------------------------------+
| DUMPING PCM Playback/Record Channels |
+--------------------------------------+

Playback:

     Stream cap: 0x00000001
                 PCM
        PCM cap: 0x000e0560
                 16 20 24 bits, 44 48 96 192 KHz
            DAC: 2

Record:

     Stream cap: 0x00000001
                 PCM
        PCM cap: 0x000e0560
                 16 20 24 bits, 44 48 96 192 KHz
            ADC: 9

+-------------------------------+
| DUMPING Playback/Record Paths |
+-------------------------------+

Playback:

    nid=20 [pin: Speaker (ATAPI)]
      |
      + <- nid=12 [audio mixer] bindSeq=00008001
             |
             + <- nid=2 [audio output] [src: pcm] bindSeq=00008001

             + <- nid=11 [audio mixer] bindSeq=00000001
                    |
                    + <- nid=24 [pin: Microphone (Pink Left)] [src: mic] bindSeq=00000001

                    + <- nid=29 [beep widget]

    nid=33 [pin: Headphones (Black Left)]
      |
      + <- nid=12 [audio mixer] bindSeq=00008001
             |
             + <- nid=2 [audio output] [src: pcm] bindSeq=00008001

             + <- nid=11 [audio mixer] bindSeq=00000001
                    |
                    + <- nid=24 [pin: Microphone (Pink Left)] [src: mic] bindSeq=00000001

                    + <- nid=29 [beep widget]

Record:

    nid=9 [audio input]
      |
      + <- nid=34 [audio selector] [src: speaker, monitor] bindSeq=00000001

             |
             + <- nid=29 [beep widget]
             + <- nid=18 [pin: Microphone (ATAPI)] [src: monitor] bindSeq=00000001


Input Mix:

    nid=35 [audio mixer]
      |
      + <- nid=24 [pin: Microphone (Pink Left)] [src: mic] bindSeq=00000001

      + <- nid=29 [beep widget]

+-------------------------+
| DUMPING Volume Controls |
+-------------------------+

Master Volume (OSS: vol)
   |
   +- control  1 (nid   2 out):    dir - out oss: vol, pcm -65/+0dB (88 steps)
   +- control  6 (nid  12 in   0): dir - out oss: vol, pcm mute
   +- control  7 (nid  12 in   1): dir - out oss: vol, igain mute
   +- control  9 (nid  20 out):    dir - out oss: vol mute
   +- control 12 (nid  33 out):    dir - out oss: vol mute

PCM Volume (OSS: pcm)
   |
   +- control  1 (nid   2 out):    dir - out oss: vol, pcm -65/+0dB (88 steps)
   +- control  6 (nid  12 in   0): dir - out oss: vol, pcm mute

Microphone2 Volume (OSS: monitor)
   |
   +- control  8 (nid  18 in   0): dir - in oss: monitor +0/+36dB (4 steps)

Recording Level (OSS: rec)
   |
   +- control  3 (nid   9 in   0): dir - in oss: rec -16/+30dB (32 steps) + mute

Input Monitoring Level (OSS: igain)
   |
   +- control  7 (nid  12 in   1): dir - out oss: vol, igain mute

OSS mixer initialization...
Recsel (line, mic, cd, monitor): nid 34 source 6 select
Registering PCM channels...
pcmAttach: HDA Realtek ALC269 PCM #1 Digital at cad 0 nid 1
+--------------------------------------+
| DUMPING PCM Playback/Record Channels |
+--------------------------------------+

Playback:

     Stream cap: 0x00000005
                 AC3 PCM
        PCM cap: 0x000e05e0
                 16 20 24 bits, 44 48 88 96 192 KHz
            DAC: 6

+-------------------------------+
| DUMPING Playback/Record Paths |
+-------------------------------+

Playback:

    nid=30 [pin: SPDIF-out (Black Left)]
      |
      + <- nid=6 [audio output] [src: pcm] bindSeq=00000001


+-------------------------+
| DUMPING Volume Controls |
+-------------------------+

OSS mixer initialization...
Registering PCM channels...
pcmAttach: HDA Realtek ALC269 PCM #2 Analog at cad 0 nid 1
+--------------------------------------+
| DUMPING PCM Playback/Record Channels |
+--------------------------------------+

Record:

     Stream cap: 0x00000001
                 PCM
        PCM cap: 0x000e0560
                 16 20 24 bits, 44 48 96 192 KHz
            ADC: 8

+-------------------------------+
| DUMPING Playback/Record Paths |
+-------------------------------+

Record:

    nid=8 [audio input]
      |
      + <- nid=35 [audio mixer] [src: mix] bindSeq=00000001

             |
             + <- nid=24 [pin: Microphone (Pink Left)] [src: mic] bindSeq=00000001

             + <- nid=29 [beep widget]

+-------------------------+
| DUMPING Volume Controls |
+-------------------------+

Master Volume (OSS: vol)
   |
   +- control  4 (nid  11 in   0): dir - in oss: vol, igain -34/+12dB (32 steps) + mute
   +- control  5 (nid  11 in   4): dir - in oss: vol, speaker, igain -34/+12dB (32 steps) + mute

Microphone Volume (OSS: mic)
   |
   +- control 11 (nid  24 in   0): dir - in oss: mic +0/+36dB (4 steps)
   +- control 13 (nid  35 in   0): dir - in oss: mic, rec mute

Speaker/Beep Volume (OSS: speaker)
   |
   +- control  5 (nid  11 in   4): dir - in oss: vol, speaker, igain -34/+12dB (32 steps) + mute
   +- control 14 (nid  35 in   4): dir - in oss: speaker, rec mute

Recording Level (OSS: rec)
   |
   +- control  2 (nid   8 in   0): dir - in oss: mix, rec -16/+30dB (32 steps) + mute
   +- control 13 (nid  35 in   0): dir - in oss: mic, rec mute
   +- control 14 (nid  35 in   4): dir - in oss: speaker, rec mute

Input Mix Level (OSS: mix)
   |
   +- control  2 (nid   8 in   0): dir - in oss: mix, rec -16/+30dB (32 steps) + mute

Input Monitoring Level (OSS: igain)
   |
   +- control  4 (nid  11 in   0): dir - in oss: vol, igain -34/+12dB (32 steps) + mute
   +- control  5 (nid  11 in   4): dir - in oss: vol, speaker, igain -34/+12dB (32 steps) + mute

OSS mixer initialization...
Registering PCM channels...
FG config/quirks: gpio0 forcestereo ivref50 ivref80 ivref100 ivref
HP switch init...

+-------------------+
| DUMPING HDA NODES |
+-------------------+

Default Parameter
-----------------
     Stream cap: 0x00000001
                 PCM
        PCM cap: 0x000e0560
                 16 20 24 bits, 44 48 96 192 KHz
         IN amp: 0x00000000
        OUT amp: 0x00000000

            nid: 2
           Name: audio output
     Widget cap: 0x0000001d
                 STEREO
    Association: 0 (0x00008001)
            OSS: pcm (pcm)
     Stream cap: 0x00000001
                 PCM
        PCM cap: 0x000e0560
                 16 20 24 bits, 44 48 96 192 KHz
     Output amp: 0x00025757
                 mute=0 step=87 size=2 offset=87
     Output val: [0x3F 0x3F]

            nid: 3 [DISABLED]
           Name: audio output
     Widget cap: 0x0000001d
                 STEREO
     Stream cap: 0x00000001
                 PCM
        PCM cap: 0x000e0560
                 16 20 24 bits, 44 48 96 192 KHz
     Output amp: 0x00025757
                 mute=0 step=87 size=2 offset=87
     Output val: [0x57 0x57]

            nid: 4 [DISABLED]
           Name: vendor widget
     Widget cap: 0x00f00000

            nid: 5 [DISABLED]
           Name: vendor widget
     Widget cap: 0x00f00000

            nid: 6
           Name: audio output
     Widget cap: 0x00000211
                 DIGITAL STEREO
    Association: 1 (0x00000001)
            OSS: pcm (pcm)
     Stream cap: 0x00000001
                 PCM
        PCM cap: 0x000e05e0
                 16 20 24 bits, 44 48 88 96 192 KHz

            nid: 7 [DISABLED]
           Name: vendor widget
     Widget cap: 0x00f00000

            nid: 8
           Name: audio input
     Widget cap: 0x0010011b
                 STEREO
    Association: 3 (0x00000001)
     Stream cap: 0x00000001
                 PCM
        PCM cap: 0x000e0560
                 16 20 24 bits, 44 48 96 192 KHz
      Input amp: 0x80051f0b
                 mute=1 step=31 size=5 offset=11
      Input val: [0x80 0x80] 
    connections: 1 enabled 1
          |
          + <- nid=35 [audio mixer]

            nid: 9
           Name: audio input
     Widget cap: 0x0010011b
                 STEREO
    Association: 2 (0x00000001)
     Stream cap: 0x00000001
                 PCM
        PCM cap: 0x000e0560
                 16 20 24 bits, 44 48 96 192 KHz
      Input amp: 0x80051f0b
                 mute=1 step=31 size=5 offset=11
      Input val: [0x16 0x16] 
    connections: 1 enabled 1
          |
          + <- nid=34 [audio selector]

            nid: 10 [DISABLED]
           Name: vendor widget
     Widget cap: 0x00f00000

            nid: 11
           Name: audio mixer
     Widget cap: 0x0020010b
                 STEREO
    Association: 3 (0x00000001)
            OSS:  (igain)
      Input amp: 0x80051f17
                 mute=1 step=31 size=5 offset=23
      Input val: [0x80 0x80] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x80 0x80] 
    connections: 5 enabled 2
          |
          + <- nid=24 [pin: Microphone (Pink Left)]
          + [DISABLED] <- nid=25 [pin: Speaker (None)] [DISABLED]
          + [DISABLED] <- nid=26 [pin: Speaker (None)] [DISABLED]
          + [DISABLED] <- nid=27 [pin: Speaker (None)] [DISABLED]
          + <- nid=29 [beep widget]

            nid: 12
           Name: audio mixer
     Widget cap: 0x0020010b
                 STEREO
    Association: 0 (0x00008001)
            OSS:  (igain)
      Input amp: 0x80000000
                 mute=1 step=0 size=0 offset=0
      Input val: [0x00 0x00] [0x80 0x80] 
    connections: 2 enabled 2
          |
          + <- nid=2 [audio output]
          + <- nid=11 [audio mixer]

            nid: 13 [DISABLED]
           Name: audio mixer
     Widget cap: 0x0020010b
                 STEREO
    Association: -2 (0x00000000)
      Input amp: 0x80000000
                 mute=1 step=0 size=0 offset=0
      Input val: [0x00 0x00] [0x80 0x80] 
    connections: 2 enabled 1
          |
          + [DISABLED] <- nid=3 [audio output] [DISABLED]
          + <- nid=11 [audio mixer]

            nid: 14 [DISABLED]
           Name: vendor widget
     Widget cap: 0x00f00000

            nid: 15 [DISABLED]
           Name: audio mixer
     Widget cap: 0x0020010a
      Input amp: 0x80000000
                 mute=1 step=0 size=0 offset=0
      Input val: [0x00 0x00] [0x80 0x80] 
    connections: 2 enabled 2
          |
          + <- nid=2 [audio output]
          + <- nid=11 [audio mixer]

            nid: 16 [DISABLED]
           Name: vendor widget
     Widget cap: 0x00f00000

            nid: 17 [DISABLED]
           Name: vendor widget
     Widget cap: 0x00f00000

            nid: 18
           Name: pin: Microphone (ATAPI)
     Widget cap: 0x0040000b
                 STEREO
    Association: 2 (0x00000001)
            OSS: monitor (monitor)
        Pin cap: 0x00000020
                 IN
     Pin config: 0x99a30930
    Pin control: 0x00000020 IN
      Input amp: 0x002f0300
                 mute=0 step=3 size=47 offset=0
      Input val: 

            nid: 19 [DISABLED]
           Name: vendor widget
     Widget cap: 0x00f00000

            nid: 20
           Name: pin: Speaker (ATAPI)
     Widget cap: 0x0040018d
                 UNSOL STEREO
    Association: 0 (0x00000001)
        Pin cap: 0x00010014
                 PDC OUT EAPD
     Pin config: 0x99130110
    Pin control: 0x00000040 OUT
           EAPD: 0x00000002
     Output amp: 0x80000000
                 mute=1 step=0 size=0 offset=0
     Output val: [0x00 0x00]
    connections: 2 enabled 1
          |
          + <- nid=12 [audio mixer] (selected)
          + [DISABLED] <- nid=13 [audio mixer] [DISABLED]

            nid: 21 [DISABLED]
           Name: vendor widget
     Widget cap: 0x00f00000

            nid: 22 [DISABLED]
           Name: vendor widget
     Widget cap: 0x00f00000

            nid: 23 [DISABLED]
           Name: pin: Speaker (None)
     Widget cap: 0x0040010c
        Pin cap: 0x00000010
                 OUT
     Pin config: 0x411111f0
    Pin control: 0x00000000
     Output amp: 0x80000000
                 mute=1 step=0 size=0 offset=0
     Output val: [0x80 0x80]
    connections: 1 enabled 1
          |
          + <- nid=15 [audio mixer] [DISABLED]

            nid: 24
           Name: pin: Microphone (Pink Left)
     Widget cap: 0x0040018f
                 UNSOL STEREO
    Association: 3 (0x00000001)
            OSS: mic (mic)
        Pin cap: 0x00001734
                 PDC OUT IN VREF[ 50 80 GROUND HIZ ]
     Pin config: 0x03a19840
    Pin control: 0x00000024 IN VREFs
     Output amp: 0x80000000
                 mute=1 step=0 size=0 offset=0
     Output val: [0x00 0x00]
      Input amp: 0x002f0300
                 mute=0 step=3 size=47 offset=0
      Input val: [0x02 0x02] 
    connections: 1 enabled 0
          |
          + [DISABLED] <- nid=13 [audio mixer] [DISABLED]

            nid: 25 [DISABLED]
           Name: pin: Speaker (None)
     Widget cap: 0x0040008b
                 UNSOL STEREO
        Pin cap: 0x00001724
                 PDC IN VREF[ 50 80 GROUND HIZ ]
     Pin config: 0x411111f0
    Pin control: 0x00000000
      Input amp: 0x002f0300
                 mute=0 step=3 size=47 offset=0
      Input val: 

            nid: 26 [DISABLED]
           Name: pin: Speaker (None)
     Widget cap: 0x0040018f
                 UNSOL STEREO
        Pin cap: 0x0000003c
                 PDC HP OUT IN
     Pin config: 0x411111f0
    Pin control: 0x00000000
     Output amp: 0x80000000
                 mute=1 step=0 size=0 offset=0
     Output val: [0x80 0x80]
      Input amp: 0x002f0300
                 mute=0 step=3 size=47 offset=0
      Input val: [0x00 0x00] [0x00 0x00] 
    connections: 2 enabled 2
          |
          + <- nid=12 [audio mixer] (selected)
          + <- nid=13 [audio mixer] [DISABLED]

            nid: 27 [DISABLED]
           Name: pin: Speaker (None)
     Widget cap: 0x0040018f
                 UNSOL STEREO
        Pin cap: 0x00000034
                 PDC OUT IN
     Pin config: 0x411111f0
    Pin control: 0x00000000
     Output amp: 0x80000000
                 mute=1 step=0 size=0 offset=0
     Output val: [0x80 0x80]
      Input amp: 0x002f0300
                 mute=0 step=3 size=47 offset=0
      Input val: [0x00 0x00] [0x00 0x00] 
    connections: 2 enabled 2
          |
          + <- nid=12 [audio mixer] (selected)
          + <- nid=13 [audio mixer] [DISABLED]

            nid: 28 [DISABLED]
           Name: vendor widget
     Widget cap: 0x00f00000

            nid: 29
           Name: beep widget
     Widget cap: 0x00700000
    Association: -2 (0x00000000)
            OSS: speaker (speaker)

            nid: 30
           Name: pin: SPDIF-out (Black Left)
     Widget cap: 0x00400381
                 DIGITAL UNSOL STEREO
    Association: 1 (0x00000001)
        Pin cap: 0x00000014
                 PDC OUT
     Pin config: 0x03451120
    Pin control: 0x00000040 OUT
    connections: 1 enabled 1
          |
          + <- nid=6 [audio output]

            nid: 31 [DISABLED]
           Name: vendor widget
     Widget cap: 0x00f00000

            nid: 32 [DISABLED]
           Name: vendor widget
     Widget cap: 0x00f00040
                 PROC

            nid: 33
           Name: pin: Headphones (Black Left)
     Widget cap: 0x0040018d
                 UNSOL STEREO
    Association: 0 (0x00008000)
        Pin cap: 0x0000001c
                 PDC HP OUT
     Pin config: 0x0321101f
    Pin control: 0x000000c0 HP OUT
     Output amp: 0x80000000
                 mute=1 step=0 size=0 offset=0
     Output val: [0x00 0x00]
    connections: 2 enabled 1
          |
          + <- nid=12 [audio mixer] (selected)
          + [DISABLED] <- nid=13 [audio mixer] [DISABLED]

            nid: 34
           Name: audio selector
     Widget cap: 0x0030010b
                 STEREO
    Association: 2 (0x00000001)
            OSS: speaker, monitor
    connections: 7 enabled 2
          |
          + [DISABLED] <- nid=24 [pin: Microphone (Pink Left)]
          + [DISABLED] <- nid=25 [pin: Speaker (None)] [DISABLED]
          + [DISABLED] <- nid=26 [pin: Speaker (None)] [DISABLED]
          + [DISABLED] <- nid=27 [pin: Speaker (None)] [DISABLED]
          + <- nid=29 [beep widget]
          + [DISABLED] <- nid=11 [audio mixer]
          + <- nid=18 [pin: Microphone (ATAPI)] (selected)

            nid: 35
           Name: audio mixer
     Widget cap: 0x0020010b
                 STEREO
    Association: 3 (0x00000001)
            OSS: mix (mix)
      Input amp: 0x80000000
                 mute=1 step=0 size=0 offset=0
      Input val: [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x00 0x00] [0x00 0x00] 
    connections: 6 enabled 2
          |
          + <- nid=24 [pin: Microphone (Pink Left)]
          + [DISABLED] <- nid=25 [pin: Speaker (None)] [DISABLED]
          + [DISABLED] <- nid=26 [pin: Speaker (None)] [DISABLED]
          + [DISABLED] <- nid=27 [pin: Speaker (None)] [DISABLED]
          + <- nid=29 [beep widget]
          + [DISABLED] <- nid=11 [audio mixer]


Probing codec #3...
 HDA Codec #3: Intel Ibex Peak HDMI
 HDA Codec ID: 0x80862804
       Vendor: 0x8086
       Device: 0x2804
     Revision: 0x00
     Stepping: 0x00
PCI Subvendor: 0x035b1025
	startNode=1 endNode=2
	Found audio FG nid=1 startNode=2 endNode=8 total=6

Processing audio FG cad=3 nid=1...
Powering up...
Parsing audio FG...
GPIO: 0x00000000 NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0
 nid  4 0x18560010 as  1 seq  0 Digital-out   Jack  Digital Special Internal Unknown misc 0
 nid  5 0x58560020 as  2 seq  0 Digital-out   None  Digital Special Internal Unknown misc 0
 nid  6 0x58560030 as  3 seq  0 Digital-out   None  Digital Special Internal Unknown misc 0
Parsing vendor patch...
VHDevice NID= 2 Config=00000000 (audio output  ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID= 3 Config=00000000 (audio output  ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID= 4 Config=18560010 (pin: Digital-o) Cap=09000094 Ctrl=00000040 -- Conns: 0=2 1=3
VHDevice NID= 5 Config=58560020 (pin: Digital-o) Cap=09000094 Ctrl=00000040 -- Conns: 0=2 1=3
VHDevice NID= 6 Config=58560030 (pin: Digital-o) Cap=09000094 Ctrl=00000040 -- Conns: 0=2 1=3
VHDevice NID= 7 Config=00000000 (vendor widget ) Cap=00000000 Ctrl=00000000 -- Conns:
Disabling nonaudio...
Disabling useless...
Patched pins configuration:
 nid  4 0x18560010 as  1 seq  0 Digital-out   Jack  Digital Special Internal Unknown misc 0
 nid  5 0x58560020 as  2 seq  0 Digital-out   None  Digital Special Internal Unknown misc 0 [DISABLED]
 nid  6 0x58560030 as  3 seq  0 Digital-out   None  Digital Special Internal Unknown misc 0 [DISABLED]
Parsing pin associations...
1 associations found:
Association 0 (1) out:
 Pin nid=4 seq=0
   Redir type=-1 jack=0 def=0
Building AFG tree...
Tracing association 0 (1)
 Tracing pin 4 with min nid 0
  tracing via nid 4
   tracing via nid 2
   nid 2 returned 2
   tracing via nid 3
   nid 3 returned 3
  nid 4 returned 2
 Pin 4 traced to DAC 2
Association 0 (1) trace succeeded
Tracing input monitor
Tracing other input monitors
Tracing beeper
Disabling unassociated widgets...
Disabling nonselected inputs...
Disabling useless...
Disabling crossassociated connections...
Disabling useless...
Binding associations to channels...
Assigning names to signal sources...
Parsing Ctls...
Assigning mixers to the tree...
Preparing pin controls...
AFG commit...
Creating PCM devices...
pcmAttach: HDA Intel Ibex Peak HDMI PCM #0 DisplayPort at cad 3 nid 1
+--------------------------------------+
| DUMPING PCM Playback/Record Channels |
+--------------------------------------+

Playback:

     Stream cap: 0x00000005
                 AC3 PCM
        PCM cap: 0x001e07f0
                 16 20 24 32 bits, 32 44 48 88 96 176 192 KHz
            DAC: 2

+-------------------------------+
| DUMPING Playback/Record Paths |
+-------------------------------+

Playback:

    nid=4 [pin: Digital-out (HDMI)]
      |
      + <- nid=2 [audio output] [src: pcm] bindSeq=00000001


+-------------------------+
| DUMPING Volume Controls |
+-------------------------+

Master Volume (OSS: vol)
   |
   +- control  1 (nid   4 out):    dir - out oss: vol, pcm mute

PCM Volume (OSS: pcm)
   |
   +- control  1 (nid   4 out):    dir - out oss: vol, pcm mute

OSS mixer initialization...
Registering PCM channels...
FG config/quirks: gpio0 forcestereo ivref50 ivref80 ivref100 ivref
HP switch init...

+-------------------+
| DUMPING HDA NODES |
+-------------------+

Default Parameter
-----------------
         IN amp: 0x00000000
        OUT amp: 0x00000000

            nid: 2
           Name: audio output
     Widget cap: 0x00006611
                 PWR DIGITAL 8CH
    Association: 0 (0x00000001)
            OSS: pcm (pcm)
     Stream cap: 0x00000005
                 AC3 PCM
        PCM cap: 0x001e07f0
                 16 20 24 32 bits, 32 44 48 88 96 176 192 KHz

            nid: 3 [DISABLED]
           Name: audio output
     Widget cap: 0x00006611
                 PWR DIGITAL 8CH
     Stream cap: 0x00000005
                 AC3 PCM
        PCM cap: 0x001e07f0
                 16 20 24 32 bits, 32 44 48 88 96 176 192 KHz

            nid: 4
           Name: pin: Digital-out (HDMI)
     Widget cap: 0x0040778d
                 PWR DIGITAL UNSOL 8CH
    Association: 0 (0x00000001)
        Pin cap: 0x09000094
                 PDC OUT HDMI DP HBR
     Pin config: 0x18560010
    Pin control: 0x00000040 OUT
     Output amp: 0x80000000
                 mute=1 step=0 size=0 offset=0
     Output val: [0x00 0x00]
    connections: 2 enabled 1
          |
          + <- nid=2 [audio output] (selected)
          + [DISABLED] <- nid=3 [audio output] [DISABLED]

            nid: 5 [DISABLED]
           Name: pin: Digital-out (HDMI)
     Widget cap: 0x0040778d
                 PWR DIGITAL UNSOL 8CH
        Pin cap: 0x09000094
                 PDC OUT HDMI DP HBR
     Pin config: 0x58560020
    Pin control: 0x00000000
     Output amp: 0x80000000
                 mute=1 step=0 size=0 offset=0
     Output val: [0x00 0x80]
    connections: 2 enabled 2
          |
          + <- nid=2 [audio output] (selected)
          + <- nid=3 [audio output] [DISABLED]

            nid: 6 [DISABLED]
           Name: pin: Digital-out (HDMI)
     Widget cap: 0x0040778d
                 PWR DIGITAL UNSOL 8CH
        Pin cap: 0x09000094
                 PDC OUT HDMI DP HBR
     Pin config: 0x58560030
    Pin control: 0x00000000
     Output amp: 0x80000000
                 mute=1 step=0 size=0 offset=0
     Output val: [0x00 0x80]
    connections: 2 enabled 2
          |
          + <- nid=2 [audio output] (selected)
          + <- nid=3 [audio output] [DISABLED]

            nid: 7 [DISABLED]
           Name: vendor widget
     Widget cap: 0x00f00000


logout

[Process completed] 

Here is working voodoohda's dump ... problem is somtimes cracking audio etc ....       pls send me a patched Applehda codec alc269 for mountain lion 10.8.2   

 

dump code ....

Link to comment
Share on other sites

that is the codec dump from lunix ...  

Codec: Realtek ALC271X
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0269
Subsystem Id: 0x1025035b
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=2, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="ALC271X Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals:  [0x57 0x57]
  Converter: stream=8, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x1d: 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:  [0x57 0x57]
  Converter: stream=8, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
  Device: name="ALC271X Digital", type="SPDIF", device=1
  Converter: stream=8, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x8b 0x8b]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Connection: 1
     0x23
Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Control: name="Capture Switch", index=0, device=0
  Control: name="Capture Volume", index=0, device=0
  Device: name="ALC271X Analog", type="Audio", device=0
  Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x13 0x13]
  Converter: stream=4, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Connection: 1
     0x22
Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Beep Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
  Control: name="Beep Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
  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 0x0e [Vendor Defined Widget] wcaps 0xf00000: Mono
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 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x12 [Pin Complex] wcaps 0x40000b: Stereo Amp-In
  Control: name="Internal Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x99a30930: [Fixed] Mic at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=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 0x99130110: [Fixed] Speaker at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 2
     0x0c 0x0d*
Node 0x15 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x16 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x17 [Pin Complex] wcaps 0x40010c: 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:
  Connection: 1
     0x0f
Node 0x18 [Pin Complex] wcaps 0x40018f: 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=0x2f, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00001734: IN OUT Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x03a19840: [Jack] Mic at Ext Left
    Conn = 1/8, Color = Pink
    DefAssociation = 0x4, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=02, enabled=1
  Connection: 1
     0x0d
Node 0x19 [Pin Complex] wcaps 0x40008b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
  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
Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000003c: IN OUT HP Detect
  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
  Unsolicited: tag=00, enabled=0
  Connection: 2
     0x0c* 0x0d
Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000034: IN OUT Detect
  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
  Unsolicited: tag=00, enabled=0
  Connection: 2
     0x0c* 0x0d
Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x00000020: IN
  Pin Default 0x4017992d: [N/A] Speaker at Ext N/A
    Conn = Analog, Color = Pink
    DefAssociation = 0x2, Sequence = 0xd
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x1e [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x03451120: [Jack] SPDIF Out at Ext Left
    Conn = Optical, Color = Black
    DefAssociation = 0x2, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x06
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=25
Node 0x21 [Pin Complex] wcaps 0x40018d: 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 0x0000001c: OUT HP Detect
  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
  Connection: 2
     0x0c* 0x0d
Node 0x22 [Audio Selector] wcaps 0x30010b: Stereo Amp-In
  Amp-In caps: N/A
  Amp-In vals:  [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [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
Link to comment
Share on other sites

Hi EMlyDinEsH

 

Really appreciate your cool work on Elan trackpads etc. It's ace!

 

I have an Acer V5-171 that is running as an almost perfect hackbook.  I have a patched AppleHDA kext and it works apart from the internal mike.  This guy https://osxlatitude.com/index.php?/topic/2551-internal-mic-not-working/ has been posting on forums with the same machine - did you ever find time to check what the issue was with his laptop configuration?  It's the same model as mine (I think) hence the interest.

 

** Update **

 

I downloaded an ALC269 kext from OSX86.  It showed a sound output device but no audio plays (speakers or headphones).  However, the internal mic works!  Is there a way to take the working mic definition from that text and patch it into the otherwise fully working kext I was using?

 

cheers, sem

Link to comment
Share on other sites

Hi EMlyDinEsH

 

Really appreciate your cool work on Elan trackpads etc. It's ace!

 

I have an Acer V5-171 that is running as an almost perfect hackbook.  I have a patched AppleHDA kext and it works apart from the internal mike.  This guy https://osxlatitude.com/index.php?/topic/2551-internal-mic-not-working/ has been posting on forums with the same machine - did you ever find time to check what the issue was with his laptop configuration?  It's the same model as mine (I think) hence the interest.

 

** Update **

 

I downloaded an ALC269 kext from OSX86.  It showed a sound output device but no audio plays (speakers or headphones).  However, the internal mic works!  Is there a way to take the working mic definition from that text and patch it into the otherwise fully working kext I was using?

 

cheers, sem

 

get the codec dump from linux and send me so i can take a look at that.

Link to comment
Share on other sites

Hi EMlyDinEsH

 

Thanks man - I didn't want to give you yet another codec dump to look at but I've been comparing the hex of two kexts and my eyes hurt. Here we go:

 

I'm currently using 10.8.4 - the laptop has an HD4000 in it - is HDMI audio related to the audio hardware or is that down to DSDT?  HDMI audio doesn't work at the moment - using my current AppleHDA it doesn't show as an output.  Using VoodooHDA 2.83, it shows but is silent.

 

Here's my current DSDT HDEF extract:

 

 

        Device (HDEF)
        {
            Name (_ADR, 0x001B0000)
            OperationRegion (HDAR, PCI_Config, 0x4C, 0x10)
            Field (HDAR, WordAcc, NoLock, Preserve)
            {
                DCKA,   1, 
                        Offset (0x01), 
                DCKM,   1, 
                    ,   6, 
                DCKS,   1, 
                        Offset (0x08), 
                    ,   15, 
                PMES,   1
            }
 
            Method (_PRW, 0, NotSerialized)
            {
                If (WKMD)
                {
                    Return (Package (0x02)
                    {
                        0x0D, 
                        0x04
                    })
                }
                Else
                {
                    Return (Package (0x02)
                    {
                        0x0D, 
                        Zero
                    })
                }
            }
 
            Method (_DSM, 4, NotSerialized)
            {
                Store (Package (0x14)
                    {
                        "AAPL,slot-name", 
                        Buffer (0x09)
                        {
                            "built-in"
                        }, 
 
                        "codec-id", 
                        Buffer (0x04)
                        {
                            0x3E, 0x29, 0x00, 0x00
                        }, 
 
                        "built-in", 
                        Buffer (One)
                        {
                            0x00
                        }, 
 
                        "name", 
                        Buffer (0x0F)
                        {
                            "Realtek ALC269"
                        }, 
 
                        "model", 
                        Buffer (0x10)
                        {
                            "Realtek ALC271X"
                        }, 
 
                        "device-type", 
                        Buffer (0x25)
                        {
                            "High Definition Audio Controller"
                        }, 
 
                        "layout-id", 
                        Buffer (0x04)
                        {
                            0x1C, 0x00, 0x00, 0x00
                        }, 
 
                        "device_type", 
                        Buffer (0x06)
                        {
                            "Sound"
                        }, 
 
                        "hda-gfx", 
                        Buffer (0x0A)
                        {
                            "onboard-2"
                        }, 
 
                        "PinConfigurations", 
                        Buffer (Zero) {}
                    }, Local0)
                DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                Return (Local0)
            }
        }

sem

Acer V5-171 Codec Dump.txt

Link to comment
Share on other sites

Hi EMlyDinEsH,

 

Thanks for posting your AppleHDA patching guides, 

 

My codec uses ALC275 not ALC260, I dumped my codec info from Ubuntu and tried to follow this guide but i just cant get things to work, I recently created an all new DSDT and got all the patches for audio in there and its working but with a very old SL AppleHDA & modified IOAudioFamily which is not nice.

 

I am trying to get back to current revisions of OSX kexts (10.8.5-S1) which is where it all falls apart as i don't seem to be able to take the info in your guide and apply it to AppleHDA. I tried taking the verb info from the old patched (for ALC275) SL AppleHDA but i think there must be a big difference with the way things are patched in 10.8.x

I'm getting stuck when creating the layouts in AppleHDA and the layout.xml as i don't have layout.xml in the SL version so I cant use it as a reference . . and i just cant seem to make sense of it.

I could really do with some help, the attached archive contains the codec dump from linux and modified verbs using Signal64's script (takes codec-dump text file and converts it to modified verbs) along with my DSDT, I have also included the old (but working) SL kext's as reference, and untouched AppleHDA (10.8.5-S1) I'd appreciate any help or advice you can give.

 

Many Thanks

Jay

Archive.zip

AppleHDA.kext.zip

Link to comment
Share on other sites

Hi EMlyDinEsH,

 

Thanks for posting your AppleHDA patching guides, 

 

My codec uses ALC275 not ALC260, I dumped my codec info from Ubuntu and tried to follow this guide but i just cant get things to work, I recently created an all new DSDT and got all the patches for audio in there and its working but with a very old SL AppleHDA & modified IOAudioFamily which is not nice.

 

I am trying to get back to current revisions of OSX kexts (10.8.5-S1) which is where it all falls apart as i don't seem to be able to take the info in your guide and apply it to AppleHDA. I tried taking the verb info from the old patched (for ALC275) SL AppleHDA but i think there must be a big difference with the way things are patched in 10.8.x

 

I'm getting stuck when creating the layouts in AppleHDA and the layout.xml as i don't have layout.xml in the SL version so I cant use it as a reference . . and i just cant seem to make sense of it.

 

I could really do with some help, the attached archive contains the codec dump from linux and modified verbs using Signal64's script (takes codec-dump text file and converts it to modified verbs) along with my DSDT, I have also included the old (but working) SL kext's as reference, and untouched AppleHDA (10.8.5-S1) I'd appreciate any help or advice you can give.

 

Many Thanks

Jay

 

Please try the attachment.

ALC275 10.8.5.zip

Link to comment
Share on other sites

Please try the attachment.

 

Hi there,

 

Many thanks for taking a look at my sound issues and having a go at trying to get it to work, I've just finished trying out the DSDT and AppleHDA with the following results.

 

1. Once OSX is booted, there is the speaker icon in the top menu bar and i can adjust the volume level with the appropriate fn keys and the on screen display shows the volume level going up and down, however there is no sound. playing a mp3 or a youtube stream also results in no sound.

 

2. On the sound preference plane the output device is correctly identified as internal speakers with no other options, if i plug in headphones the output device changes from internal speakers to headphones correctly and back to speakers when i unplug them.

 

3. Playing a sound with headphones plugged in (volume change sound)  does indeed make the correct sound through the headphones however it continuously loops the last ~1 second of sound until i unplug the headphones.

 

4. HDMI audio is not working, no HDMI device in sound pref, HDMI video is working ok but it was before.

 

5. The internal microphone seems to be working ok.

 

This is a major improvement on my last attempt which resulted in nothing working at all, is there anything that can be done ?, I've attached a i/O reg dump file.

 

Cheers and thank you for your assistance

Jay

Jay.ioreg.zip

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...