Re: line in problem with snd_hda in mother asus m2npv-vm

From: Matias Kreder <mkreder_at_gmail.com>
Date: Fri, 29 Apr 2011 19:51:42 -0300
there was a part of dmesg that I have not seen:

hdac0: Probing codec #0...
hdac0: HDA Codec #0: Analog Devices AD1986A
hdac0:  HDA Codec ID: 0x11d41986
hdac0:        Vendor: 0x11d4
hdac0:        Device: 0x1986
hdac0:      Revision: 0x05
hdac0:      Stepping: 0x00
hdac0: PCI Subvendor: 0x81cb1043
hdac0: 	Found audio FG nid=1 startnode=2 endnode=44 total=42
hdac0:
hdac0: Processing audio FG cad=0 nid=1...
hdac0: GPIO: 0x00000100 NumGPIO=0 NumGPO=1 NumGPI=0 GPIWake=0 GPIUnsol=0
hdac0: GHOST: nid=2 j=0 entnum=4 index=0 res=0x00000601
hdac0: hdac_widget_connection_parse: nid=18 WARNING: zero cnid
entnum=4 j=2 index=0 entries=8 found=2 res=0x21002211
hdac0: GHOST: nid=18 j=2 entnum=4 index=0 res=0x21002211
hdac0:  nid 26 0x02214021 as  2 seq  1    Headphones  Jack jack  1 loc
 2 color   Green misc 0
hdac0: Patching pin config nid=26 0x02214021 -> 0x0221401f
hdac0:  nid 27 0x01014011 as  1 seq  1      Line-out  Jack jack  1 loc
 1 color   Green misc 0
hdac0:  nid 28 0x01013012 as  1 seq  2      Line-out  Jack jack  1 loc
 1 color    Blue misc 0
hdac0: Patching pin config nid=28 0x01013012 -> 0x01813081
hdac0:  nid 29 0x01019015 as  1 seq  5      Line-out  Jack jack  1 loc
 1 color    Pink misc 0
hdac0: Patching pin config nid=29 0x01019015 -> 0x01019005
hdac0:  nid 30 0x501700f0 as 15 seq  0       Speaker  None jack  7 loc
16 color Unknown misc 0
hdac0:  nid 31 0x02a190f0 as 15 seq  0           Mic  Jack jack  1 loc
 2 color    Pink misc 0
hdac0: Patching pin config nid=31 0x02a190f0 -> 0x02a19083
hdac0:  nid 32 0x018130f0 as 15 seq  0       Line-in  Jack jack  1 loc
 1 color    Blue misc 0
hdac0: Patching pin config nid=32 0x018130f0 -> 0x01813084
hdac0:  nid 33 0x509700f0 as 15 seq  0           AUX  None jack  7 loc
16 color Unknown misc 0
hdac0:  nid 34 0x993310f0 as 15 seq  0            CD Fixed jack  3 loc
25 color   Black misc 0
hdac0: Patching pin config nid=34 0x993310f0 -> 0x99331085
hdac0:  nid 35 0x50b700f0 as 15 seq  0     Telephony  None jack  7 loc
16 color Unknown misc 0
hdac0:  nid 36 0x90f700f0 as 15 seq  0         Other Fixed jack  7 loc
16 color Unknown misc 0
hdac0: Patching pin config nid=36 0x90f700f0 -> 0x90f70086
hdac0:  nid 37 0x014510f0 as 15 seq  0     SPDIF-out  Jack jack  5 loc
 1 color   Black misc 0
hdac0: Patched pins configuration:
hdac0:  nid 26 0x0221401f as  1 seq 15    Headphones  Jack jack  1 loc
 2 color   Green misc 0
hdac0:  nid 27 0x01014011 as  1 seq  1      Line-out  Jack jack  1 loc
 1 color   Green misc 0
hdac0:  nid 28 0x01813081 as  8 seq  1       Line-in  Jack jack  1 loc
 1 color    Blue misc 0
hdac0:  nid 29 0x01019005 as  0 seq  5      Line-out  Jack jack  1 loc
 1 color    Pink misc 0 [DISABLED]
hdac0:  nid 30 0x501700f0 as 15 seq  0       Speaker  None jack  7 loc
16 color Unknown misc 0 [DISABLED]
hdac0:  nid 31 0x02a19083 as  8 seq  3           Mic  Jack jack  1 loc
 2 color    Pink misc 0
