Discussion:
Pointers to debug lack-of-audio
(too old to reply)
Joe Greco
2009-11-23 02:24:48 UTC
Permalink
I've got a bunch of HP dc7600 Small Form Factor PC's. One of them is
running the latest version of PC-BSD, which is of course based on
FreeBSD 7.2-STABLE. It appears to load the audio driver, but it's
mute. The dc7600 sports a built-in speaker, and neither it nor any
of the jacks seem to produce sound.

I've looked over the saga of the snd_hda driver, and am not quite clear
where to go. It looks configured. The pin mappings seem to make some
sort of sense, though I don't know what they ought to be.

# cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
Installed devices:
pcm0: <HDA Realtek ALC260 PCM #0 Analog> at cad 0 nid 1 on hdac0 kld snd_hda
[MPSAFE] (1p:1v/1r:1v channels duplex default)

So it probes fine.

Doing a kldunload/reload with verbose logging reveals

hdac0: <Intel 82801G High Definition Audio Controller> mem 0xfc500000-0xfc503fff irq 21 at device 27.0 on pci0
hdac0: HDA Driver Revision: 20090624_0136
hdac0: attempting to allocate 1 MSI vectors (1 supported)
msi: routing MSI IRQ 257 to vector 60
hdac0: using IRQ 257 for MSI
msi: Assigning MSI IRQ 257 to local APIC 0
hdac0: [MPSAFE]
hdac0: [ITHREAD]
hdac0: Probing codec #0...
hdac0: HDA Codec #0: Realtek ALC260
hdac0: HDA Codec ID: 0x10ec0260
hdac0: Vendor: 0x10ec
hdac0: Device: 0x0260
hdac0: Revision: 0x04
hdac0: Stepping: 0x00
hdac0: PCI Subvendor: 0x3011103c
hdac0: Found audio FG nid=1 startnode=2 endnode=28 total=26
hdac0:
hdac0: Processing audio FG cad=0 nid=1...
hdac0: GPIO: 0x40000004 NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
hdac0: nid 15 0x9993e133 as 3 seq 3 AUX Fixed jack 3 loc 25 color White misc 1
hdac0: nid 16 0x0221101f as 1 seq 15 Headphones Jack jack 1 loc 2 color Black misc 0
hdac0: nid 17 0x9707e120 as 2 seq 0 Line-out Fixed jack 7 loc 23 color White misc 1
hdac0: nid 18 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1
hdac0: nid 19 0x02a11930 as 3 seq 0 Mic Jack jack 1 loc 2 color Black misc 9
hdac0: nid 20 0x01813c31 as 3 seq 1 Line-in Jack jack 1 loc 1 color Blue misc 12
hdac0: nid 21 0x01014c10 as 1 seq 0 Line-out Jack jack 1 loc 1 color Green misc 12
hdac0: nid 22 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1
hdac0: Patching widget caps nid=23 0x00400000 -> 0x00700000
hdac0: nid 24 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1
hdac0: nid 25 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1
hdac0: Patched pins configuration:
hdac0: nid 15 0x9993e133 as 3 seq 3 AUX Fixed jack 3 loc 25 color White misc 1
hdac0: nid 16 0x0221101f as 1 seq 15 Headphones Jack jack 1 loc 2 color Black misc 0
hdac0: nid 17 0x9707e120 as 2 seq 0 Line-out Fixed jack 7 loc 23 color White misc 1
hdac0: nid 18 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED]
hdac0: nid 19 0x02a11930 as 3 seq 0 Mic Jack jack 1 loc 2 color Black misc 9
hdac0: nid 20 0x01813c31 as 3 seq 1 Line-in Jack jack 1 loc 1 color Blue misc 12
hdac0: nid 21 0x01014c10 as 1 seq 0 Line-out Jack jack 1 loc 1 color Green misc 12
hdac0: nid 22 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED]
hdac0: nid 24 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED]
hdac0: nid 25 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED]
hdac0: 3 associations found:
hdac0: Association 0 (1) out:
hdac0: Pin nid=21 seq=0
hdac0: Pin nid=16 seq=15
hdac0: Association 1 (2) out:
hdac0: Pin nid=17 seq=0
hdac0: Association 2 (3) in:
hdac0: Pin nid=19 seq=0
hdac0: Pin nid=20 seq=1
hdac0: Pin nid=15 seq=3
hdac0: Tracing association 0 (1)
hdac0: Pin 21 traced to DAC 2
hdac0: Pin 16 traced to DAC 2 and hpredir 0
hdac0: Association 0 (1) trace succeeded
hdac0: Tracing association 1 (2)
hdac0: Unable to trace pin 17 seq 0 with min nid 0
hdac0: Association 1 (2) trace failed
hdac0: Tracing association 2 (3)
hdac0: Pin 19 traced to ADC 4
hdac0: Pin 20 traced to ADC 4
hdac0: Pin 15 traced to ADC 4
hdac0: Association 2 (3) trace succeeded
hdac0: Tracing input monitor
hdac0: Tracing beeper
hdac0: nid 23 traced to out
hdac0: Enabling headphone/speaker audio routing switching:
hdac0: as=0 sense nid=16 [UNSOL]
hdac0: Pin sense: nid=16 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: 0x000e0560
hdac0: 16 20 24 bits, 44 48 96 192 KHz
hdac0: IN amp: 0x00000000
hdac0: OUT amp: 0x00000000
hdac0:
hdac0: nid: 2
hdac0: Name: audio output
hdac0: Widget cap: 0x00000011
hdac0: STEREO
hdac0: Association: 0 (0x00008001)
hdac0: OSS: pcm (pcm)
hdac0: Stream cap: 0x00000001
hdac0: PCM
hdac0: PCM cap: 0x000e0560
hdac0: 16 20 24 bits, 44 48 96 192 KHz
hdac0:
hdac0: nid: 3 [DISABLED]
hdac0: Name: audio output
hdac0: Widget cap: 0x00000211
hdac0: DIGITAL STEREO
hdac0: Stream cap: 0x00000001
hdac0: PCM
hdac0: PCM cap: 0x001e0560
hdac0: 16 20 24 32 bits, 44 48 96 192 KHz
hdac0:
hdac0: nid: 4
hdac0: Name: audio input
hdac0: Widget cap: 0x0010011b
hdac0: STEREO
hdac0: Association: 2 (0x0000000b)
hdac0: Stream cap: 0x00000001
hdac0: PCM
hdac0: PCM cap: 0x00060160
hdac0: 16 20 bits, 44 48 96 KHz
hdac0: Input amp: 0x80032300
hdac0: mute=1 step=35 size=3 offset=0
hdac0: connections: 7
hdac0: |
hdac0: + [DISABLED] <- nid=18 [pin: Speaker (None)] [DISABLED]
hdac0: + <- nid=19 [pin: Mic (Black Jack)] (selected)
hdac0: + <- nid=20 [pin: Line-in (Blue Jack)]
hdac0: + [DISABLED] <- nid=21 [pin: Line-out (Green Jack)]
hdac0: + [DISABLED] <- nid=22 [pin: Speaker (None)] [DISABLED]
hdac0: + <- nid=15 [pin: AUX (Fixed)]
hdac0: + [DISABLED] <- nid=16 [pin: Headphones (Black Jack)]
hdac0:
hdac0: nid: 5 [DISABLED]
hdac0: Name: audio input
hdac0: Widget cap: 0x0010011b
hdac0: STEREO
hdac0: Stream cap: 0x00000001
hdac0: PCM
hdac0: PCM cap: 0x00060160
hdac0: 16 20 bits, 44 48 96 KHz
hdac0: Input amp: 0x80032300
hdac0: mute=1 step=35 size=3 offset=0
hdac0: connections: 8
hdac0: |
hdac0: + [DISABLED] <- nid=18 [pin: Speaker (None)] [DISABLED] (selected)
hdac0: + <- nid=19 [pin: Mic (Black Jack)]
hdac0: + <- nid=20 [pin: Line-in (Blue Jack)]
hdac0: + <- nid=21 [pin: Line-out (Green Jack)]
hdac0: + [DISABLED] <- nid=22 [pin: Speaker (None)] [DISABLED]
hdac0: + <- nid=7 [audio mixer]
hdac0: + <- nid=15 [pin: AUX (Fixed)]
hdac0: + <- nid=16 [pin: Headphones (Black Jack)]
hdac0:
hdac0: nid: 6 [DISABLED]
hdac0: Name: audio input
hdac0: Widget cap: 0x00100391
hdac0: DIGITAL UNSOL STEREO
hdac0: Stream cap: 0x00000001
hdac0: PCM
hdac0: PCM cap: 0x001e0160
hdac0: 16 20 24 32 bits, 44 48 96 KHz
hdac0: connections: 1
hdac0: |
hdac0: + [DISABLED] <- nid=25 [pin: Speaker (None)] [DISABLED]
hdac0:
hdac0: nid: 7
hdac0: Name: audio mixer
hdac0: Widget cap: 0x0020010b
hdac0: STEREO
hdac0: Association: -2 (0x00000000)
hdac0: OSS: speaker, line, mic, line1
hdac0: Input amp: 0x80034123
hdac0: mute=1 step=65 size=3 offset=35
hdac0: connections: 8
hdac0: |
hdac0: + [DISABLED] <- nid=18 [pin: Speaker (None)] [DISABLED]
hdac0: + <- nid=19 [pin: Mic (Black Jack)]
hdac0: + <- nid=20 [pin: Line-in (Blue Jack)]
hdac0: + [DISABLED] <- nid=21 [pin: Line-out (Green Jack)]
hdac0: + [DISABLED] <- nid=22 [pin: Speaker (None)] [DISABLED]
hdac0: + <- nid=23 [beep widget]
hdac0: + <- nid=15 [pin: AUX (Fixed)]
hdac0: + [DISABLED] <- nid=16 [pin: Headphones (Black Jack)]
hdac0:
hdac0: nid: 8
hdac0: Name: audio mixer
hdac0: Widget cap: 0x0020010f
hdac0: STEREO
hdac0: Association: 0 (0x00000001)
hdac0: OSS: pcm, speaker, line, mic, line1
hdac0: Output amp: 0x00034040
hdac0: mute=0 step=64 size=3 offset=64
hdac0: Input amp: 0x80000000
hdac0: mute=1 step=0 size=0 offset=0
hdac0: connections: 2
hdac0: |
hdac0: + <- nid=2 [audio output]
hdac0: + <- nid=7 [audio mixer]
hdac0:
hdac0: nid: 9
hdac0: Name: audio mixer
hdac0: Widget cap: 0x0020010f
hdac0: STEREO
hdac0: Association: 0 (0x00008000)
hdac0: OSS: pcm, speaker, line, mic, line1
hdac0: Output amp: 0x00034040
hdac0: mute=0 step=64 size=3 offset=64
hdac0: Input amp: 0x80000000
hdac0: mute=1 step=0 size=0 offset=0
hdac0: connections: 2
hdac0: |
hdac0: + <- nid=2 [audio output]
hdac0: + <- nid=7 [audio mixer]
hdac0:
hdac0: nid: 10 [DISABLED]
hdac0: Name: audio mixer
hdac0: Widget cap: 0x0020010e
hdac0: Output amp: 0x00034123
hdac0: mute=0 step=65 size=3 offset=35
hdac0: Input amp: 0x80000000
hdac0: mute=1 step=0 size=0 offset=0
hdac0: connections: 2
hdac0: |
hdac0: + [DISABLED] <- nid=2 [audio output]
hdac0: + [DISABLED] <- nid=7 [audio mixer]
hdac0:
hdac0: nid: 11 [DISABLED]
hdac0: Name: audio selector
hdac0: Widget cap: 0x00300101
hdac0: STEREO
hdac0: connections: 2
hdac0: |
hdac0: + <- nid=8 [audio mixer] (selected)
hdac0: + <- nid=9 [audio mixer]
hdac0:
hdac0: nid: 12 [DISABLED]
hdac0: Name: audio selector
hdac0: Widget cap: 0x00300101
hdac0: STEREO
hdac0: connections: 2
hdac0: |
hdac0: + <- nid=8 [audio mixer] (selected)
hdac0: + <- nid=9 [audio mixer]
hdac0:
hdac0: nid: 13 [DISABLED]
hdac0: Name: audio selector
hdac0: Widget cap: 0x00300101
hdac0: STEREO
hdac0: connections: 2
hdac0: |
hdac0: + <- nid=8 [audio mixer] (selected)
hdac0: + <- nid=9 [audio mixer]
hdac0:
hdac0: nid: 14
hdac0: Name: audio selector
hdac0: Widget cap: 0x00300101
hdac0: STEREO
hdac0: Association: 0 (0x00000001)
hdac0: OSS: pcm, speaker, line, mic, line1
hdac0: connections: 2
hdac0: |
hdac0: + <- nid=8 [audio mixer] (selected)
hdac0: + [DISABLED] <- nid=9 [audio mixer]
hdac0:
hdac0: nid: 15
hdac0: Name: pin: AUX (Fixed)
hdac0: Widget cap: 0x0040018d
hdac0: UNSOL STEREO
hdac0: Association: 2 (0x00000008)
hdac0: OSS: line1 (line1)
hdac0: Pin cap: 0x0001003f
hdac0: ISC TRQD PDC HP OUT IN EAPD
hdac0: Pin config: 0x9993e133
hdac0: Pin control: 0x00000020 IN
hdac0: EAPD: 0x00000002
hdac0: Output amp: 0x80000000
hdac0: mute=1 step=0 size=0 offset=0
hdac0: connections: 1
hdac0: |
hdac0: + [DISABLED] <- nid=8 [audio mixer]
hdac0:
hdac0: nid: 16
hdac0: Name: pin: Headphones (Black Jack)
hdac0: Widget cap: 0x0040018d
hdac0: UNSOL STEREO
hdac0: Association: 0 (0x00008000)
hdac0: Pin cap: 0x0001003f
hdac0: ISC TRQD PDC HP OUT IN EAPD
hdac0: Pin config: 0x0221101f
hdac0: Pin control: 0x000000c0 HP OUT
hdac0: EAPD: 0x00000002
hdac0: Output amp: 0x80000000
hdac0: mute=1 step=0 size=0 offset=0
hdac0: connections: 1
hdac0: |
hdac0: + <- nid=9 [audio mixer]
hdac0:
hdac0: nid: 17 [DISABLED]
hdac0: Name: pin: Line-out (Fixed)
hdac0: Widget cap: 0x0040010c
hdac0: Pin cap: 0x00000010
hdac0: OUT
hdac0: Pin config: 0x9707e120
hdac0: Pin control: 0x00000000
hdac0: Output amp: 0x80000000
hdac0: mute=1 step=0 size=0 offset=0
hdac0: connections: 1
hdac0: |
hdac0: + [DISABLED] <- nid=10 [audio mixer] [DISABLED]
hdac0:
hdac0: nid: 18 [DISABLED]
hdac0: Name: pin: Speaker (None)
hdac0: Widget cap: 0x0040018d
hdac0: UNSOL STEREO
hdac0: Pin cap: 0x0000133f
hdac0: ISC TRQD PDC HP OUT IN VREF[ 50 80 HIZ ]
hdac0: Pin config: 0x411111f0
hdac0: Pin control: 0x00000000
hdac0: Output amp: 0x80000000
hdac0: mute=1 step=0 size=0 offset=0
hdac0: connections: 1
hdac0: |
hdac0: + [DISABLED] <- nid=11 [audio selector] [DISABLED]
hdac0:
hdac0: nid: 19
hdac0: Name: pin: Mic (Black Jack)
hdac0: Widget cap: 0x0040018d
hdac0: UNSOL STEREO
hdac0: Association: 2 (0x00000001)
hdac0: OSS: mic (mic)
hdac0: Pin cap: 0x0000133f
hdac0: ISC TRQD PDC HP OUT IN VREF[ 50 80 HIZ ]
hdac0: Pin config: 0x02a11930
hdac0: Pin control: 0x00000024 IN VREFs
hdac0: Output amp: 0x80000000
hdac0: mute=1 step=0 size=0 offset=0
hdac0: connections: 1
hdac0: |
hdac0: + [DISABLED] <- nid=12 [audio selector] [DISABLED]
hdac0:
hdac0: nid: 20
hdac0: Name: pin: Line-in (Blue Jack)
hdac0: Widget cap: 0x0040018d
hdac0: UNSOL STEREO
hdac0: Association: 2 (0x00000002)
hdac0: OSS: line (line)
hdac0: Pin cap: 0x0000133f
hdac0: ISC TRQD PDC HP OUT IN VREF[ 50 80 HIZ ]
hdac0: Pin config: 0x01813c31
hdac0: Pin control: 0x00000024 IN VREFs
hdac0: Output amp: 0x80000000
hdac0: mute=1 step=0 size=0 offset=0
hdac0: connections: 1
hdac0: |
hdac0: + [DISABLED] <- nid=13 [audio selector] [DISABLED]
hdac0:
hdac0: nid: 21
hdac0: Name: pin: Line-out (Green Jack)
hdac0: Widget cap: 0x0040018d
hdac0: UNSOL STEREO
hdac0: Association: 0 (0x00000001)
hdac0: Pin cap: 0x0000133f
hdac0: ISC TRQD PDC HP OUT IN VREF[ 50 80 HIZ ]
hdac0: Pin config: 0x01014c10
hdac0: Pin control: 0x00000040 OUT
hdac0: Output amp: 0x80000000
hdac0: mute=1 step=0 size=0 offset=0
hdac0: connections: 1
hdac0: |
hdac0: + <- nid=14 [audio selector]
hdac0:
hdac0: nid: 22 [DISABLED]
hdac0: Name: pin: Speaker (None)
hdac0: Widget cap: 0x00400001
hdac0: STEREO
hdac0: Pin cap: 0x00000020
hdac0: IN
hdac0: Pin config: 0x411111f0
hdac0: Pin control: 0x00000000
hdac0:
hdac0: nid: 23
hdac0: Name: beep widget
hdac0: Widget cap: 0x00700000
hdac0: Association: -2 (0x00000000)
hdac0: OSS: speaker (speaker)
hdac0:
hdac0: nid: 24 [DISABLED]
hdac0: Name: pin: Speaker (None)
hdac0: Widget cap: 0x00400380
hdac0: DIGITAL UNSOL
hdac0: Pin cap: 0x00000014
hdac0: PDC OUT
hdac0: Pin config: 0x411111f0
hdac0: Pin control: 0x00000000
hdac0: connections: 1
hdac0: |
hdac0: + <- nid=3 [audio output] [DISABLED]
hdac0:
hdac0: nid: 25 [DISABLED]
hdac0: Name: pin: Speaker (None)
hdac0: Widget cap: 0x00400280
hdac0: DIGITAL UNSOL
hdac0: Pin cap: 0x00000024
hdac0: PDC IN
hdac0: Pin config: 0x411111f0
hdac0: Pin control: 0x00000000
hdac0:
hdac0: nid: 26 [DISABLED]
hdac0: Name: vendor widget
hdac0: Widget cap: 0x00f00040
hdac0: PROC
hdac0:
hdac0: nid: 27 [DISABLED]
hdac0: Name: volume widget
hdac0: Widget cap: 0x00600080
hdac0: UNSOL
hdac0:
pci1: driver added
pci5: driver added
pci32: driver added
pci63: driver added
pcm0: <HDA Realtek ALC260 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: 0x000e0560
pcm0: 16 20 24 bits, 44 48 96 192 KHz
pcm0: DAC: 2
pcm0:
pcm0: Record:
pcm0:
pcm0: Stream cap: 0x00000001
pcm0: PCM
pcm0: PCM cap: 0x00060160
pcm0: 16 20 bits, 44 48 96 KHz
pcm0: ADC: 4
pcm0:
pcm0: +-------------------------------+
pcm0: | DUMPING Playback/Record Paths |
pcm0: +-------------------------------+
pcm0:
pcm0: Playback:
pcm0:
pcm0: nid=16 [pin: Headphones (Black Jack)]
pcm0: |
pcm0: + <- nid=9 [audio mixer] [src: pcm, speaker, line, mic, line1]
pcm0: |
pcm0: + <- nid=2 [audio output] [src: pcm]
pcm0: + <- nid=7 [audio mixer] [src: speaker, line, mic, line1]
pcm0: |
pcm0: + <- nid=19 [pin: Mic (Black Jack)] [src: mic]
pcm0: + <- nid=20 [pin: Line-in (Blue Jack)] [src: line]
pcm0: + <- nid=23 [beep widget] [src: speaker]
pcm0: + <- nid=15 [pin: AUX (Fixed)] [src: line1]
pcm0:
pcm0: nid=21 [pin: Line-out (Green Jack)]
pcm0: |
pcm0: + <- nid=14 [audio selector] [src: pcm, speaker, line, mic, line1]
pcm0: |
pcm0: + <- nid=8 [audio mixer] [src: pcm, speaker, line, mic, line1]
pcm0: |
pcm0: + <- nid=2 [audio output] [src: pcm]
pcm0: + <- nid=7 [audio mixer] [src: speaker, line, mic, line1]
pcm0: |
pcm0: + <- nid=19 [pin: Mic (Black Jack)] [src: mic]
pcm0: + <- nid=20 [pin: Line-in (Blue Jack)] [src: line]
pcm0: + <- nid=23 [beep widget] [src: speaker]
pcm0: + <- nid=15 [pin: AUX (Fixed)] [src: line1]
pcm0:
pcm0: Record:
pcm0:
pcm0: nid=4 [audio input]
pcm0: |
pcm0: + <- nid=19 [pin: Mic (Black Jack)] [src: mic]
pcm0: + <- nid=20 [pin: Line-in (Blue Jack)] [src: line]
pcm0: + <- nid=15 [pin: AUX (Fixed)] [src: line1]
pcm0:
pcm0: +-------------------------+
pcm0: | DUMPING Volume Controls |
pcm0: +-------------------------+
pcm0:
pcm0: Master Volume (OSS: vol)
pcm0: |
pcm0: +- ctl 11 (nid 8 out): -64/0dB (65 steps)
pcm0: +- ctl 12 (nid 8 in 0): mute
pcm0: +- ctl 13 (nid 8 in 1): mute
pcm0: +- ctl 14 (nid 9 out): -64/0dB (65 steps)
pcm0: +- ctl 15 (nid 9 in 0): mute
pcm0: +- ctl 16 (nid 9 in 1): mute
pcm0: +- ctl 21 (nid 16 in ): mute
pcm0: +- ctl 26 (nid 21 in ): mute
pcm0:
pcm0: PCM Volume (OSS: pcm)
pcm0: |
pcm0: +- ctl 12 (nid 8 in 0): mute
pcm0: +- ctl 15 (nid 9 in 0): mute
pcm0:
pcm0: Microphone Volume (OSS: mic)
pcm0: |
pcm0: +- ctl 4 (nid 7 in 1): -35/30dB (66 steps) + mute
pcm0:
pcm0: Line-in Volume (OSS: line)
pcm0: |
pcm0: +- ctl 5 (nid 7 in 2): -35/30dB (66 steps) + mute
pcm0:
pcm0: Speaker/Beep Volume (OSS: speaker)
pcm0: |
pcm0: +- ctl 8 (nid 7 in 5): -35/30dB (66 steps) + mute
pcm0:
pcm0: Unknown Ctl (OSS: line1)
pcm0: |
pcm0: +- ctl 9 (nid 7 in 6): -35/30dB (66 steps) + mute
pcm0:
pcm0: Enabling Soft PCM volume
pcm0: Mixer "vol":
pcm0: Mixer "pcm":
pcm0: Mixer "speaker":
pcm0: Mixer "line":
pcm0: Mixer "mic":
pcm0: Mixer "ogain":
pcm0: Mixer "line1":
pcm0: Soft PCM mixer ENABLED
pcm0: clone manager: deadline=750ms flags=0x8000001e
pcm0: sndbuf_setmap 1cb30000, 4000; 0xe7ae4000 -> 1cb30000
pcm0: sndbuf_setmap 1cb90000, 4000; 0xe7af4000 -> 1cb90000

