Date: Sat, 31 Jul 2010 23:32:18 +0700 From: Alexey Dokuchaev <danfe@nsu.ru> To: multimedia@freebsd.org Subject: snd_hda(4) pin routing issues Message-ID: <20100731163218.GA39249@regency.nsu.ru>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Hello there again, [ let's try it one more time ] I'm trying to get sound working on NEC Versa S950 laptop of mine, which is recognized by snd_hda(4), but unfortunately, playback does not work out of the box: $ mixer Mixer speaker is currently set to 75:75 Mixer rec is currently set to 0:0 Recording source: mic As for recording, it seems to work: setting rec volume to non-zero value allows me to record sound with e.g. SoX package via "rec out.wav". Both internal mic (mono) and external jack (pink, stereo) work fine. I've tried to patch pin assignment as manpage suggests, and got playback working (both speakers and phones, speakers also mute correctly on jack insertion) with this single device hint: hint.hdac.0.cad0.nid13.config="as=1 seq=15" $ mixer Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer speaker is currently set to 75:75 Recording source: However, without this line mixer(8) reports recording source (mic), but *with* it, stops seeing it, as you can see. Obviously, recording does not work any more. Naturally, I'm trying to figure out what proper hints I need to provide so both playback and recording work. Am I missing something? Comparing verbose dmesg outputs (relevant lines attached for both cases) does not immediately reveal why recording gets broken with nid13 sequence number reassigned. Attached files can be also found here in case our mailman drops attachments: http://193.124.210.26/dmesg.verbose.default http://193.124.210.26/dmesg.verbose.hinted mav@, if you need access to the laptop to see if any quirks might be required for it in the snd_hda(4), I'd happy to set it up for you. Thanks in advance. ./danfe [-- Attachment #2 --] pci0: driver added found-> vendor=0x8086, dev=0x2668, revid=0x04 domain=0, bus=0, slot=27, func=0 class=04-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=255 powerspec 2 supports D0 D3 current D0 MSI supports 1 message, 64 bit pci0:0:27:0: reprobing on driver added hdac0: <Intel 82801F High Definition Audio Controller> mem 0xd000c000-0xd000ffff at device 27.0 on pci0 hdac0: HDA Driver Revision: 20091113_0138 hdac0: attempting to allocate 1 MSI vectors (1 supported) msi: routing MSI IRQ 256 to vector 49 hdac0: using IRQ 256 for MSI hdac0: [MPSAFE] hdac0: [ITHREAD] hdac0: Caps: OSS 4, ISS 4, BSS 0, NSDO 1, 64bit, CORB 256, RIRB 256 hdac0: Probing codec #0... hdac0: HDA Codec #0: Sigmatel STAC9220 hdac0: HDA Codec ID: 0x83847690 hdac0: Vendor: 0x8384 hdac0: Device: 0x7690 hdac0: Revision: 0x22 hdac0: Stepping: 0x01 hdac0: PCI Subvendor: 0x83171033 hdac0: Found audio FG nid=1 startnode=2 endnode=21 total=19 hdac0: Probing codec #1... hdac0: HDA Codec #1: Lucent/Agere Systems (Unknown) hdac0: HDA Codec ID: 0x11c13026 hdac0: Vendor: 0x11c1 hdac0: Device: 0x3026 hdac0: Revision: 0x07 hdac0: Stepping: 0x00 hdac0: PCI Subvendor: 0x83171033 hdac0: Found modem FG nid=1 startnode=2 endnode=40 total=38 hdac0: hdac0: Processing audio FG cad=0 nid=1... hdac0: GPIO: 0xc0000004 NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=1 GPIUnsol=1 hdac0: nid 8 0x01c5e030 as 3 seq 0 SPDIF-in Jack jack 5 loc 1 color White misc 0 hdac0: nid 9 0x01451012 as 1 seq 2 SPDIF-out Jack jack 5 loc 1 color Black misc 0 hdac0: nid 13 0x02214011 as 1 seq 1 Headphones Jack jack 1 loc 2 color Green misc 0 hdac0: nid 14 0x01014010 as 1 seq 0 Line-out Jack jack 1 loc 1 color Green misc 0 hdac0: nid 15 0x01813021 as 2 seq 1 Line-in Jack jack 1 loc 1 color Blue misc 0 hdac0: nid 16 0x02a19020 as 2 seq 0 Mic Jack jack 1 loc 2 color Pink misc 0 hdac0: nid 17 0x50170013 as 1 seq 3 Speaker None jack 7 loc 16 color Unknown misc 0 hdac0: nid 18 0x90330022 as 2 seq 2 CD Fixed jack 3 loc 16 color Unknown misc 0 hdac0: Patched pins configuration: hdac0: nid 8 0x01c5e030 as 3 seq 0 SPDIF-in Jack jack 5 loc 1 color White misc 0 hdac0: nid 9 0x01451012 as 1 seq 2 SPDIF-out Jack jack 5 loc 1 color Black misc 0 hdac0: nid 13 0x02214011 as 1 seq 1 Headphones Jack jack 1 loc 2 color Green misc 0 hdac0: nid 14 0x01014010 as 1 seq 0 Line-out Jack jack 1 loc 1 color Green misc 0 hdac0: nid 15 0x01813021 as 2 seq 1 Line-in Jack jack 1 loc 1 color Blue misc 0 hdac0: nid 16 0x02a19020 as 2 seq 0 Mic Jack jack 1 loc 2 color Pink misc 0 hdac0: nid 17 0x50170013 as 1 seq 3 Speaker None jack 7 loc 16 color Unknown misc 0 [DISABLED] hdac0: nid 18 0x90330022 as 2 seq 2 CD Fixed jack 3 loc 16 color Unknown misc 0 hdac0: 3 associations found: hdac0: Association 0 (1) out: hdac0: Pin nid=14 seq=0 hdac0: Pin nid=13 seq=1 hdac0: Pin nid=9 seq=2 hdac0: Association 1 (2) in: hdac0: Pin nid=16 seq=0 hdac0: Pin nid=15 seq=1 hdac0: Pin nid=18 seq=2 hdac0: Association 2 (3) in: hdac0: Pin nid=8 seq=0 hdac0: Tracing association 0 (1) hdac0: Pin 14 traced to DAC 2 hdac0: Unable to trace pin 13 seq 1 with min nid 0 hdac0: Unable to trace pin 14 seq 0 with min nid 3 hdac0: Association 0 (1) trace failed hdac0: Tracing association 1 (2) hdac0: Pin 16 traced to ADC 3 hdac0: Pin 15 traced to ADC 3 hdac0: Pin 18 traced to ADC 3 hdac0: Association 1 (2) trace succeeded hdac0: Tracing association 2 (3) hdac0: Pin 8 traced to ADC 4 hdac0: Association 2 (3) trace succeeded hdac0: Tracing input monitor hdac0: Tracing beeper 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: 0x000e07e0 hdac0: 16 20 24 bits, 44 48 88 96 176 192 KHz hdac0: IN amp: 0x00000000 hdac0: OUT amp: 0x80051f1f hdac0: hdac0: nid: 2 [DISABLED] hdac0: Name: audio output hdac0: Widget cap: 0x000d0401 hdac0: PWR STEREO hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x000e07e0 hdac0: 16 20 24 bits, 44 48 88 96 176 192 KHz hdac0: hdac0: nid: 3 hdac0: Name: audio input hdac0: Widget cap: 0x001d0541 hdac0: PWR PROC STEREO hdac0: Association: 1 (0x00000007) hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x000e07e0 hdac0: 16 20 24 bits, 44 48 88 96 176 192 KHz hdac0: connections: 1 hdac0: | hdac0: + <- nid=10 [audio selector] hdac0: hdac0: nid: 4 hdac0: Name: audio input hdac0: Widget cap: 0x00140311 hdac0: DIGITAL STEREO hdac0: Association: 2 (0x00000001) hdac0: Stream cap: 0x00000005 hdac0: AC3 PCM hdac0: PCM cap: 0x000e0160 hdac0: 16 20 24 bits, 44 48 96 KHz hdac0: connections: 1 hdac0: | hdac0: + <- nid=8 [pin: SPDIF-in (White Jack)] hdac0: hdac0: nid: 5 [DISABLED] hdac0: Name: audio output hdac0: Widget cap: 0x00040211 hdac0: DIGITAL STEREO hdac0: Stream cap: 0x00000005 hdac0: AC3 PCM hdac0: PCM cap: 0x000e01e0 hdac0: 16 20 24 bits, 44 48 88 96 KHz hdac0: hdac0: nid: 6 [DISABLED] hdac0: Name: vendor widget hdac0: Widget cap: 0x00f30201 hdac0: DIGITAL STEREO hdac0: hdac0: nid: 7 [DISABLED] hdac0: Name: audio selector hdac0: Widget cap: 0x00300901 hdac0: LRSWAP STEREO hdac0: connections: 3 hdac0: | hdac0: + <- nid=2 [audio output] [DISABLED] (selected) hdac0: + <- nid=8 [pin: SPDIF-in (White Jack)] hdac0: + <- nid=10 [audio selector] hdac0: hdac0: nid: 8 hdac0: Name: pin: SPDIF-in (White Jack) hdac0: Widget cap: 0x00430681 hdac0: PWR DIGITAL UNSOL STEREO hdac0: Association: 2 (0x00000001) hdac0: OSS: dig1 (dig1) hdac0: Pin cap: 0x00010024 hdac0: PDC IN EAPD hdac0: Pin config: 0x01c5e030 hdac0: Pin control: 0x00000020 IN hdac0: EAPD: 0x00000002 hdac0: hdac0: nid: 9 [DISABLED] hdac0: Name: pin: SPDIF-out (Black Jack) hdac0: Widget cap: 0x00400301 hdac0: DIGITAL STEREO hdac0: Pin cap: 0x00000010 hdac0: OUT hdac0: Pin config: 0x01451012 hdac0: Pin control: 0x00000000 hdac0: connections: 2 hdac0: | hdac0: + <- nid=5 [audio output] [DISABLED] (selected) hdac0: + <- nid=10 [audio selector] hdac0: hdac0: nid: 10 hdac0: Name: audio selector hdac0: Widget cap: 0x0030090d hdac0: LRSWAP STEREO hdac0: Association: 1 (0x00000007) hdac0: OSS: line, mic, cd hdac0: Output amp: 0x80050f00 hdac0: mute=1 step=15 size=5 offset=0 hdac0: connections: 1 hdac0: | hdac0: + <- nid=12 [audio selector] hdac0: hdac0: nid: 11 [DISABLED] hdac0: Name: audio selector hdac0: Widget cap: 0x00300105 hdac0: STEREO hdac0: Output amp: 0x80051f1f hdac0: mute=1 step=31 size=5 offset=31 hdac0: connections: 1 hdac0: | hdac0: + <- nid=7 [audio selector] [DISABLED] hdac0: hdac0: nid: 12 hdac0: Name: audio selector hdac0: Widget cap: 0x0030010d hdac0: STEREO hdac0: Association: 1 (0x00000007) hdac0: OSS: line, mic, cd hdac0: Output amp: 0x00270400 hdac0: mute=0 step=4 size=39 offset=0 hdac0: connections: 5 hdac0: | hdac0: + <- nid=16 [pin: Mic (Pink Jack)] (selected) hdac0: + <- nid=15 [pin: Line-in (Blue Jack)] hdac0: + [DISABLED] <- nid=14 [pin: Line-out (Green Jack)] [DISABLED] hdac0: + [DISABLED] <- nid=13 [pin: Headphones (Green Jack)] [DISABLED] hdac0: + <- nid=18 [pin: CD (Fixed)] hdac0: hdac0: nid: 13 [DISABLED] hdac0: Name: pin: Headphones (Green Jack) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Pin cap: 0x0000003f hdac0: ISC TRQD PDC HP OUT IN hdac0: Pin config: 0x02214011 hdac0: Pin control: 0x00000000 hdac0: connections: 1 hdac0: | hdac0: + <- nid=11 [audio selector] [DISABLED] hdac0: hdac0: nid: 14 [DISABLED] hdac0: Name: pin: Line-out (Green Jack) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Pin cap: 0x0000003f hdac0: ISC TRQD PDC HP OUT IN hdac0: Pin config: 0x01014010 hdac0: Pin control: 0x00000000 hdac0: connections: 1 hdac0: | hdac0: + <- nid=11 [audio selector] [DISABLED] hdac0: hdac0: nid: 15 hdac0: Name: pin: Line-in (Blue Jack) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Association: 1 (0x00000002) hdac0: OSS: line (line) hdac0: Pin cap: 0x00000037 hdac0: ISC TRQD PDC OUT IN hdac0: Pin config: 0x01813021 hdac0: Pin control: 0x00000020 IN hdac0: connections: 1 hdac0: | hdac0: + [DISABLED] <- nid=11 [audio selector] [DISABLED] hdac0: hdac0: nid: 16 hdac0: Name: pin: Mic (Pink Jack) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Association: 1 (0x00000001) hdac0: OSS: mic (mic) hdac0: Pin cap: 0x00001737 hdac0: ISC TRQD PDC OUT IN VREF[ 50 80 GROUND HIZ ] hdac0: Pin config: 0x02a19020 hdac0: Pin control: 0x00000024 IN VREFs hdac0: connections: 1 hdac0: | hdac0: + [DISABLED] <- nid=11 [audio selector] [DISABLED] hdac0: hdac0: nid: 17 [DISABLED] hdac0: Name: pin: Speaker (None) hdac0: Widget cap: 0x00400104 hdac0: Pin cap: 0x00000010 hdac0: OUT hdac0: Pin config: 0x50170013 hdac0: Pin control: 0x00000000 hdac0: Output amp: 0x80051f1f hdac0: mute=1 step=31 size=5 offset=31 hdac0: connections: 1 hdac0: | hdac0: + [DISABLED] <- nid=19 [audio mixer] [DISABLED] hdac0: hdac0: nid: 18 hdac0: Name: pin: CD (Fixed) hdac0: Widget cap: 0x00400001 hdac0: STEREO hdac0: Association: 1 (0x00000004) hdac0: OSS: cd (cd) hdac0: Pin cap: 0x00000020 hdac0: IN hdac0: Pin config: 0x90330022 hdac0: Pin control: 0x00000020 IN hdac0: hdac0: nid: 19 [DISABLED] hdac0: Name: audio mixer hdac0: Widget cap: 0x00200100 hdac0: connections: 1 hdac0: | hdac0: + <- nid=7 [audio selector] [DISABLED] hdac0: hdac0: nid: 20 hdac0: Name: beep widget hdac0: Widget cap: 0x0070000c hdac0: Association: -2 (0x00000000) hdac0: OSS: speaker (speaker) hdac0: Output amp: 0x80170303 hdac0: mute=1 step=3 size=23 offset=3 hdac0: hdac0: Processing modem FG cad=1 nid=1... hdac0: found-> vendor=0x8086, dev=0x266a, revid=0x04 domain=0, bus=0, slot=31, func=3 class=0c-05-00, hdrtype=0x00, mfdev=0 cmdreg=0x0001, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=b, irq=19 pci0:0:31:3: reprobing on driver added pci2: driver added pci6: driver added found-> vendor=0x104c, dev=0x8031, revid=0x00 domain=0, bus=6, slot=7, func=0 class=06-07-00, hdrtype=0x02, mfdev=1 cmdreg=0x0007, statreg=0x0210, cachelnsz=8 (dwords) lattimer=0x31 (1470 ns), mingnt=0x44 (17000 ns), maxlat=0x03 (750 ns) intpin=a, irq=18 powerspec 2 supports D0 D1 D2 D3 current D0 pci0:6:7:0: reprobing on driver added found-> vendor=0x104c, dev=0x8032, revid=0x00 domain=0, bus=6, slot=7, func=2 class=0c-00-10, hdrtype=0x00, mfdev=1 cmdreg=0x0016, statreg=0x0210, cachelnsz=8 (dwords) lattimer=0x20 (960 ns), mingnt=0x03 (750 ns), maxlat=0x04 (1000 ns) intpin=a, irq=18 powerspec 3 supports D0 D1 D2 D3 current D0 pci0:6:7:2: reprobing on driver added found-> vendor=0x104c, dev=0x8033, revid=0x00 domain=0, bus=6, slot=7, func=3 class=01-80-00, hdrtype=0x00, mfdev=1 cmdreg=0x0006, statreg=0x0210, cachelnsz=8 (dwords) lattimer=0x39 (1710 ns), mingnt=0x07 (1750 ns), maxlat=0x04 (1000 ns) intpin=a, irq=18 powerspec 2 supports D0 D1 D2 D3 current D0 pci0:6:7:3: reprobing on driver added pci9: driver added pci10: driver added pcm0: <HDA Sigmatel STAC9220 PCM #0 Analog> at cad 0 nid 1 on hdac0 pcm0: +--------------------------------------+ pcm0: | DUMPING PCM Playback/Record Channels | pcm0: +--------------------------------------+ pcm0: pcm0: Record: pcm0: pcm0: Stream cap: 0x00000001 pcm0: PCM pcm0: PCM cap: 0x000e07e0 pcm0: 16 20 24 bits, 44 48 88 96 176 192 KHz pcm0: ADC: 3 pcm0: pcm0: +-------------------------------+ pcm0: | DUMPING Playback/Record Paths | pcm0: +-------------------------------+ pcm0: pcm0: Record: pcm0: pcm0: nid=3 [audio input] pcm0: | pcm0: + <- nid=10 [audio selector] [src: line, mic, cd] pcm0: | pcm0: + <- nid=12 [audio selector] [src: line, mic, cd] pcm0: | pcm0: + <- nid=16 [pin: Mic (Pink Jack)] [src: mic] pcm0: + <- nid=15 [pin: Line-in (Blue Jack)] [src: line] pcm0: + <- nid=18 [pin: CD (Fixed)] [src: cd] pcm0: pcm0: +-------------------------+ pcm0: | DUMPING Volume Controls | pcm0: +-------------------------+ pcm0: pcm0: Speaker/Beep Volume (OSS: speaker) pcm0: | pcm0: +- ctl 5 (nid 20 out): -18/0dB (4 steps) + mute pcm0: pcm0: Recording Level (OSS: rec) pcm0: | pcm0: +- ctl 1 (nid 10 out): 0/22dB (16 steps) + mute pcm0: +- ctl 3 (nid 12 out): 0/40dB (5 steps) pcm0: pcm0: Mixer "speaker": pcm0: Mixer "rec": pcm0: clone manager: deadline=750ms flags=0x8000001e pcm0: sndbuf_setmap 34bf0000, 4000; 0xe415a000 -> 34bf0000 pcm1: <HDA Sigmatel STAC9220 PCM #1 Digital> at cad 0 nid 1 on hdac0 pcm1: +--------------------------------------+ pcm1: | DUMPING PCM Playback/Record Channels | pcm1: +--------------------------------------+ pcm1: pcm1: Record: pcm1: pcm1: Stream cap: 0x00000005 pcm1: AC3 PCM pcm1: PCM cap: 0x000e0160 pcm1: 16 20 24 bits, 44 48 96 KHz pcm1: ADC: 4 pcm1: pcm1: +-------------------------------+ pcm1: | DUMPING Playback/Record Paths | pcm1: +-------------------------------+ pcm1: pcm1: Record: pcm1: pcm1: nid=4 [audio input] pcm1: | pcm1: + <- nid=8 [pin: SPDIF-in (White Jack)] [src: dig1] pcm1: pcm1: +-------------------------+ pcm1: | DUMPING Volume Controls | pcm1: +-------------------------+ pcm1: pcm1: clone manager: deadline=750ms flags=0x8000001e pcm1: sndbuf_setmap 1a470000, 4000; 0xe416a000 -> 1a470000 hdac0: Dumping AFG cad=0 nid=1 pins: hdac0: nid 8 0x01c5e030 as 3 seq 0 SPDIF-in Jack jack 5 loc 1 color White misc 0 hdac0: Caps: IN EAPD Sense: 0x00000000 hdac0: nid 9 0x01451012 as 1 seq 2 SPDIF-out Jack jack 5 loc 1 color Black misc 0 [DISABLED] hdac0: Caps: OUT hdac0: nid 13 0x02214011 as 1 seq 1 Headphones Jack jack 1 loc 2 color Green misc 0 [DISABLED] hdac0: Caps: IN OUT HP Sense: 0x7fffffff delay 100000us hdac0: nid 14 0x01014010 as 1 seq 0 Line-out Jack jack 1 loc 1 color Green misc 0 [DISABLED] hdac0: Caps: IN OUT HP Sense: 0x7fffffff delay 100000us hdac0: nid 15 0x01813021 as 2 seq 1 Line-in Jack jack 1 loc 1 color Blue misc 0 hdac0: Caps: IN OUT Sense: 0x7fffffff delay 100000us hdac0: nid 16 0x02a19020 as 2 seq 0 Mic Jack jack 1 loc 2 color Pink misc 0 hdac0: Caps: IN OUT VREF Sense: 0x80002710 delay 10us hdac0: nid 17 0x50170013 as 1 seq 3 Speaker None jack 7 loc 16 color Unknown misc 0 [DISABLED] hdac0: Caps: OUT hdac0: nid 18 0x90330022 as 2 seq 2 CD Fixed jack 3 loc 16 color Unknown misc 0 hdac0: Caps: IN hdac0: NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=1 GPIUnsol=1 hdac0: GPIO: data=0x00000000 enable=0x00000000 direction=0x00000000 hdac0: wake=0x00000000 unsol=0x00000000 sticky=0x00000000 [-- Attachment #3 --] pci0: driver added found-> vendor=0x8086, dev=0x2668, revid=0x04 domain=0, bus=0, slot=27, func=0 class=04-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0406, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=255 powerspec 2 supports D0 D3 current D0 MSI supports 1 message, 64 bit pci0:0:27:0: reprobing on driver added hdac0: <Intel 82801F High Definition Audio Controller> mem 0xd000c000-0xd000ffff at device 27.0 on pci0 hdac0: HDA Driver Revision: 20091113_0138 hdac0: attempting to allocate 1 MSI vectors (1 supported) msi: routing MSI IRQ 256 to vector 49 hdac0: using IRQ 256 for MSI hdac0: [MPSAFE] hdac0: [ITHREAD] hdac0: Caps: OSS 4, ISS 4, BSS 0, NSDO 1, 64bit, CORB 256, RIRB 256 hdac0: Probing codec #0... hdac0: HDA Codec #0: Sigmatel STAC9220 hdac0: HDA Codec ID: 0x83847690 hdac0: Vendor: 0x8384 hdac0: Device: 0x7690 hdac0: Revision: 0x22 hdac0: Stepping: 0x01 hdac0: PCI Subvendor: 0x83171033 hdac0: Found audio FG nid=1 startnode=2 endnode=21 total=19 hdac0: Probing codec #1... hdac0: HDA Codec #1: Lucent/Agere Systems (Unknown) hdac0: HDA Codec ID: 0x11c13026 hdac0: Vendor: 0x11c1 hdac0: Device: 0x3026 hdac0: Revision: 0x07 hdac0: Stepping: 0x00 hdac0: PCI Subvendor: 0x83171033 hdac0: Found modem FG nid=1 startnode=2 endnode=40 total=38 hdac0: hdac0: Processing audio FG cad=0 nid=1... hdac0: GPIO: 0xc0000004 NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=1 GPIUnsol=1 hdac0: nid 8 0x01c5e030 as 3 seq 0 SPDIF-in Jack jack 5 loc 1 color White misc 0 hdac0: nid 9 0x01451012 as 1 seq 2 SPDIF-out Jack jack 5 loc 1 color Black misc 0 hdac0: nid 13 0x02214011 as 1 seq 1 Headphones Jack jack 1 loc 2 color Green misc 0 hdac0: Patching pin config nid=13 0x02214011 -> 0x0221401f hdac0: nid 14 0x01014010 as 1 seq 0 Line-out Jack jack 1 loc 1 color Green misc 0 hdac0: nid 15 0x01813021 as 2 seq 1 Line-in Jack jack 1 loc 1 color Blue misc 0 hdac0: nid 16 0x02a19020 as 2 seq 0 Mic Jack jack 1 loc 2 color Pink misc 0 hdac0: nid 17 0x50170013 as 1 seq 3 Speaker None jack 7 loc 16 color Unknown misc 0 hdac0: nid 18 0x90330022 as 2 seq 2 CD Fixed jack 3 loc 16 color Unknown misc 0 hdac0: Patched pins configuration: hdac0: nid 8 0x01c5e030 as 3 seq 0 SPDIF-in Jack jack 5 loc 1 color White misc 0 hdac0: nid 9 0x01451012 as 1 seq 2 SPDIF-out Jack jack 5 loc 1 color Black misc 0 hdac0: nid 13 0x0221401f as 1 seq 15 Headphones Jack jack 1 loc 2 color Green misc 0 hdac0: nid 14 0x01014010 as 1 seq 0 Line-out Jack jack 1 loc 1 color Green misc 0 hdac0: nid 15 0x01813021 as 2 seq 1 Line-in Jack jack 1 loc 1 color Blue misc 0 hdac0: nid 16 0x02a19020 as 2 seq 0 Mic Jack jack 1 loc 2 color Pink misc 0 hdac0: nid 17 0x50170013 as 1 seq 3 Speaker None jack 7 loc 16 color Unknown misc 0 [DISABLED] hdac0: nid 18 0x90330022 as 2 seq 2 CD Fixed jack 3 loc 16 color Unknown misc 0 hdac0: 3 associations found: hdac0: Association 0 (1) out: hdac0: Pin nid=14 seq=0 hdac0: Pin nid=9 seq=2 hdac0: Pin nid=13 seq=15 hdac0: Association 1 (2) in: hdac0: Pin nid=16 seq=0 hdac0: Pin nid=15 seq=1 hdac0: Pin nid=18 seq=2 hdac0: Association 2 (3) in: hdac0: Pin nid=8 seq=0 hdac0: Tracing association 0 (1) hdac0: Pin 14 traced to DAC 2 hdac0: Pin 9 traced to DAC 5 hdac0: Pin 13 traced to DAC 2 and hpredir 0 hdac0: Association 0 (1) trace succeeded hdac0: Tracing association 1 (2) hdac0: Pin 16 traced to ADC 3 hdac0: Pin 15 traced to ADC 3 hdac0: Pin 18 traced to ADC 3 hdac0: Association 1 (2) trace succeeded hdac0: Tracing association 2 (3) hdac0: Pin 8 traced to ADC 4 hdac0: Association 2 (3) trace succeeded hdac0: Tracing input monitor hdac0: Tracing beeper hdac0: Enabling headphone/speaker audio routing switching: hdac0: as=0 sense nid=13 [UNSOL] hdac0: Pin sense: nid=13 res=0x7fffffff 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: 0x000e07e0 hdac0: 16 20 24 bits, 44 48 88 96 176 192 KHz hdac0: IN amp: 0x00000000 hdac0: OUT amp: 0x80051f1f hdac0: hdac0: nid: 2 hdac0: Name: audio output hdac0: Widget cap: 0x000d0401 hdac0: PWR STEREO hdac0: Association: 0 (0x00008001) hdac0: OSS: pcm (pcm) hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x000e07e0 hdac0: 16 20 24 bits, 44 48 88 96 176 192 KHz hdac0: hdac0: nid: 3 hdac0: Name: audio input hdac0: Widget cap: 0x001d0541 hdac0: PWR PROC STEREO hdac0: Association: 1 (0x00000007) hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x000e07e0 hdac0: 16 20 24 bits, 44 48 88 96 176 192 KHz hdac0: connections: 1 hdac0: | hdac0: + <- nid=10 [audio selector] hdac0: hdac0: nid: 4 hdac0: Name: audio input hdac0: Widget cap: 0x00140311 hdac0: DIGITAL STEREO hdac0: Association: 2 (0x00000001) hdac0: Stream cap: 0x00000005 hdac0: AC3 PCM hdac0: PCM cap: 0x000e0160 hdac0: 16 20 24 bits, 44 48 96 KHz hdac0: connections: 1 hdac0: | hdac0: + <- nid=8 [pin: SPDIF-in (White Jack)] hdac0: hdac0: nid: 5 hdac0: Name: audio output hdac0: Widget cap: 0x00040211 hdac0: DIGITAL STEREO hdac0: Association: 0 (0x00000004) hdac0: OSS: pcm (pcm) hdac0: Stream cap: 0x00000005 hdac0: AC3 PCM hdac0: PCM cap: 0x000e01e0 hdac0: 16 20 24 bits, 44 48 88 96 KHz hdac0: hdac0: nid: 6 [DISABLED] hdac0: Name: vendor widget hdac0: Widget cap: 0x00f30201 hdac0: DIGITAL STEREO hdac0: hdac0: nid: 7 hdac0: Name: audio selector hdac0: Widget cap: 0x00300901 hdac0: LRSWAP STEREO hdac0: Association: 0 (0x00008001) hdac0: OSS: pcm hdac0: connections: 3 hdac0: | hdac0: + <- nid=2 [audio output] (selected) hdac0: + [DISABLED] <- nid=8 [pin: SPDIF-in (White Jack)] hdac0: + [DISABLED] <- nid=10 [audio selector] hdac0: hdac0: nid: 8 hdac0: Name: pin: SPDIF-in (White Jack) hdac0: Widget cap: 0x00430681 hdac0: PWR DIGITAL UNSOL STEREO hdac0: Association: 2 (0x00000001) hdac0: OSS: dig1 (dig1) hdac0: Pin cap: 0x00010024 hdac0: PDC IN EAPD hdac0: Pin config: 0x01c5e030 hdac0: Pin control: 0x00000020 IN hdac0: EAPD: 0x00000002 hdac0: hdac0: nid: 9 hdac0: Name: pin: SPDIF-out (Black Jack) hdac0: Widget cap: 0x00400301 hdac0: DIGITAL STEREO hdac0: Association: 0 (0x00000004) hdac0: Pin cap: 0x00000010 hdac0: OUT hdac0: Pin config: 0x01451012 hdac0: Pin control: 0x00000040 OUT hdac0: connections: 2 hdac0: | hdac0: + <- nid=5 [audio output] (selected) hdac0: + [DISABLED] <- nid=10 [audio selector] hdac0: hdac0: nid: 10 hdac0: Name: audio selector hdac0: Widget cap: 0x0030090d hdac0: LRSWAP STEREO hdac0: Association: 1 (0x00000007) hdac0: OSS: line, mic, cd hdac0: Output amp: 0x80050f00 hdac0: mute=1 step=15 size=5 offset=0 hdac0: connections: 1 hdac0: | hdac0: + <- nid=12 [audio selector] hdac0: hdac0: nid: 11 hdac0: Name: audio selector hdac0: Widget cap: 0x00300105 hdac0: STEREO hdac0: Association: 0 (0x00008001) hdac0: OSS: pcm hdac0: Output amp: 0x80051f1f hdac0: mute=1 step=31 size=5 offset=31 hdac0: connections: 1 hdac0: | hdac0: + <- nid=7 [audio selector] hdac0: hdac0: nid: 12 hdac0: Name: audio selector hdac0: Widget cap: 0x0030010d hdac0: STEREO hdac0: Association: 1 (0x00000007) hdac0: OSS: line, mic, cd hdac0: Output amp: 0x00270400 hdac0: mute=0 step=4 size=39 offset=0 hdac0: connections: 5 hdac0: | hdac0: + <- nid=16 [pin: Mic (Pink Jack)] (selected) hdac0: + <- nid=15 [pin: Line-in (Blue Jack)] hdac0: + [DISABLED] <- nid=14 [pin: Line-out (Green Jack)] hdac0: + [DISABLED] <- nid=13 [pin: Headphones (Green Jack)] hdac0: + <- nid=18 [pin: CD (Fixed)] hdac0: hdac0: nid: 13 hdac0: Name: pin: Headphones (Green Jack) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Association: 0 (0x00008000) hdac0: Pin cap: 0x0000003f hdac0: ISC TRQD PDC HP OUT IN hdac0: Pin config: 0x0221401f hdac0: Pin control: 0x00000080 HP hdac0: connections: 1 hdac0: | hdac0: + <- nid=11 [audio selector] hdac0: hdac0: nid: 14 hdac0: Name: pin: Line-out (Green Jack) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Association: 0 (0x00000001) hdac0: Pin cap: 0x0000003f hdac0: ISC TRQD PDC HP OUT IN hdac0: Pin config: 0x01014010 hdac0: Pin control: 0x00000040 OUT hdac0: connections: 1 hdac0: | hdac0: + <- nid=11 [audio selector] hdac0: hdac0: nid: 15 hdac0: Name: pin: Line-in (Blue Jack) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Association: 1 (0x00000002) hdac0: OSS: line (line) hdac0: Pin cap: 0x00000037 hdac0: ISC TRQD PDC OUT IN hdac0: Pin config: 0x01813021 hdac0: Pin control: 0x00000020 IN hdac0: connections: 1 hdac0: | hdac0: + [DISABLED] <- nid=11 [audio selector] hdac0: hdac0: nid: 16 hdac0: Name: pin: Mic (Pink Jack) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Association: 1 (0x00000001) hdac0: OSS: mic (mic) hdac0: Pin cap: 0x00001737 hdac0: ISC TRQD PDC OUT IN VREF[ 50 80 GROUND HIZ ] hdac0: Pin config: 0x02a19020 hdac0: Pin control: 0x00000024 IN VREFs hdac0: connections: 1 hdac0: | hdac0: + [DISABLED] <- nid=11 [audio selector] hdac0: hdac0: nid: 17 [DISABLED] hdac0: Name: pin: Speaker (None) hdac0: Widget cap: 0x00400104 hdac0: Pin cap: 0x00000010 hdac0: OUT hdac0: Pin config: 0x50170013 hdac0: Pin control: 0x00000000 hdac0: Output amp: 0x80051f1f hdac0: mute=1 step=31 size=5 offset=31 hdac0: connections: 1 hdac0: | hdac0: + [DISABLED] <- nid=19 [audio mixer] [DISABLED] hdac0: hdac0: nid: 18 hdac0: Name: pin: CD (Fixed) hdac0: Widget cap: 0x00400001 hdac0: STEREO hdac0: Association: 1 (0x00000004) hdac0: OSS: cd (cd) hdac0: Pin cap: 0x00000020 hdac0: IN hdac0: Pin config: 0x90330022 hdac0: Pin control: 0x00000020 IN hdac0: hdac0: nid: 19 [DISABLED] hdac0: Name: audio mixer hdac0: Widget cap: 0x00200100 hdac0: connections: 1 hdac0: | hdac0: + <- nid=7 [audio selector] hdac0: hdac0: nid: 20 hdac0: Name: beep widget hdac0: Widget cap: 0x0070000c hdac0: Association: -2 (0x00000000) hdac0: OSS: speaker (speaker) hdac0: Output amp: 0x80170303 hdac0: mute=1 step=3 size=23 offset=3 hdac0: hdac0: Processing modem FG cad=1 nid=1... hdac0: found-> vendor=0x8086, dev=0x266a, revid=0x04 domain=0, bus=0, slot=31, func=3 class=0c-05-00, hdrtype=0x00, mfdev=0 cmdreg=0x0001, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=b, irq=19 pci0:0:31:3: reprobing on driver added pci2: driver added pci6: driver added found-> vendor=0x104c, dev=0x8031, revid=0x00 domain=0, bus=6, slot=7, func=0 class=06-07-00, hdrtype=0x02, mfdev=1 cmdreg=0x0007, statreg=0x0210, cachelnsz=8 (dwords) lattimer=0x31 (1470 ns), mingnt=0x44 (17000 ns), maxlat=0x03 (750 ns) intpin=a, irq=18 powerspec 2 supports D0 D1 D2 D3 current D0 pci0:6:7:0: reprobing on driver added found-> vendor=0x104c, dev=0x8032, revid=0x00 domain=0, bus=6, slot=7, func=2 class=0c-00-10, hdrtype=0x00, mfdev=1 cmdreg=0x0016, statreg=0x0210, cachelnsz=8 (dwords) lattimer=0x20 (960 ns), mingnt=0x03 (750 ns), maxlat=0x04 (1000 ns) intpin=a, irq=18 powerspec 3 supports D0 D1 D2 D3 current D0 pci0:6:7:2: reprobing on driver added pci0:6:7:2: Transition from D0 to D3 found-> vendor=0x104c, dev=0x8033, revid=0x00 domain=0, bus=6, slot=7, func=3 class=01-80-00, hdrtype=0x00, mfdev=1 cmdreg=0x0006, statreg=0x0210, cachelnsz=8 (dwords) lattimer=0x39 (1710 ns), mingnt=0x07 (1750 ns), maxlat=0x04 (1000 ns) intpin=a, irq=18 powerspec 2 supports D0 D1 D2 D3 current D0 pci0:6:7:3: reprobing on driver added pci0:6:7:3: Transition from D0 to D3 pci9: driver added pci10: driver added pcm0: <HDA Sigmatel STAC9220 PCM #0 Digital> 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: 0x000e01e0 pcm0: 16 20 24 bits, 44 48 88 96 KHz pcm0: DAC: 2 5 pcm0: pcm0: Record: pcm0: pcm0: Stream cap: 0x00000005 pcm0: AC3 PCM pcm0: PCM cap: 0x000e0160 pcm0: 16 20 24 bits, 44 48 96 KHz pcm0: ADC: 4 pcm0: pcm0: +-------------------------------+ pcm0: | DUMPING Playback/Record Paths | pcm0: +-------------------------------+ pcm0: pcm0: Playback: pcm0: pcm0: nid=9 [pin: SPDIF-out (Black Jack)] pcm0: | pcm0: + <- nid=5 [audio output] [src: pcm] pcm0: pcm0: nid=13 [pin: Headphones (Green Jack)] pcm0: | pcm0: + <- nid=11 [audio selector] [src: pcm] pcm0: | pcm0: + <- nid=7 [audio selector] [src: pcm] pcm0: | pcm0: + <- nid=2 [audio output] [src: pcm] pcm0: pcm0: nid=14 [pin: Line-out (Green Jack)] pcm0: | pcm0: + <- nid=11 [audio selector] [src: pcm] pcm0: | pcm0: + <- nid=7 [audio selector] [src: pcm] pcm0: | pcm0: + <- nid=2 [audio output] [src: pcm] pcm0: pcm0: Record: pcm0: pcm0: nid=4 [audio input] pcm0: | pcm0: + <- nid=8 [pin: SPDIF-in (White Jack)] [src: dig1] pcm0: pcm0: +-------------------------+ pcm0: | DUMPING Volume Controls | pcm0: +-------------------------+ pcm0: pcm0: Master Volume (OSS: vol) pcm0: | pcm0: +- ctl 2 (nid 11 out): -46/0dB (32 steps) + mute pcm0: pcm0: PCM Volume (OSS: pcm) pcm0: | pcm0: +- ctl 2 (nid 11 out): -46/0dB (32 steps) + mute pcm0: pcm0: Speaker/Beep Volume (OSS: speaker) pcm0: | pcm0: +- ctl 5 (nid 20 out): -18/0dB (4 steps) + mute pcm0: pcm0: Mixer "vol": pcm0: Mixer "pcm": pcm0: Mixer "speaker": pcm0: clone manager: deadline=750ms flags=0x8000001e pcm0: sndbuf_setmap a3c0000, 4000; 0xe415a000 -> a3c0000 pcm0: sndbuf_setmap 1ce0000, 4000; 0xe416a000 -> 1ce0000 pcm1: <HDA Sigmatel STAC9220 PCM #1 Analog> at cad 0 nid 1 on hdac0 pcm1: +--------------------------------------+ pcm1: | DUMPING PCM Playback/Record Channels | pcm1: +--------------------------------------+ pcm1: pcm1: Record: pcm1: pcm1: Stream cap: 0x00000001 pcm1: PCM pcm1: PCM cap: 0x000e07e0 pcm1: 16 20 24 bits, 44 48 88 96 176 192 KHz pcm1: ADC: 3 pcm1: pcm1: +-------------------------------+ pcm1: | DUMPING Playback/Record Paths | pcm1: +-------------------------------+ pcm1: pcm1: Record: pcm1: pcm1: nid=3 [audio input] pcm1: | pcm1: + <- nid=10 [audio selector] [src: line, mic, cd] pcm1: | pcm1: + <- nid=12 [audio selector] [src: line, mic, cd] pcm1: | pcm1: + <- nid=16 [pin: Mic (Pink Jack)] [src: mic] pcm1: + <- nid=15 [pin: Line-in (Blue Jack)] [src: line] pcm1: + <- nid=18 [pin: CD (Fixed)] [src: cd] pcm1: pcm1: +-------------------------+ pcm1: | DUMPING Volume Controls | pcm1: +-------------------------+ pcm1: pcm1: Recording Level (OSS: rec) pcm1: | pcm1: +- ctl 1 (nid 10 out): 0/22dB (16 steps) + mute pcm1: +- ctl 3 (nid 12 out): 0/40dB (5 steps) pcm1: pcm1: Mixer "rec": pcm1: clone manager: deadline=750ms flags=0x8000001e pcm1: sndbuf_setmap a3e0000, 4000; 0xe417a000 -> a3e0000 hdac0: Dumping AFG cad=0 nid=1 pins: hdac0: nid 8 0x01c5e030 as 3 seq 0 SPDIF-in Jack jack 5 loc 1 color White misc 0 hdac0: Caps: IN EAPD Sense: 0x00000000 hdac0: nid 9 0x01451012 as 1 seq 2 SPDIF-out Jack jack 5 loc 1 color Black misc 0 hdac0: Caps: OUT hdac0: nid 13 0x0221401f as 1 seq 15 Headphones Jack jack 1 loc 2 color Green misc 0 hdac0: Caps: IN OUT HP Sense: 0x7fffffff delay 100000us hdac0: nid 14 0x01014010 as 1 seq 0 Line-out Jack jack 1 loc 1 color Green misc 0 hdac0: Caps: IN OUT HP Sense: 0x7fffffff delay 100000us hdac0: nid 15 0x01813021 as 2 seq 1 Line-in Jack jack 1 loc 1 color Blue misc 0 hdac0: Caps: IN OUT Sense: 0x7fffffff delay 100000us hdac0: nid 16 0x02a19020 as 2 seq 0 Mic Jack jack 1 loc 2 color Pink misc 0 hdac0: Caps: IN OUT VREF Sense: 0x80002710 delay 10us hdac0: nid 17 0x50170013 as 1 seq 3 Speaker None jack 7 loc 16 color Unknown misc 0 [DISABLED] hdac0: Caps: OUT hdac0: nid 18 0x90330022 as 2 seq 2 CD Fixed jack 3 loc 16 color Unknown misc 0 hdac0: Caps: IN hdac0: NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=1 GPIUnsol=1 hdac0: GPIO: data=0x00000000 enable=0x00000000 direction=0x00000000 hdac0: wake=0x00000000 unsol=0x00000000 sticky=0x00000000 hdac0: hdac_command_send_internal: TIMEOUT numcmd=1, sent=1, received=0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100731163218.GA39249>