hdac0:  nid 32 0x01813084 as  8 seq  4       Line-in  Jack jack  1 loc
 1 color    Blue misc 0
hdac0:  nid 33 0x509700f0 as 15 seq  0           AUX  None jack  7 loc
16 color Unknown misc 0 [DISABLED]
hdac0:  nid 34 0x99331085 as  8 seq  5            CD Fixed jack  3 loc
25 color   Black misc 0
hdac0:  nid 35 0x50b700f0 as 15 seq  0     Telephony  None jack  7 loc
16 color Unknown misc 0 [DISABLED]
hdac0:  nid 36 0x90f70086 as  8 seq  6         Other Fixed jack  7 loc
16 color Unknown misc 0
hdac0:  nid 37 0x014510f0 as 15 seq  0     SPDIF-out  Jack jack  5 loc
 1 color   Black misc 0
hdac0: 3 associations found:
hdac0: Association 0 (1) out:
hdac0:  Pin nid=27 seq=1
hdac0:  Pin nid=26 seq=15
hdac0: Association 1 (8) in:
hdac0:  Pin nid=28 seq=1
hdac0:  Pin nid=31 seq=3
hdac0:  Pin nid=32 seq=4
hdac0:  Pin nid=34 seq=5
hdac0:  Pin nid=36 seq=6
hdac0: Association 2 (15) out:
hdac0:  Pin nid=37 seq=0
hdac0: Tracing association 0 (1)
hdac0:  Pin 27 traced to DAC 3
hdac0:  Pin 26 traced to DAC 3 and hpredir 1
hdac0: Association 0 (1) trace succeeded
hdac0: Tracing association 1 (8)
hdac0:  Pin 28 traced to ADC 6
hdac0:  Pin 31 traced to ADC 6
hdac0:  Pin 32 traced to ADC 6
hdac0:  Pin 34 traced to ADC 6
hdac0:  Unable to trace pin 36 to ADC 6, undo traces
hdac0: Association 1 (8) trace failed
hdac0: Tracing association 2 (15)
hdac0:  Pin 37 traced to DAC 2
hdac0: Association 2 (15) trace succeeded
hdac0: Tracing input monitor
hdac0: Tracing other input monitors
hdac0: Tracing beeper
hdac0:  nid 25 traced to out
hdac0: Enabling headphone/speaker audio routing switching:
hdac0: 	as=0 sense nid=26 [UNSOL]
hdac0: Pin sense: nid=26 res=0x0000beff
hdac0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
hdac0:
hdac0: +-------------------+
hdac0: | DUMPING HDA NODES |
hdac0: +-------------------+
hdac0:
hdac0: Default Parameter
hdac0: -----------------
hdac0:      Stream cap: 0x00000001
hdac0:                  PCM
hdac0:         PCM cap: 0x000e007f
hdac0:                  16 20 24 bits, 8 11 16 22 32 44 48 KHz
hdac0:          IN amp: 0x80000000
hdac0:         OUT amp: 0x80051f1f
hdac0:
hdac0:             nid: 2
hdac0:            Name: audio output
hdac0:      Widget cap: 0x00030311
hdac0:                  DIGITAL STEREO
hdac0:     Association: 2 (0x00000001)
hdac0:             OSS: pcm (pcm)
hdac0:      Stream cap: 0x00000005
hdac0:                  AC3 PCM
hdac0:         PCM cap: 0x00020060
hdac0:                  16 bits, 44 48 KHz
hdac0:     connections: 2
hdac0:           |
hdac0:           + [DISABLED] <- nid=1 [GHOST!] [UNKNOWN] (selected)
hdac0:           + [DISABLED] <- nid=6 [audio input] [DISABLED]
hdac0:
hdac0:             nid: 3
hdac0:            Name: audio output
hdac0:      Widget cap: 0x0000044d
hdac0:                  PWR PROC STEREO
hdac0:     Association: 0 (0x00008002)
hdac0:             OSS: pcm (pcm)
hdac0:      Stream cap: 0x00000001
hdac0:                  PCM
hdac0:         PCM cap: 0x000e007f
hdac0:                  16 20 24 bits, 8 11 16 22 32 44 48 KHz
hdac0:      Output amp: 0x80051f17
hdac0:                  mute=1 step=31 size=5 offset=23
hdac0:
hdac0:             nid: 4 [DISABLED]
hdac0:            Name: audio output
hdac0:      Widget cap: 0x0000040d
hdac0:                  PWR STEREO
hdac0:      Stream cap: 0x00000001
hdac0:                  PCM
hdac0:         PCM cap: 0x000e007f
hdac0:                  16 20 24 bits, 8 11 16 22 32 44 48 KHz
hdac0:      Output amp: 0x80051f17
hdac0:                  mute=1 step=31 size=5 offset=23
hdac0:
hdac0:             nid: 5 [DISABLED]
hdac0:            Name: audio output
hdac0:      Widget cap: 0x0000040d
hdac0:                  PWR STEREO
hdac0:      Stream cap: 0x00000001
hdac0:                  PCM
hdac0:         PCM cap: 0x000e007f
hdac0:                  16 20 24 bits, 8 11 16 22 32 44 48 KHz
hdac0:      Output amp: 0x80051f17
hdac0:                  mute=1 step=31 size=5 offset=23
hdac0:
hdac0:             nid: 6 [DISABLED]
hdac0:            Name: audio input
hdac0:      Widget cap: 0x00100511
hdac0:                  PWR STEREO
hdac0:      Stream cap: 0x00000001
hdac0:                  PCM
hdac0:         PCM cap: 0x0006007f
hdac0:                  16 20 bits, 8 11 16 22 32 44 48 KHz
hdac0:     connections: 1
hdac0:           |
hdac0:           + <- nid=18 [audio selector] [DISABLED]
hdac0:
hdac0:             nid: 7
hdac0:            Name: audio mixer
hdac0:      Widget cap: 0x00200101
hdac0:                  STEREO
hdac0:     Association: 0 (0x00008002)
hdac0:             OSS: pcm, speaker
hdac0:     connections: 8
hdac0:           |
hdac0:           + <- nid=3 [audio output]
hdac0:           + [DISABLED] <- nid=9 [audio mixer] [DISABLED]
hdac0:           + [DISABLED] <- nid=19 [audio selector] [DISABLED]
hdac0:           + [DISABLED] <- nid=20 [audio selector] [DISABLED]
hdac0:           + [DISABLED] <- nid=21 [audio selector] [DISABLED]
hdac0:           + [DISABLED] <- nid=22 [audio selector] [DISABLED]
hdac0:           + [DISABLED] <- nid=23 [audio selector] [DISABLED]
hdac0:           + <- nid=24 [audio selector]
hdac0:
hdac0:             nid: 8 [DISABLED]
hdac0:            Name: audio mixer
hdac0:      Widget cap: 0x00200100
hdac0:     connections: 1
hdac0:           |
hdac0:           + <- nid=7 [audio mixer]
hdac0:
hdac0:             nid: 9 [DISABLED]
hdac0:            Name: audio mixer
hdac0:      Widget cap: 0x0020010e
hdac0:      Output amp: 0x80000000
hdac0:                  mute=1 step=0 size=0 offset=0
hdac0:       Input amp: 0x80000000
hdac0:                  mute=1 step=0 size=0 offset=0
hdac0:     connections: 2
hdac0:           |
hdac0:           + [DISABLED] <- nid=4 [audio output] [DISABLED]
hdac0:           + [DISABLED] <- nid=5 [audio output] [DISABLED]
hdac0:
hdac0:             nid: 10
hdac0:            Name: audio selector
hdac0:      Widget cap: 0x00300101
hdac0:                  STEREO
hdac0:     Association: 0 (0x00008000)
hdac0:             OSS: pcm, speaker
hdac0:     connections: 3
hdac0:           |
hdac0:           + <- nid=7 [audio mixer] (selected)
hdac0:           + [DISABLED] <- nid=4 [audio output] [DISABLED]
hdac0:           + [DISABLED] <- nid=5 [audio output] [DISABLED]
hdac0:
hdac0:             nid: 11
hdac0:            Name: audio selector
hdac0:      Widget cap: 0x00300101
hdac0:                  STEREO
hdac0:     Association: 0 (0x00000002)
hdac0:             OSS: pcm, speaker
hdac0:     connections: 2
hdac0:           |
hdac0:           + <- nid=7 [audio mixer] (selected)
hdac0:           + [DISABLED] <- nid=4 [audio output] [DISABLED]
hdac0:
hdac0:             nid: 12 [DISABLED]
hdac0:            Name: audio selector
hdac0:      Widget cap: 0x00300101
hdac0:                  STEREO
hdac0:     connections: 2
hdac0:           |
hdac0:           + <- nid=4 [audio output] [DISABLED] (selected)
hdac0:           + <- nid=7 [audio mixer]
hdac0:
hdac0:             nid: 13 [DISABLED]
hdac0:            Name: audio selector
hdac0:      Widget cap: 0x00300101
hdac0:                  STEREO
hdac0:     connections: 2
hdac0:           |
hdac0:           + <- nid=5 [audio output] [DISABLED] (selected)
hdac0:           + <- nid=8 [audio mixer] [DISABLED]
hdac0:
hdac0:             nid: 14 [DISABLED]
hdac0:            Name: audio selector
hdac0:      Widget cap: 0x00300100
hdac0:     connections: 2
hdac0:           |
hdac0:           + <- nid=8 [audio mixer] [DISABLED] (selected)
hdac0:           + <- nid=17 [audio selector] [DISABLED]
hdac0:
hdac0:             nid: 15 [DISABLED]
hdac0:            Name: audio selector
hdac0:      Widget cap: 0x0030010d
hdac0:                  STEREO
hdac0:      Output amp: 0x00270300
hdac0:                  mute=0 step=3 size=39 offset=0
hdac0:     connections: 8
hdac0:           |
hdac0:           + <- nid=31 [pin: Mic (Pink Jack)] [DISABLED] (selected)
hdac0:           + [DISABLED] <- nid=32 [pin: Line-in (Blue Jack)] [DISABLED]
hdac0:           + [DISABLED] <- nid=29 [pin: Line-out (Pink Jack)] [DISABLED]
hdac0:           + [DISABLED] <- nid=29 [pin: Line-out (Pink Jack)] [DISABLED]
hdac0:           + [DISABLED] <- nid=39 [audio mixer] [DISABLED]
hdac0:           + [DISABLED] <- nid=40 [audio mixer] [DISABLED]
hdac0:           + [DISABLED] <- nid=41 [audio mixer] [DISABLED]
hdac0:           + [DISABLED] <- nid=42 [audio mixer] [DISABLED]
hdac0:
hdac0:             nid: 16 [DISABLED]
hdac0:            Name: audio selector
hdac0:      Widget cap: 0x00300101
hdac0:                  STEREO
hdac0:     connections: 3
hdac0:           |
hdac0:           + <- nid=32 [pin: Line-in (Blue Jack)] [DISABLED] (selected)
hdac0:           + <- nid=28 [pin: Line-in (Blue Jack)] [DISABLED]
hdac0:           + [DISABLED] <- nid=31 [pin: Mic (Pink Jack)] [DISABLED]
hdac0:
hdac0:             nid: 17 [DISABLED]
hdac0:            Name: audio selector
hdac0:      Widget cap: 0x00300941
hdac0:                  LRSWAP PROC STEREO
hdac0:     connections: 2
hdac0:           |
hdac0:           + <- nid=15 [audio selector] [DISABLED] (selected)
hdac0:           + [DISABLED] <- nid=43 [audio mixer] [DISABLED]
hdac0:
hdac0:             nid: 18 [DISABLED]
hdac0:            Name: audio selector
hdac0:      Widget cap: 0x0030010d
hdac0:                  STEREO
hdac0:      Output amp: 0x80050f00
hdac0:                  mute=1 step=15 size=5 offset=0
hdac0:     connections: 8
hdac0:           |
hdac0:           + <- nid=17 [audio selector] [DISABLED] (selected)
hdac0:           + <- nid=34 [pin: CD (Fixed)] [DISABLED]
hdac0:           + [DISABLED] <- nid=0 [GHOST!] [UNKNOWN]
hdac0:           + [DISABLED] <- nid=33 [pin: AUX (None)] [DISABLED]
hdac0:           + <- nid=16 [audio selector] [DISABLED]
hdac0:           + <- nid=7 [audio mixer]
hdac0:           + <- nid=8 [audio mixer] [DISABLED]
hdac0:           + [DISABLED] <- nid=35 [pin: Telephony (None)] [DISABLED]
hdac0:
hdac0:             nid: 19 [DISABLED]
hdac0:            Name: audio selector
hdac0:      Widget cap: 0x0030010d
hdac0:                  STEREO
hdac0:      Output amp: 0x80051f17
hdac0:                  mute=1 step=31 size=5 offset=23
hdac0:     connections: 1
hdac0:           |
hdac0:           + <- nid=17 [audio selector] [DISABLED]
hdac0:
hdac0:             nid: 20 [DISABLED]
hdac0:            Name: audio selector
hdac0:      Widget cap: 0x0030010c
hdac0:      Output amp: 0x80051f17
hdac0:                  mute=1 step=31 size=5 offset=23
hdac0:     connections: 1
hdac0:           |
hdac0:           + [DISABLED] <- nid=35 [pin: Telephony (None)] [DISABLED]
hdac0:
hdac0:             nid: 21 [DISABLED]
hdac0:            Name: audio selector
hdac0:      Widget cap: 0x0030010d
hdac0:                  STEREO
hdac0:      Output amp: 0x80051f17
hdac0:                  mute=1 step=31 size=5 offset=23
hdac0:     connections: 1
hdac0:           |
hdac0:           + <- nid=34 [pin: CD (Fixed)] [DISABLED]
hdac0:
hdac0:             nid: 22 [DISABLED]
hdac0:            Name: audio selector
hdac0:      Widget cap: 0x0030010d
hdac0:                  STEREO
hdac0:      Output amp: 0x80051f17
hdac0:                  mute=1 step=31 size=5 offset=23
hdac0:     connections: 1
hdac0:           |
hdac0:           + [DISABLED] <- nid=33 [pin: AUX (None)] [DISABLED]
hdac0:
hdac0:             nid: 23 [DISABLED]
hdac0:            Name: audio selector
hdac0:      Widget cap: 0x0030010d
hdac0:                  STEREO
hdac0:      Output amp: 0x80051f17
hdac0:                  mute=1 step=31 size=5 offset=23
hdac0:     connections: 1
hdac0:           |
hdac0:           + <- nid=16 [audio selector] [DISABLED]
hdac0:
hdac0:             nid: 24
hdac0:            Name: audio selector
hdac0:      Widget cap: 0x0030010c
hdac0:     Association: -2 (0x00000000)
hdac0:             OSS: speaker
hdac0:      Output amp: 0x800b0f0f
hdac0:                  mute=1 step=15 size=11 offset=15
hdac0:     connections: 2
hdac0:           |
hdac0:           + <- nid=25 [beep widget] (selected)
hdac0:           + [DISABLED] <- nid=36 [pin: Other (Fixed)] [DISABLED]
hdac0:
hdac0:             nid: 25
hdac0:            Name: beep widget
hdac0:      Widget cap: 0x00700000
hdac0:     Association: -2 (0x00000000)
hdac0:             OSS: speaker (speaker)
hdac0:
hdac0:             nid: 26
hdac0:            Name: pin: Headphones (Green Jack)
hdac0:      Widget cap: 0x00400185
hdac0:                  UNSOL STEREO
hdac0:     Association: 0 (0x00008000)
hdac0:         Pin cap: 0x0000001f
hdac0:                  ISC TRQD PDC HP OUT
hdac0:      Pin config: 0x0221401f
hdac0:     Pin control: 0x000000c0 HP OUT
hdac0:      Output amp: 0x80051f1f
hdac0:                  mute=1 step=31 size=5 offset=31
hdac0:     connections: 1
hdac0:           |
hdac0:           + <- nid=10 [audio selector]
hdac0:
hdac0:             nid: 27
hdac0:            Name: pin: Line-out (Green Jack)
hdac0:      Widget cap: 0x00400185
hdac0:                  UNSOL STEREO
hdac0:     Association: 0 (0x00000002)
hdac0:         Pin cap: 0x0001001f
hdac0:                  ISC TRQD PDC HP OUT EAPD
hdac0:      Pin config: 0x01014011
hdac0:     Pin control: 0x00000040 OUT
hdac0:            EAPD: 0x00000002
hdac0:      Output amp: 0x80051f1f
hdac0:                  mute=1 step=31 size=5 offset=31
hdac0:     connections: 1
hdac0:           |
hdac0:           + <- nid=11 [audio selector]
hdac0:
hdac0:             nid: 28 [DISABLED]
hdac0:            Name: pin: Line-in (Blue Jack)
hdac0:      Widget cap: 0x00400185
hdac0:                  UNSOL STEREO
hdac0:         Pin cap: 0x00000037
hdac0:                  ISC TRQD PDC OUT IN
hdac0:      Pin config: 0x01813081
hdac0:     Pin control: 0x00000000
hdac0:      Output amp: 0x80051f1f
hdac0:                  mute=1 step=31 size=5 offset=31
hdac0:     connections: 1
hdac0:           |
hdac0:           + [DISABLED] <- nid=12 [audio selector] [DISABLED]
hdac0:
hdac0:             nid: 29 [DISABLED]
hdac0:            Name: pin: Line-out (Pink Jack)
hdac0:      Widget cap: 0x00400985
hdac0:                  LRSWAP UNSOL STEREO
hdac0:         Pin cap: 0x00001737
hdac0:                  ISC TRQD PDC OUT IN VREF[ 50 80 GROUND HIZ ]
hdac0:      Pin config: 0x01019005
hdac0:     Pin control: 0x00000000
hdac0:      Output amp: 0x80051f1f
hdac0:                  mute=1 step=31 size=5 offset=31
hdac0:     connections: 1
hdac0:           |
hdac0:           + [DISABLED] <- nid=13 [audio selector] [DISABLED]
hdac0:
hdac0:             nid: 30 [DISABLED]
hdac0:            Name: pin: Speaker (None)
hdac0:      Widget cap: 0x00400104
hdac0:         Pin cap: 0x00000010
hdac0:                  OUT
hdac0:      Pin config: 0x501700f0
hdac0:     Pin control: 0x00000000
hdac0:      Output amp: 0x80051f1f
hdac0:                  mute=1 step=31 size=5 offset=31
hdac0:     connections: 1
hdac0:           |
hdac0:           + [DISABLED] <- nid=14 [audio selector] [DISABLED]
hdac0:
hdac0:             nid: 31 [DISABLED]
hdac0:            Name: pin: Mic (Pink Jack)
hdac0:      Widget cap: 0x00400081
hdac0:                  UNSOL STEREO
hdac0:         Pin cap: 0x00001727
hdac0:                  ISC TRQD PDC IN VREF[ 50 80 GROUND HIZ ]
hdac0:      Pin config: 0x02a19083
hdac0:     Pin control: 0x00000000
hdac0:
hdac0:             nid: 32 [DISABLED]
hdac0:            Name: pin: Line-in (Blue Jack)
hdac0:      Widget cap: 0x00400081
hdac0:                  UNSOL STEREO
hdac0:         Pin cap: 0x00001727
hdac0:                  ISC TRQD PDC IN VREF[ 50 80 GROUND HIZ ]
hdac0:      Pin config: 0x01813084
hdac0:     Pin control: 0x00000000
hdac0:
hdac0:             nid: 33 [DISABLED]
hdac0:            Name: pin: AUX (None)
hdac0:      Widget cap: 0x00400081
hdac0:                  UNSOL STEREO
hdac0:         Pin cap: 0x00000027
hdac0:                  ISC TRQD PDC IN
hdac0:      Pin config: 0x509700f0
hdac0:     Pin control: 0x00000000
hdac0:
hdac0:             nid: 34 [DISABLED]
hdac0:            Name: pin: CD (Fixed)
hdac0:      Widget cap: 0x00400001
hdac0:                  STEREO
hdac0:         Pin cap: 0x00000020
hdac0:                  IN
hdac0:      Pin config: 0x99331085
hdac0:     Pin control: 0x00000000
hdac0:
hdac0:             nid: 35 [DISABLED]
hdac0:            Name: pin: Telephony (None)
hdac0:      Widget cap: 0x00400000
hdac0:         Pin cap: 0x00000020
hdac0:                  IN
hdac0:      Pin config: 0x50b700f0
hdac0:     Pin control: 0x00000000
hdac0:
hdac0:             nid: 36 [DISABLED]
hdac0:            Name: pin: Other (Fixed)
hdac0:      Widget cap: 0x00400000
hdac0:         Pin cap: 0x00000020
hdac0:                  IN
hdac0:      Pin config: 0x90f70086
hdac0:     Pin control: 0x00000000
hdac0:
hdac0:             nid: 37
hdac0:            Name: pin: SPDIF-out (Black Jack)
hdac0:      Widget cap: 0x00400301
hdac0:                  DIGITAL STEREO
hdac0:     Association: 2 (0x00000001)
hdac0:         Pin cap: 0x00000010
hdac0:                  OUT
hdac0:      Pin config: 0x014510f0
hdac0:     Pin control: 0x00000040 OUT
hdac0:     connections: 1
hdac0:           |
hdac0:           + <- nid=2 [audio output]
hdac0:
hdac0:             nid: 38 [DISABLED]
hdac0:            Name: power widget
hdac0:      Widget cap: 0x00500500
hdac0:                  PWR
hdac0:     connections: 8
hdac0:           |
hdac0:           + <- nid=7 [audio mixer] (selected)
hdac0:           + <- nid=8 [audio mixer] [DISABLED]
hdac0:           + <- nid=19 [audio selector] [DISABLED]
hdac0:           + <- nid=20 [audio selector] [DISABLED]
hdac0:           + <- nid=21 [audio selector] [DISABLED]
hdac0:           + <- nid=22 [audio selector] [DISABLED]
hdac0:           + <- nid=23 [audio selector] [DISABLED]
hdac0:           + <- nid=24 [audio selector]
hdac0:
hdac0:             nid: 39 [DISABLED]
hdac0:            Name: audio mixer
hdac0:      Widget cap: 0x00200101
hdac0:                  STEREO
hdac0:     connections: 2
hdac0:           |
hdac0:           + <- nid=31 [pin: Mic (Pink Jack)] [DISABLED]
hdac0:           + <- nid=29 [pin: Line-out (Pink Jack)] [DISABLED]
hdac0:
hdac0:             nid: 40 [DISABLED]
hdac0:            Name: audio mixer
hdac0:      Widget cap: 0x00200101
hdac0:                  STEREO
hdac0:     connections: 2
hdac0:           |
hdac0:           + <- nid=31 [pin: Mic (Pink Jack)] [DISABLED]
hdac0:           + <- nid=32 [pin: Line-in (Blue Jack)] [DISABLED]
hdac0:
hdac0:             nid: 41 [DISABLED]
hdac0:            Name: audio mixer
hdac0:      Widget cap: 0x00200101
hdac0:                  STEREO
hdac0:     connections: 2
hdac0:           |
hdac0:           + <- nid=29 [pin: Line-out (Pink Jack)] [DISABLED]
hdac0:           + <- nid=32 [pin: Line-in (Blue Jack)] [DISABLED]
hdac0:
hdac0:             nid: 42 [DISABLED]
hdac0:            Name: audio mixer
hdac0:      Widget cap: 0x00200101
hdac0:                  STEREO
hdac0:     connections: 3
hdac0:           |
hdac0:           + <- nid=31 [pin: Mic (Pink Jack)] [DISABLED]
hdac0:           + <- nid=29 [pin: Line-out (Pink Jack)] [DISABLED]
hdac0:           + <- nid=32 [pin: Line-in (Blue Jack)] [DISABLED]
hdac0:
hdac0:             nid: 43 [DISABLED]
hdac0:            Name: audio mixer
hdac0:      Widget cap: 0x00200100
hdac0:     connections: 1
hdac0:           |
hdac0:           + <- nid=15 [audio selector] [DISABLED]
hdac0:
pcm0: <HDA Analog Devices AD1986A PCM #0 Analog> at cad 0 nid 1 on hdac0
pcm0: +--------------------------------------+
pcm0: | DUMPING PCM Playback/Record Channels |
pcm0: +--------------------------------------+
pcm0:
pcm0: Playback:
pcm0:
pcm0:      Stream cap: 0x00000001
pcm0:                  PCM
pcm0:         PCM cap: 0x000e007f
pcm0:                  16 20 24 bits, 8 11 16 22 32 44 48 KHz
pcm0:             DAC: 3
pcm0:
pcm0: +-------------------------------+
pcm0: | DUMPING Playback/Record Paths |
pcm0: +-------------------------------+
pcm0:
pcm0: Playback:
pcm0:
pcm0:     nid=27 [pin: Line-out (Green Jack)]
pcm0:       |
pcm0:       + <- nid=11 [audio selector] [src: pcm, speaker]
pcm0:              |
pcm0:              + <- nid=7 [audio mixer] [src: pcm, speaker]
pcm0:                     |
pcm0:                     + <- nid=3 [audio output] [src: pcm]
pcm0:                     + <- nid=24 [audio selector] [src: speaker]
pcm0:                            |
pcm0:                            + <- nid=25 [beep widget] [src: speaker]
pcm0:
pcm0:     nid=26 [pin: Headphones (Green Jack)]
pcm0:       |
pcm0:       + <- nid=10 [audio selector] [src: pcm, speaker]
pcm0:              |
pcm0:              + <- nid=7 [audio mixer] [src: pcm, speaker]
pcm0:                     |
pcm0:                     + <- nid=3 [audio output] [src: pcm]
pcm0:                     + <- nid=24 [audio selector] [src: speaker]
pcm0:                            |
pcm0:                            + <- nid=25 [beep widget] [src: speaker]
pcm0:
pcm0: +-------------------------+
pcm0: | DUMPING Volume Controls |
pcm0: +-------------------------+
pcm0:
pcm0: Master Volume (OSS: vol)
pcm0:    |
pcm0:    +- ctl 15 (nid  26 in ):    -46/0dB (32 steps) + mute
pcm0:    +- ctl 16 (nid  27 in ):    -46/0dB (32 steps) + mute
pcm0:
pcm0: PCM Volume (OSS: pcm)
pcm0:    |
pcm0:    +- ctl  1 (nid   3 out):    -34/12dB (32 steps) + mute
pcm0:
pcm0: Speaker/Beep Volume (OSS: speaker)
pcm0:    |
pcm0:    +- ctl 14 (nid  24 out):    -45/0dB (16 steps) + mute
pcm0:
pcm0: Input Monitoring Level (OSS: igain)
pcm0:    |
pcm0:    +- ctl 14 (nid  24 out):    -45/0dB (16 steps) + mute
pcm0:
pcm0: Mixer "vol":
pcm0: Mixer "pcm":
pcm0: Mixer "speaker":
pcm0: Mixer "igain":
pcm0: Mixer "ogain":
pcm0: clone manager: deadline=750ms flags=0x8000001e
pcm0: sndbuf_setmap 5010000, 4000; 0xc5f13000 -> 5010000
pcm1: <HDA Analog Devices AD1986A PCM #1 Digital> at cad 0 nid 1 on hdac0
pcm1: +--------------------------------------+
pcm1: | DUMPING PCM Playback/Record Channels |
pcm1: +--------------------------------------+
pcm1:
pcm1: Playback:
pcm1:
pcm1:      Stream cap: 0x00000005
pcm1:                  AC3 PCM
pcm1:         PCM cap: 0x00020060
pcm1:                  16 bits, 44 48 KHz
pcm1:             DAC: 2
pcm1:
pcm1: +-------------------------------+
pcm1: | DUMPING Playback/Record Paths |
pcm1: +-------------------------------+
pcm1:
pcm1: Playback:
pcm1:
pcm1:     nid=37 [pin: SPDIF-out (Black Jack)]
pcm1:       |
pcm1:       + <- nid=2 [audio output] [src: pcm]
pcm1:
pcm1: +-------------------------+
pcm1: | DUMPING Volume Controls |
pcm1: +-------------------------+
pcm1:
pcm1: Forcing Soft PCM volume
pcm1: Forcing master volume with PCM
pcm1: Mixer "vol" -> "none": child=0x00000010
pcm1: Mixer "pcm": parent="vol"
pcm1: Soft PCM mixer ENABLED
pcm1: clone manager: deadline=750ms flags=0x8000001e
pcm1: sndbuf_setmap 4010000, 4000; 0xc5f23000 -> 4010000

Would you please help me with what I need to put in dev.hints? I want
the fron panel mic input to work as a mic input, the headphone as a
headphone and in the back, the green one for speakers, and then line
in and mic as normal..

Thank you!

On Fri, Apr 29, 2011 at 7:11 PM, Alexander Motin <mav_at_freebsd.org> wrote:
> Hi.
>
> On 29.04.2011 21:20, Matias Kreder wrote:
>>
>> The problem is that I cannot get line in to work, there is not any
>> recording device displayed in mixer. I know that there may be
>> something to tweak in device.hints but I'm not sure how, and I never
>> touched this file.
>>
>> root_at_pearl ~]# cat /dev/sndstat
>> FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
>> Installed devices:
>> pcm0:<HDA Analog Devices AD1986A PCM #0 Analog>  (play) default
>> pcm1:<HDA Analog Devices AD1986A PCM #1 Digital>  (play)
>
> Show full verbose dmesg please. Provided part is not enough to analyze your
> problem.
>
> --
> Alexander Motin
>
Received on Fri Apr 29 2011 - 20:51:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:13 UTC