I saw some mention of unmapped or incorrectly mapped audio outputs
with snd_hda, but I'm not sure how to tell what they ought to be.
I see some things are listed as [DISABLED] but haven't figured out
whether that's reasonable or not.

Any suggestions appreciated.

... JG
--
Joe Greco - sol.net Network Services - Milwaukee, WI - http://www.sol.net
"We call it the 'one bite at the apple' rule. Give me one chance [and] then I
won't contact you again." - Direct Marketing Ass'n position on e-mail spam(CNN)
With 24 million small businesses in the US alone, that's way too many apples.
Alexander Motin
2009-11-23 08:20:30 UTC
Permalink
Post by Joe Greco
I've got a bunch of HP dc7600 Small Form Factor PC's. One of them is
running the latest version of PC-BSD, which is of course based on
FreeBSD 7.2-STABLE. It appears to load the audio driver, but it's
mute. The dc7600 sports a built-in speaker, and neither it nor any
of the jacks seem to produce sound.
I've looked over the saga of the snd_hda driver, and am not quite clear
where to go. It looks configured. The pin mappings seem to make some
sort of sense, though I don't know what they ought to be.
# cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
pcm0: <HDA Realtek ALC260 PCM #0 Analog> at cad 0 nid 1 on hdac0 kld snd_hda
[MPSAFE] (1p:1v/1r:1v channels duplex default)
So it probes fine.
Doing a kldunload/reload with verbose logging reveals
hdac0: <Intel 82801G High Definition Audio Controller> mem 0xfc500000-0xfc503fff irq 21 at device 27.0 on pci0
hdac0: HDA Driver Revision: 20090624_0136
hdac0: attempting to allocate 1 MSI vectors (1 supported)
msi: routing MSI IRQ 257 to vector 60
hdac0: using IRQ 257 for MSI
msi: Assigning MSI IRQ 257 to local APIC 0
hdac0: [MPSAFE]
hdac0: [ITHREAD]
hdac0: Probing codec #0...
hdac0: HDA Codec #0: Realtek ALC260
hdac0: HDA Codec ID: 0x10ec0260
hdac0: Vendor: 0x10ec
hdac0: Device: 0x0260
hdac0: Revision: 0x04
hdac0: Stepping: 0x00
hdac0: PCI Subvendor: 0x3011103c
hdac0: Found audio FG nid=1 startnode=2 endnode=28 total=26
hdac0: Processing audio FG cad=0 nid=1...
hdac0: GPIO: 0x40000004 NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
hdac0: nid 15 0x9993e133 as 3 seq 3 AUX Fixed jack 3 loc 25 color White misc 1
hdac0: nid 16 0x0221101f as 1 seq 15 Headphones Jack jack 1 loc 2 color Black misc 0
hdac0: nid 17 0x9707e120 as 2 seq 0 Line-out Fixed jack 7 loc 23 color White misc 1
hdac0: nid 18 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1
hdac0: nid 19 0x02a11930 as 3 seq 0 Mic Jack jack 1 loc 2 color Black misc 9
hdac0: nid 20 0x01813c31 as 3 seq 1 Line-in Jack jack 1 loc 1 color Blue misc 12
hdac0: nid 21 0x01014c10 as 1 seq 0 Line-out Jack jack 1 loc 1 color Green misc 12
hdac0: nid 22 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1
hdac0: Patching widget caps nid=23 0x00400000 -> 0x00700000
hdac0: nid 24 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1
hdac0: nid 25 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1
hdac0: nid 15 0x9993e133 as 3 seq 3 AUX Fixed jack 3 loc 25 color White misc 1
hdac0: nid 16 0x0221101f as 1 seq 15 Headphones Jack jack 1 loc 2 color Black misc 0
hdac0: nid 17 0x9707e120 as 2 seq 0 Line-out Fixed jack 7 loc 23 color White misc 1
hdac0: nid 18 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED]
hdac0: nid 19 0x02a11930 as 3 seq 0 Mic Jack jack 1 loc 2 color Black misc 9
hdac0: nid 20 0x01813c31 as 3 seq 1 Line-in Jack jack 1 loc 1 color Blue misc 12
hdac0: nid 21 0x01014c10 as 1 seq 0 Line-out Jack jack 1 loc 1 color Green misc 12
hdac0: nid 22 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED]
hdac0: nid 24 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED]
hdac0: nid 25 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED]
hdac0: Pin nid=21 seq=0
hdac0: Pin nid=16 seq=15
hdac0: Pin nid=17 seq=0
hdac0: Pin nid=19 seq=0
hdac0: Pin nid=20 seq=1
hdac0: Pin nid=15 seq=3
hdac0: Tracing association 0 (1)
hdac0: Pin 21 traced to DAC 2
hdac0: Pin 16 traced to DAC 2 and hpredir 0
hdac0: Association 0 (1) trace succeeded
hdac0: Tracing association 1 (2)
hdac0: Unable to trace pin 17 seq 0 with min nid 0
hdac0: Association 1 (2) trace failed
Here is at least one bug in codec configuration ^^^. This codec has only
one DAC, so it is unable to manage two playback devices.
Post by Joe Greco
hdac0: Tracing association 2 (3)
hdac0: Pin 19 traced to ADC 4
hdac0: Pin 20 traced to ADC 4
hdac0: Pin 15 traced to ADC 4
hdac0: Association 2 (3) trace succeeded
hdac0: Tracing input monitor
hdac0: Tracing beeper
hdac0: nid 23 traced to out
hdac0: as=0 sense nid=16 [UNSOL]
hdac0: Pin sense: nid=16 res=0x7fffffff
hdac0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
I saw some mention of unmapped or incorrectly mapped audio outputs
with snd_hda, but I'm not sure how to tell what they ought to be.
I see some things are listed as [DISABLED] but haven't figured out
whether that's reasonable or not.
Speakers sometimes controlled with setting GPIO signals. You may need to
experiment with them. Same time, your output connector configured for
automatic audio redirection, with default to speaker, but if it is
incapable of signaling jack presence, it won't ever receive any sound.
--
Alexander Motin
Joe Greco
2009-11-23 16:22:09 UTC
Permalink
Post by Alexander Motin
Post by Joe Greco
hdac0: Processing audio FG cad=0 nid=1...
hdac0: GPIO: 0x40000004 NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
hdac0: nid 15 0x9993e133 as 3 seq 3 AUX Fixed jack 3 loc 25 color White misc 1
hdac0: nid 16 0x0221101f as 1 seq 15 Headphones Jack jack 1 loc 2 color Black misc 0
hdac0: nid 17 0x9707e120 as 2 seq 0 Line-out Fixed jack 7 loc 23 color White misc 1
hdac0: nid 18 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1
hdac0: nid 19 0x02a11930 as 3 seq 0 Mic Jack jack 1 loc 2 color Black misc 9
hdac0: nid 20 0x01813c31 as 3 seq 1 Line-in Jack jack 1 loc 1 color Blue misc 12
hdac0: nid 21 0x01014c10 as 1 seq 0 Line-out Jack jack 1 loc 1 color Green misc 12
hdac0: nid 22 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1
hdac0: Patching widget caps nid=23 0x00400000 -> 0x00700000
hdac0: nid 24 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1
hdac0: nid 25 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1
hdac0: nid 15 0x9993e133 as 3 seq 3 AUX Fixed jack 3 loc 25 color White misc 1
hdac0: nid 16 0x0221101f as 1 seq 15 Headphones Jack jack 1 loc 2 color Black misc 0
hdac0: nid 17 0x9707e120 as 2 seq 0 Line-out Fixed jack 7 loc 23 color White misc 1
hdac0: nid 18 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED]
hdac0: nid 19 0x02a11930 as 3 seq 0 Mic Jack jack 1 loc 2 color Black misc 9
hdac0: nid 20 0x01813c31 as 3 seq 1 Line-in Jack jack 1 loc 1 color Blue misc 12
hdac0: nid 21 0x01014c10 as 1 seq 0 Line-out Jack jack 1 loc 1 color Green misc 12
hdac0: nid 22 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED]
hdac0: nid 24 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED]
hdac0: nid 25 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED]
hdac0: Pin nid=21 seq=0
hdac0: Pin nid=16 seq=15
hdac0: Pin nid=17 seq=0
hdac0: Pin nid=19 seq=0
hdac0: Pin nid=20 seq=1
hdac0: Pin nid=15 seq=3
hdac0: Tracing association 0 (1)
hdac0: Pin 21 traced to DAC 2
hdac0: Pin 16 traced to DAC 2 and hpredir 0
hdac0: Association 0 (1) trace succeeded
hdac0: Tracing association 1 (2)
hdac0: Unable to trace pin 17 seq 0 with min nid 0
hdac0: Association 1 (2) trace failed
Here is at least one bug in codec configuration ^^^. This codec has only
one DAC, so it is unable to manage two playback devices.
Post by Joe Greco
hdac0: Tracing association 2 (3)
hdac0: Pin 19 traced to ADC 4
hdac0: Pin 20 traced to ADC 4
hdac0: Pin 15 traced to ADC 4
hdac0: Association 2 (3) trace succeeded
hdac0: Tracing input monitor
hdac0: Tracing beeper
hdac0: nid 23 traced to out
hdac0: as=0 sense nid=16 [UNSOL]
hdac0: Pin sense: nid=16 res=0x7fffffff
hdac0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
I saw some mention of unmapped or incorrectly mapped audio outputs
with snd_hda, but I'm not sure how to tell what they ought to be.
I see some things are listed as [DISABLED] but haven't figured out
whether that's reasonable or not.
Speakers sometimes controlled with setting GPIO signals. You may need to
experiment with them. Same time, your output connector configured for
automatic audio redirection, with default to speaker, but if it is
incapable of signaling jack presence, it won't ever receive any sound.
Okay, so ... I'm trying, then, to get rid of what's currently listed as
"Association 1 (2)"? That's simply "Pin nid=17 seq=0" which maps to
"nid 17 0x9707e120 as 2 seq 0 Line-out Fixed jack 7 loc 23 color
White misc 1"

So would this be

hint.hdac.0.cad0.nid17.config="as=1 seq=1 device=Line-out"

? I'm kind of guessing here. This gets me another nonfunctional config,

hdac0: [MPSAFE]
hdac0: [ITHREAD]
hdac0: Probing codec #0...
hdac0: HDA Codec #0: Realtek ALC260
hdac0: HDA Codec ID: 0x10ec0260
hdac0: Vendor: 0x10ec
hdac0: Device: 0x0260
hdac0: Revision: 0x04
hdac0: Stepping: 0x00
hdac0: PCI Subvendor: 0x3011103c
hdac0: Found audio FG nid=1 startnode=2 endnode=28 total=26
hdac0:
hdac0: Processing audio FG cad=0 nid=1...
hdac0: GPIO: 0x40000004 NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
hdac0: nid 15 0x9993e133 as 3 seq 3 AUX Fixed jack 3 loc 25 color White misc 1
hdac0: nid 16 0x0221101f as 1 seq 15 Headphones Jack jack 1 loc 2 color Black misc 0
hdac0: nid 17 0x9707e120 as 2 seq 0 Line-out Fixed jack 7 loc 23 color White misc 1
hdac0: Patching pin config nid=17 0x9707e120 -> 0x9707e111
hdac0: nid 18 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1
hdac0: nid 19 0x02a11930 as 3 seq 0 Mic Jack jack 1 loc 2 color Black misc 9
hdac0: nid 20 0x01813c31 as 3 seq 1 Line-in Jack jack 1 loc 1 color Blue misc 12
hdac0: nid 21 0x01014c10 as 1 seq 0 Line-out Jack jack 1 loc 1 color Green misc 12
hdac0: nid 22 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1
hdac0: Patching widget caps nid=23 0x00400000 -> 0x00700000
hdac0: nid 24 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1
hdac0: nid 25 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1
hdac0: Patched pins configuration:
hdac0: nid 15 0x9993e133 as 3 seq 3 AUX Fixed jack 3 loc 25 color White misc 1
hdac0: nid 16 0x0221101f as 1 seq 15 Headphones Jack jack 1 loc 2 color Black misc 0
hdac0: nid 17 0x9707e111 as 1 seq 1 Line-out Fixed jack 7 loc 23 color White misc 1
hdac0: nid 18 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED]
hdac0: nid 19 0x02a11930 as 3 seq 0 Mic Jack jack 1 loc 2 color Black misc 9
hdac0: nid 20 0x01813c31 as 3 seq 1 Line-in Jack jack 1 loc 1 color Blue misc 12
hdac0: nid 21 0x01014c10 as 1 seq 0 Line-out Jack jack 1 loc 1 color Green misc 12
hdac0: nid 22 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED]
hdac0: nid 24 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED]
hdac0: nid 25 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED]
hdac0: 2 associations found:
hdac0: Association 0 (1) out:
hdac0: Pin nid=21 seq=0
hdac0: Pin nid=17 seq=1
hdac0: Pin nid=16 seq=15
hdac0: Association 1 (3) in:
hdac0: Pin nid=19 seq=0
hdac0: Pin nid=20 seq=1
hdac0: Pin nid=15 seq=3
hdac0: Tracing association 0 (1)
hdac0: Pin 21 traced to DAC 2
hdac0: Unable to trace pin 17 seq 1 with min nid 0
hdac0: Unable to trace pin 21 seq 0 with min nid 3
hdac0: Pin 21 traced to DAC 2 with fake redirection
hdac0: Unable to trace pin 17 seq 1 with min nid 0
hdac0: Unable to trace pin 21 seq 0 with min nid 3
hdac0: Association 0 (1) trace failed
hdac0: Tracing association 1 (3)
hdac0: Pin 19 traced to ADC 4
hdac0: Pin 20 traced to ADC 4
hdac0: Pin 15 traced to ADC 4
hdac0: Association 1 (3) trace succeeded
hdac0: Tracing input monitor
hdac0: Tracing beeper
hdac0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref

But that's also getting "Unable to trace" messages. Am I supposed to
be trying to figure this out before trying to play with gpio signals?

... JG
--
Joe Greco - sol.net Network Services - Milwaukee, WI - http://www.sol.net
"We call it the 'one bite at the apple' rule. Give me one chance [and] then I
won't contact you again." - Direct Marketing Ass'n position on e-mail spam(CNN)
With 24 million small businesses in the US alone, that's way too many apples.
Alexander Motin
2009-11-23 17:02:51 UTC
Permalink
Post by Joe Greco
Post by Alexander Motin
Post by Joe Greco
hdac0: Processing audio FG cad=0 nid=1...
hdac0: GPIO: 0x40000004 NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
hdac0: nid 15 0x9993e133 as 3 seq 3 AUX Fixed jack 3 loc 25 color White misc 1
hdac0: nid 16 0x0221101f as 1 seq 15 Headphones Jack jack 1 loc 2 color Black misc 0
hdac0: nid 17 0x9707e120 as 2 seq 0 Line-out Fixed jack 7 loc 23 color White misc 1
hdac0: nid 18 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1
hdac0: nid 19 0x02a11930 as 3 seq 0 Mic Jack jack 1 loc 2 color Black misc 9
hdac0: nid 20 0x01813c31 as 3 seq 1 Line-in Jack jack 1 loc 1 color Blue misc 12
hdac0: nid 21 0x01014c10 as 1 seq 0 Line-out Jack jack 1 loc 1 color Green misc 12
hdac0: nid 22 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1
hdac0: Patching widget caps nid=23 0x00400000 -> 0x00700000
hdac0: nid 24 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1
hdac0: nid 25 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1
hdac0: nid 15 0x9993e133 as 3 seq 3 AUX Fixed jack 3 loc 25 color White misc 1
hdac0: nid 16 0x0221101f as 1 seq 15 Headphones Jack jack 1 loc 2 color Black misc 0
hdac0: nid 17 0x9707e120 as 2 seq 0 Line-out Fixed jack 7 loc 23 color White misc 1
hdac0: nid 18 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED]
hdac0: nid 19 0x02a11930 as 3 seq 0 Mic Jack jack 1 loc 2 color Black misc 9
hdac0: nid 20 0x01813c31 as 3 seq 1 Line-in Jack jack 1 loc 1 color Blue misc 12
hdac0: nid 21 0x01014c10 as 1 seq 0 Line-out Jack jack 1 loc 1 color Green misc 12
hdac0: nid 22 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED]
hdac0: nid 24 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED]
hdac0: nid 25 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED]
hdac0: Pin nid=21 seq=0
hdac0: Pin nid=16 seq=15
hdac0: Pin nid=17 seq=0
hdac0: Pin nid=19 seq=0
hdac0: Pin nid=20 seq=1
hdac0: Pin nid=15 seq=3
hdac0: Tracing association 0 (1)
hdac0: Pin 21 traced to DAC 2
hdac0: Pin 16 traced to DAC 2 and hpredir 0
hdac0: Association 0 (1) trace succeeded
hdac0: Tracing association 1 (2)
hdac0: Unable to trace pin 17 seq 0 with min nid 0
hdac0: Association 1 (2) trace failed
Here is at least one bug in codec configuration ^^^. This codec has only
one DAC, so it is unable to manage two playback devices.
Post by Joe Greco
hdac0: Tracing association 2 (3)
hdac0: Pin 19 traced to ADC 4
hdac0: Pin 20 traced to ADC 4
hdac0: Pin 15 traced to ADC 4
hdac0: Association 2 (3) trace succeeded
hdac0: Tracing input monitor
hdac0: Tracing beeper
hdac0: nid 23 traced to out
hdac0: as=0 sense nid=16 [UNSOL]
hdac0: Pin sense: nid=16 res=0x7fffffff
hdac0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
I saw some mention of unmapped or incorrectly mapped audio outputs
with snd_hda, but I'm not sure how to tell what they ought to be.
I see some things are listed as [DISABLED] but haven't figured out
whether that's reasonable or not.
Speakers sometimes controlled with setting GPIO signals. You may need to
experiment with them. Same time, your output connector configured for
automatic audio redirection, with default to speaker, but if it is
incapable of signaling jack presence, it won't ever receive any sound.
Okay, so ... I'm trying, then, to get rid of what's currently listed as
"Association 1 (2)"? That's simply "Pin nid=17 seq=0" which maps to
"nid 17 0x9707e120 as 2 seq 0 Line-out Fixed jack 7 loc 23 color
White misc 1"
So would this be
hint.hdac.0.cad0.nid17.config="as=1 seq=1 device=Line-out"
? I'm kind of guessing here. This gets me another nonfunctional config,
hdac0: [MPSAFE]
hdac0: [ITHREAD]
hdac0: Probing codec #0...
hdac0: HDA Codec #0: Realtek ALC260
hdac0: HDA Codec ID: 0x10ec0260
hdac0: Vendor: 0x10ec
hdac0: Device: 0x0260
hdac0: Revision: 0x04
hdac0: Stepping: 0x00
hdac0: PCI Subvendor: 0x3011103c
hdac0: Found audio FG nid=1 startnode=2 endnode=28 total=26
hdac0: Processing audio FG cad=0 nid=1...
hdac0: GPIO: 0x40000004 NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
hdac0: nid 15 0x9993e133 as 3 seq 3 AUX Fixed jack 3 loc 25 color White misc 1
hdac0: nid 16 0x0221101f as 1 seq 15 Headphones Jack jack 1 loc 2 color Black misc 0
hdac0: nid 17 0x9707e120 as 2 seq 0 Line-out Fixed jack 7 loc 23 color White misc 1
hdac0: Patching pin config nid=17 0x9707e120 -> 0x9707e111
hdac0: nid 18 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1
hdac0: nid 19 0x02a11930 as 3 seq 0 Mic Jack jack 1 loc 2 color Black misc 9
hdac0: nid 20 0x01813c31 as 3 seq 1 Line-in Jack jack 1 loc 1 color Blue misc 12
hdac0: nid 21 0x01014c10 as 1 seq 0 Line-out Jack jack 1 loc 1 color Green misc 12
hdac0: nid 22 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1
hdac0: Patching widget caps nid=23 0x00400000 -> 0x00700000
hdac0: nid 24 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1
hdac0: nid 25 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1
hdac0: nid 15 0x9993e133 as 3 seq 3 AUX Fixed jack 3 loc 25 color White misc 1
hdac0: nid 16 0x0221101f as 1 seq 15 Headphones Jack jack 1 loc 2 color Black misc 0
hdac0: nid 17 0x9707e111 as 1 seq 1 Line-out Fixed jack 7 loc 23 color White misc 1
hdac0: nid 18 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED]
hdac0: nid 19 0x02a11930 as 3 seq 0 Mic Jack jack 1 loc 2 color Black misc 9
hdac0: nid 20 0x01813c31 as 3 seq 1 Line-in Jack jack 1 loc 1 color Blue misc 12
hdac0: nid 21 0x01014c10 as 1 seq 0 Line-out Jack jack 1 loc 1 color Green misc 12
hdac0: nid 22 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED]
hdac0: nid 24 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED]
hdac0: nid 25 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED]
hdac0: Pin nid=21 seq=0
hdac0: Pin nid=17 seq=1
hdac0: Pin nid=16 seq=15
hdac0: Pin nid=19 seq=0
hdac0: Pin nid=20 seq=1
hdac0: Pin nid=15 seq=3
hdac0: Tracing association 0 (1)
hdac0: Pin 21 traced to DAC 2
hdac0: Unable to trace pin 17 seq 1 with min nid 0
hdac0: Unable to trace pin 21 seq 0 with min nid 3
hdac0: Pin 21 traced to DAC 2 with fake redirection
hdac0: Unable to trace pin 17 seq 1 with min nid 0
hdac0: Unable to trace pin 21 seq 0 with min nid 3
hdac0: Association 0 (1) trace failed
hdac0: Tracing association 1 (3)
hdac0: Pin 19 traced to ADC 4
hdac0: Pin 20 traced to ADC 4
hdac0: Pin 15 traced to ADC 4
hdac0: Association 1 (3) trace succeeded
hdac0: Tracing input monitor
hdac0: Tracing beeper
hdac0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
But that's also getting "Unable to trace" messages.
That what you have configured still require two DACs. Only one seq=15
can share DAC with others. You'll have to disable one of them. How much
connectors do you have on case? May be some of configured nids is fake?

Looking on codec datasheet, nid 17 is mono out, so it is a good
candidate to be used for speaker.
Post by Joe Greco
Am I supposed to
be trying to figure this out before trying to play with gpio signals?
Better solve all possible problems before, as there is quite large
number of combinations.
--
Alexander Motin
Joe Greco
2009-11-23 21:50:34 UTC
Permalink
Post by Alexander Motin
Post by Joe Greco
Okay, so ... I'm trying, then, to get rid of what's currently listed as
"Association 1 (2)"? That's simply "Pin nid=17 seq=0" which maps to
"nid 17 0x9707e120 as 2 seq 0 Line-out Fixed jack 7 loc 23 color
White misc 1"
So would this be
hint.hdac.0.cad0.nid17.config="as=1 seq=1 device=Line-out"
? I'm kind of guessing here. This gets me another nonfunctional config,
hdac0: [MPSAFE]
hdac0: [ITHREAD]
hdac0: Probing codec #0...
hdac0: HDA Codec #0: Realtek ALC260
hdac0: HDA Codec ID: 0x10ec0260
hdac0: Vendor: 0x10ec
hdac0: Device: 0x0260
hdac0: Revision: 0x04
hdac0: Stepping: 0x00
hdac0: PCI Subvendor: 0x3011103c
hdac0: Found audio FG nid=1 startnode=2 endnode=28 total=26
hdac0: Processing audio FG cad=0 nid=1...
hdac0: GPIO: 0x40000004 NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
hdac0: nid 15 0x9993e133 as 3 seq 3 AUX Fixed jack 3 loc 25 color White misc 1
hdac0: nid 16 0x0221101f as 1 seq 15 Headphones Jack jack 1 loc 2 color Black misc 0
hdac0: nid 17 0x9707e120 as 2 seq 0 Line-out Fixed jack 7 loc 23 color White misc 1
hdac0: Patching pin config nid=17 0x9707e120 -> 0x9707e111
hdac0: nid 18 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1
hdac0: nid 19 0x02a11930 as 3 seq 0 Mic Jack jack 1 loc 2 color Black misc 9
hdac0: nid 20 0x01813c31 as 3 seq 1 Line-in Jack jack 1 loc 1 color Blue misc 12
hdac0: nid 21 0x01014c10 as 1 seq 0 Line-out Jack jack 1 loc 1 color Green misc 12
hdac0: nid 22 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1
hdac0: Patching widget caps nid=23 0x00400000 -> 0x00700000
hdac0: nid 24 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1
hdac0: nid 25 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1
hdac0: nid 15 0x9993e133 as 3 seq 3 AUX Fixed jack 3 loc 25 color White misc 1
hdac0: nid 16 0x0221101f as 1 seq 15 Headphones Jack jack 1 loc 2 color Black misc 0
hdac0: nid 17 0x9707e111 as 1 seq 1 Line-out Fixed jack 7 loc 23 color White misc 1
hdac0: nid 18 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED]
hdac0: nid 19 0x02a11930 as 3 seq 0 Mic Jack jack 1 loc 2 color Black misc 9
hdac0: nid 20 0x01813c31 as 3 seq 1 Line-in Jack jack 1 loc 1 color Blue misc 12
hdac0: nid 21 0x01014c10 as 1 seq 0 Line-out Jack jack 1 loc 1 color Green misc 12
hdac0: nid 22 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED]
hdac0: nid 24 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED]
hdac0: nid 25 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED]
hdac0: Pin nid=21 seq=0
hdac0: Pin nid=17 seq=1
hdac0: Pin nid=16 seq=15
hdac0: Pin nid=19 seq=0
hdac0: Pin nid=20 seq=1
hdac0: Pin nid=15 seq=3
hdac0: Tracing association 0 (1)
hdac0: Pin 21 traced to DAC 2
hdac0: Unable to trace pin 17 seq 1 with min nid 0
hdac0: Unable to trace pin 21 seq 0 with min nid 3
hdac0: Pin 21 traced to DAC 2 with fake redirection
hdac0: Unable to trace pin 17 seq 1 with min nid 0
hdac0: Unable to trace pin 21 seq 0 with min nid 3
hdac0: Association 0 (1) trace failed
hdac0: Tracing association 1 (3)
hdac0: Pin 19 traced to ADC 4
hdac0: Pin 20 traced to ADC 4
hdac0: Pin 15 traced to ADC 4
hdac0: Association 1 (3) trace succeeded
hdac0: Tracing input monitor
hdac0: Tracing beeper
hdac0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
But that's also getting "Unable to trace" messages.
That what you have configured still require two DACs. Only one seq=15
can share DAC with others. You'll have to disable one of them.
I don't see two seq=15... am I misreading this? And it isn't clear to me
what it is that requires two DACs. There's only one outbound association,
with all the enabled outputs thrown into it. Is that supposed to work? I
do not paricularly care about headphone jack functionality (nice to have
but definitely optional)...
Post by Alexander Motin
How much
connectors do you have on case? May be some of configured nids is fake?
Possible, I suppose. There's a blue and green line in/out on the rear.
There's a headphone and mic on the front. Those are all represented as
nid 16, 19, 20, 21. There's what appears to be a CD input on the system
board, I've been assuming that to be nid 15 / AUX. You suggest nid 17
was the speaker. That appears to account for all non-disabled nid's.
Post by Alexander Motin
Looking on codec datasheet, nid 17 is mono out, so it is a good
candidate to be used for speaker.
Post by Joe Greco
Am I supposed to
be trying to figure this out before trying to play with gpio signals?
Better solve all possible problems before, as there is quite large
number of combinations.
:-)

So I think I'm a little lost on what is requiring two DAC's. I thought
by throwing everything in association 0, that'd put the same outputs on
everything. Am I better off disabling everything and then just walking
through one nid at a time trying to establish what's what? I can do
that without toooo much pain.

Thanks for any further insight.

... JG
--
Joe Greco - sol.net Network Services - Milwaukee, WI - http://www.sol.net
"We call it the 'one bite at the apple' rule. Give me one chance [and] then I
won't contact you again." - Direct Marketing Ass'n position on e-mail spam(CNN)
With 24 million small businesses in the US alone, that's way too many apples.
Alexander Motin
2009-11-23 21:58:26 UTC
Permalink
Post by Joe Greco
Post by Alexander Motin
Post by Joe Greco
But that's also getting "Unable to trace" messages.
That what you have configured still require two DACs. Only one seq=15
can share DAC with others. You'll have to disable one of them.
I don't see two seq=15... am I misreading this? And it isn't clear to me
what it is that requires two DACs. There's only one outbound association,
with all the enabled outputs thrown into it. Is that supposed to work? I
do not paricularly care about headphone jack functionality (nice to have
but definitely optional)...
Post by Alexander Motin
How much
connectors do you have on case? May be some of configured nids is fake?
Possible, I suppose. There's a blue and green line in/out on the rear.
There's a headphone and mic on the front. Those are all represented as
nid 16, 19, 20, 21. There's what appears to be a CD input on the system
board, I've been assuming that to be nid 15 / AUX. You suggest nid 17
was the speaker. That appears to account for all non-disabled nid's.
Post by Alexander Motin
Looking on codec datasheet, nid 17 is mono out, so it is a good
candidate to be used for speaker.
Post by Joe Greco
Am I supposed to
be trying to figure this out before trying to play with gpio signals?
Better solve all possible problems before, as there is quite large
number of combinations.
:-)
So I think I'm a little lost on what is requiring two DAC's. I thought
by throwing everything in association 0, that'd put the same outputs on
everything.
You have configured 4.0 channels (quadro) output with additional stereo
redirection output. To handle this 4.0 setup driver needs 2 DACs. As
soon as you have only one DAC, all you can setup is one stereo output
with additional stereo redirection. It is impossible to make all 3
outputs work, so you should choose which one to disable.
Post by Joe Greco
Am I better off disabling everything and then just walking
through one nid at a time trying to establish what's what? I can do
that without toooo much pain.
OK.
--
Alexander Motin
Loading...