Discussion:
snd_hda Sigmatel STAC9205X no sound in 7.2
(too old to reply)
Lars Hecking
2009-05-19 19:57:48 UTC
Permalink
Hi all,

I already posted some details here - sound stopped working with the
upgrade to 7.2.

http://lists.freebsd.org/pipermail/freebsd-questions/2009-May/197820.html

hw.snd.verbose=4 did nothing for me except filling up all of dmesg with

feed_root: (virtual) prepending 1880 bytes (count=1880 l=0 feed=1)

but below is the relevant output of a verbose boot.

I donĀ“t understand how the dsp devices work, either. This output makes
little or no sense to me.

# ll /dev/dsp*
crw-rw-rw- 1 root wheel 0, 117 May 19 20:39 /dev/dsp0.0
crw-rw-rw- 1 root wheel 0, 119 May 19 20:39 /dev/dsp0.1
crw-rw-rw- 1 root wheel 0, 120 May 19 20:43 /dev/dsp0.2
crw-rw-rw- 1 root wheel 0, 121 May 19 20:39 /dev/dsp0.3
crw-rw-rw- 1 root wheel 0, 122 May 19 20:43 /dev/dsp0.4
crw-rw-rw- 1 root wheel 0, 118 May 19 20:39 /dev/dsp1.0
# ll /dev/dsp0
crw-rw-rw- 1 root wheel 0, 120 May 19 20:53 /dev/dsp0
#

Preloaded elf module "/boot/kernel/snd_hda.ko" at 0xc118431c.
hdac0: <Intel 82801H High Definition Audio Controller> mem 0xfebfc000-0xfebfffff irq 21 at device 27.0 on pci0
hdac0: HDA Driver Revision: 20090329_0131
hdac0: Reserved 0x4000 bytes for rid 0x10 type 3 at 0xfebfc000
hdac0: [MPSAFE]
hdac0: [ITHREAD]
hdac0: Probing codec #0...
hdac0: HDA Codec #0: Sigmatel STAC9205X
hdac0: HDA Codec ID: 0x838476a0
hdac0: Vendor: 0x8384
hdac0: Device: 0x76a0
hdac0: Revision: 0x02
hdac0: Stepping: 0x04
hdac0: PCI Subvendor: 0x02281028
hdac0: Found audio FG nid=1 startnode=10 endnode=38 total=28
hdac0: Probing codec #1...
hdac0: HDA Codec #1: Conexant (Unknown)
hdac0: HDA Codec ID: 0x14f12c06
hdac0: Vendor: 0x14f1
hdac0: Device: 0x2c06
hdac0: Revision: 0x00
hdac0: Stepping: 0x00
hdac0: PCI Subvendor: 0x02281028
hdac0: Found modem FG nid=2 startnode=112 endnode=116 total=4
hdac0:
hdac0: Processing audio FG cad=0 nid=1...
hdac0: GPIO: 0xc0000005 NumGPIO=5 NumGPO=0 NumGPI=0 GPIWake=1 GPIUnsol=1
hdac0: nid 10 0x0321101f as 1 seq 15 Headphones Jack jack 1 loc 3 color Black misc 0
hdac0: nid 11 0x03811020 as 2 seq 0 Line-in Jack jack 1 loc 3 color Black misc 0
hdac0: nid 12 0x40f000f0 as 15 seq 0 Other None jack 0 loc 0 color Unknown misc 0
hdac0: nid 13 0x90170110 as 1 seq 0 Speaker Fixed jack 7 loc 16 color Unknown misc 1
hdac0: nid 14 0x40f000f1 as 15 seq 1 Other None jack 0 loc 0 color Unknown misc 0
hdac0: nid 15 0x40f000f2 as 15 seq 2 Other None jack 0 loc 0 color Unknown misc 0
hdac0: nid 20 0x40f000f3 as 15 seq 3 Other None jack 0 loc 0 color Unknown misc 0
hdac0: nid 22 0x40f000f4 as 15 seq 4 Other None jack 0 loc 0 color Unknown misc 0
hdac0: nid 23 0x90a60030 as 3 seq 0 Mic Fixed jack 6 loc 16 color Unknown misc 0
hdac0: nid 24 0x40f000f5 as 15 seq 5 Other None jack 0 loc 0 color Unknown misc 0
hdac0: nid 33 0x40f000f6 as 15 seq 6 Other None jack 0 loc 0 color Unknown misc 0
hdac0: nid 34 0x40f000f7 as 15 seq 7 Other None jack 0 loc 0 color Unknown misc 0
hdac0: Patched pins configuration:
hdac0: nid 10 0x0321101f as 1 seq 15 Headphones Jack jack 1 loc 3 color Black misc 0
hdac0: nid 11 0x03811020 as 2 seq 0 Line-in Jack jack 1 loc 3 color Black misc 0
hdac0: nid 12 0x40f000f0 as 15 seq 0 Other None jack 0 loc 0 color Unknown misc 0 [DISABLED]
hdac0: nid 13 0x90170110 as 1 seq 0 Speaker Fixed jack 7 loc 16 color Unknown misc 1
hdac0: nid 14 0x40f000f1 as 15 seq 1 Other None jack 0 loc 0 color Unknown misc 0 [DISABLED]
hdac0: nid 15 0x40f000f2 as 15 seq 2 Other None jack 0 loc 0 color Unknown misc 0 [DISABLED]
hdac0: nid 20 0x40f000f3 as 15 seq 3 Other None jack 0 loc 0 color Unknown misc 0 [DISABLED]
hdac0: nid 22 0x40f000f4 as 15 seq 4 Other None jack 0 loc 0 color Unknown misc 0 [DISABLED]
hdac0: nid 23 0x90a60030 as 3 seq 0 Mic Fixed jack 6 loc 16 color Unknown misc 0
hdac0: nid 24 0x40f000f5 as 15 seq 5 Other None jack 0 loc 0 color Unknown misc 0 [DISABLED]
hdac0: nid 33 0x40f000f6 as 15 seq 6 Other None jack 0 loc 0 color Unknown misc 0 [DISABLED]
hdac0: nid 34 0x40f000f7 as 15 seq 7 Other None jack 0 loc 0 color Unknown misc 0 [DISABLED]
hdac0: 3 associations found:
hdac0: Association 0 (1) out:
hdac0: Pin nid=13 seq=0
hdac0: Pin nid=10 seq=15
hdac0: Association 1 (2) in:
hdac0: Pin nid=11 seq=0
hdac0: Association 2 (3) in:
hdac0: Pin nid=23 seq=0
hdac0: Tracing association 0 (1)
hdac0: Pin 13 traced to DAC 16
hdac0: Pin 10 traced to DAC 16 and hpredir 0
hdac0: Association 0 (1) trace succeeded
hdac0: Tracing association 1 (2)
hdac0: Pin 11 traced to ADC 18
hdac0: Association 1 (2) trace succeeded
hdac0: Tracing association 2 (3)
hdac0: Pin 23 traced to ADC 19
hdac0: Association 2 (3) trace succeeded
hdac0: Tracing input monitor
hdac0: Tracing beeper
hdac0: GPIO init: data=0x00000000 mask=0x00000000 dir=0x00000000
hdac0: GPIO commit: data=0x00000001 mask=0x00000001 dir=0x00000001
hdac0: Enabling headphone/speaker audio routing switching:
hdac0: as=0 sense nid=10 [UNSOL]
hdac0: Pin sense: nid=10 res=0x7fffffff
hdac0: FG config/quirks: gpio0 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: 0x00050f00
hdac0: OUT amp: 0x80027f7f
hdac0:
hdac0: nid: 10
hdac0: Name: pin: Headphones (Black Jack)
hdac0: Widget cap: 0x00400181
hdac0: UNSOL STEREO
hdac0: Association: 0 (0x00008000)
hdac0: Pin cap: 0x0000173f
hdac0: ISC TRQD PDC HP OUT IN VREF[ 50 80 GROUND HIZ ]
hdac0: Pin config: 0x0321101f
hdac0: Pin control: 0x00000080 HP
hdac0: connections: 2
hdac0: |
hdac0: + <- nid=16 [audio output] (selected)
hdac0: + [DISABLED] <- nid=17 [audio output] [DISABLED]
hdac0:
hdac0: nid: 11
hdac0: Name: pin: Line-in (Black Jack)
hdac0: Widget cap: 0x00400181
hdac0: UNSOL STEREO
hdac0: Association: 1 (0x00000001)
hdac0: OSS: line (line)
hdac0: Pin cap: 0x00001737
hdac0: ISC TRQD PDC OUT IN VREF[ 50 80 GROUND HIZ ]
hdac0: Pin config: 0x03811020
hdac0: Pin control: 0x00000024 IN VREFs
hdac0: connections: 2
hdac0: |
hdac0: + [DISABLED] <- nid=16 [audio output] (selected)
hdac0: + [DISABLED] <- nid=17 [audio output] [DISABLED]
hdac0:
hdac0: nid: 12 [DISABLED]
hdac0: Name: pin: Other (None)
hdac0: Widget cap: 0x00400181
hdac0: UNSOL STEREO
hdac0: Pin cap: 0x00001737
hdac0: ISC TRQD PDC OUT IN VREF[ 50 80 GROUND HIZ ]
hdac0: Pin config: 0x40f000f0
hdac0: Pin control: 0x00000000
hdac0: connections: 1
hdac0: |
hdac0: + <- nid=17 [audio output] [DISABLED]
hdac0:
hdac0: nid: 13
hdac0: Name: pin: Speaker (Fixed)
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: 0x90170110
hdac0: Pin control: 0x00000040 OUT
hdac0: connections: 1
hdac0: |
hdac0: + <- nid=16 [audio output]
hdac0:
hdac0: nid: 14 [DISABLED]
hdac0: Name: pin: Other (None)
hdac0: Widget cap: 0x00400181
hdac0: UNSOL STEREO
hdac0: Pin cap: 0x00001737
hdac0: ISC TRQD PDC OUT IN VREF[ 50 80 GROUND HIZ ]
hdac0: Pin config: 0x40f000f1
hdac0: Pin control: 0x00000000
hdac0: connections: 1
hdac0: |
hdac0: + <- nid=16 [audio output]
hdac0:
hdac0: nid: 15 [DISABLED]
hdac0: Name: pin: Other (None)
hdac0: Widget cap: 0x00400181
hdac0: UNSOL STEREO
hdac0: Pin cap: 0x00001737
hdac0: ISC TRQD PDC OUT IN VREF[ 50 80 GROUND HIZ ]
hdac0: Pin config: 0x40f000f2
hdac0: Pin control: 0x00000000
hdac0: connections: 1
hdac0: |
hdac0: + <- nid=17 [audio output] [DISABLED]
hdac0:
hdac0: nid: 16
hdac0: Name: audio output
hdac0: Widget cap: 0x000d0c05
hdac0: LRSWAP 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: Output amp: 0x80027f7f
hdac0: mute=1 step=127 size=2 offset=127
hdac0:
hdac0: nid: 17 [DISABLED]
hdac0: Name: audio output
hdac0: Widget cap: 0x000d0c05
hdac0: LRSWAP 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: Output amp: 0x80027f7f
hdac0: mute=1 step=127 size=2 offset=127
hdac0:
hdac0: nid: 18
hdac0: Name: audio input
hdac0: Widget cap: 0x001d0541
hdac0: PWR PROC STEREO
hdac0: Association: 1 (0x00000001)
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=29 [audio selector]
hdac0:
hdac0: nid: 19
hdac0: Name: audio input
hdac0: Widget cap: 0x001d0541
hdac0: PWR PROC STEREO
hdac0: Association: 2 (0x00000001)
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=30 [audio selector]
hdac0:
hdac0: nid: 20 [DISABLED]
hdac0: Name: pin: Other (None)
hdac0: Widget cap: 0x0040010c
hdac0: Pin cap: 0x00000010
hdac0: OUT
hdac0: Pin config: 0x40f000f3
hdac0: Pin control: 0x00000000
hdac0: Output amp: 0x80051f1f
hdac0: mute=1 step=31 size=5 offset=31
hdac0: connections: 1
hdac0: |
hdac0: + [DISABLED] <- nid=21 [audio mixer] [DISABLED]
hdac0:
hdac0: nid: 21 [DISABLED]
hdac0: Name: audio mixer
hdac0: Widget cap: 0x00200100
hdac0: connections: 1
hdac0: |
hdac0: + <- nid=16 [audio output]
hdac0:
hdac0: nid: 22 [DISABLED]
hdac0: Name: pin: Other (None)
hdac0: Widget cap: 0x00400001
hdac0: STEREO
hdac0: Pin cap: 0x00000020
hdac0: IN
hdac0: Pin config: 0x40f000f4
hdac0: Pin control: 0x00000000
hdac0:
hdac0: nid: 23
hdac0: Name: pin: Mic (Fixed)
hdac0: Widget cap: 0x00400001
hdac0: STEREO
hdac0: Association: 2 (0x00000001)
hdac0: OSS: monitor (monitor)
hdac0: Pin cap: 0x00000020
hdac0: IN
hdac0: Pin config: 0x90a60030
hdac0: Pin control: 0x00000020 IN
hdac0:
hdac0: nid: 24 [DISABLED]
hdac0: Name: pin: Other (None)
hdac0: Widget cap: 0x00400001
hdac0: STEREO
hdac0: Pin cap: 0x00000020
hdac0: IN
hdac0: Pin config: 0x40f000f5
hdac0: Pin control: 0x00000000
hdac0:
hdac0: nid: 25
hdac0: Name: audio selector
hdac0: Widget cap: 0x0030010d
hdac0: STEREO
hdac0: Association: 1 (0x00000001)
hdac0: OSS: line
hdac0: Output amp: 0x00270400
hdac0: mute=0 step=4 size=39 offset=0
hdac0: connections: 7
hdac0: |
hdac0: + [DISABLED] <- nid=14 [pin: Other (None)] [DISABLED]
hdac0: + [DISABLED] <- nid=22 [pin: Other (None)] [DISABLED]
hdac0: + [DISABLED] <- nid=15 [pin: Other (None)] [DISABLED]
hdac0: + <- nid=11 [pin: Line-in (Black Jack)] (selected)
hdac0: + [DISABLED] <- nid=12 [pin: Other (None)] [DISABLED]
hdac0: + [DISABLED] <- nid=13 [pin: Speaker (Fixed)]
hdac0: + [DISABLED] <- nid=10 [pin: Headphones (Black Jack)]
hdac0:
hdac0: nid: 26 [DISABLED]
hdac0: Name: audio selector
hdac0: Widget cap: 0x0030010d
hdac0: STEREO
hdac0: Output amp: 0x00270400
hdac0: mute=0 step=4 size=39 offset=0
hdac0: connections: 7
hdac0: |
hdac0: + [DISABLED] <- nid=14 [pin: Other (None)] [DISABLED] (selected)
hdac0: + [DISABLED] <- nid=22 [pin: Other (None)] [DISABLED]
hdac0: + [DISABLED] <- nid=15 [pin: Other (None)] [DISABLED]
hdac0: + <- nid=11 [pin: Line-in (Black Jack)]
hdac0: + [DISABLED] <- nid=12 [pin: Other (None)] [DISABLED]
hdac0: + <- nid=13 [pin: Speaker (Fixed)]
hdac0: + <- nid=10 [pin: Headphones (Black Jack)]
hdac0:
hdac0: nid: 27
hdac0: Name: audio selector
hdac0: Widget cap: 0x00300103
hdac0: STEREO
hdac0: Association: 1 (0x00000001)
hdac0: OSS: line
hdac0: Input amp: 0x00050f00
hdac0: mute=0 step=15 size=5 offset=0
hdac0: connections: 1
hdac0: |
hdac0: + <- nid=25 [audio selector]
hdac0:
hdac0: nid: 28 [DISABLED]
hdac0: Name: audio selector
hdac0: Widget cap: 0x00300103
hdac0: STEREO
hdac0: Input amp: 0x00050f00
hdac0: mute=0 step=15 size=5 offset=0
hdac0: connections: 1
hdac0: |
hdac0: + [DISABLED] <- nid=26 [audio selector] [DISABLED]
hdac0:
hdac0: nid: 29
hdac0: Name: audio selector
hdac0: Widget cap: 0x0030090d
hdac0: LRSWAP STEREO
hdac0: Association: 1 (0x00000001)
hdac0: OSS: line
hdac0: Output amp: 0x80000000
hdac0: mute=1 step=0 size=0 offset=0
hdac0: connections: 3
hdac0: |
hdac0: + <- nid=27 [audio selector] (selected)
hdac0: + [DISABLED] <- nid=23 [pin: Mic (Fixed)]
hdac0: + [DISABLED] <- nid=24 [pin: Other (None)] [DISABLED]
hdac0:
hdac0: nid: 30
hdac0: Name: audio selector
hdac0: Widget cap: 0x0030090d
hdac0: LRSWAP STEREO
hdac0: Association: 2 (0x00000001)
hdac0: OSS: monitor
hdac0: Output amp: 0x80000000
hdac0: mute=1 step=0 size=0 offset=0
hdac0: connections: 3
hdac0: |
hdac0: + [DISABLED] <- nid=28 [audio selector] [DISABLED]
hdac0: + <- nid=23 [pin: Mic (Fixed)] (selected)
hdac0: + [DISABLED] <- nid=24 [pin: Other (None)] [DISABLED]
hdac0:
hdac0: nid: 31 [DISABLED]
hdac0: Name: audio output
hdac0: Widget cap: 0x00040211
hdac0: DIGITAL STEREO
hdac0: Stream cap: 0x00000005
hdac0: AC3 PCM
hdac0: PCM cap: 0x000e05e0
hdac0: 16 20 24 bits, 44 48 88 96 192 KHz
hdac0:
hdac0: nid: 32 [DISABLED]
hdac0: Name: audio input
hdac0: Widget cap: 0x00140311
hdac0: DIGITAL STEREO
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: + [DISABLED] <- nid=34 [pin: Other (None)] [DISABLED]
hdac0:
hdac0: nid: 33 [DISABLED]
hdac0: Name: pin: Other (None)
hdac0: Widget cap: 0x00400301
hdac0: DIGITAL STEREO
hdac0: Pin cap: 0x00000010
hdac0: OUT
hdac0: Pin config: 0x40f000f6
hdac0: Pin control: 0x00000000
hdac0: connections: 3
hdac0: |
hdac0: + <- nid=31 [audio output] [DISABLED] (selected)
hdac0: + <- nid=29 [audio selector]
hdac0: + <- nid=30 [audio selector]
hdac0:
hdac0: nid: 34 [DISABLED]
hdac0: Name: pin: Other (None)
hdac0: Widget cap: 0x00430681
hdac0: PWR DIGITAL UNSOL STEREO
hdac0: Pin cap: 0x00010024
hdac0: PDC IN EAPD
hdac0: Pin config: 0x40f000f7
hdac0: Pin control: 0x00000000
hdac0: EAPD: 0x00000002
hdac0:
hdac0: nid: 35
hdac0: Name: beep widget
hdac0: Widget cap: 0x0070000c
hdac0: Association: -2 (0x00000000)
hdac0: OSS: speaker (speaker)
hdac0: Output amp: 0x00170303
hdac0: mute=0 step=3 size=23 offset=3
hdac0:
hdac0: nid: 36 [DISABLED]
hdac0: Name: volume widget
hdac0: Widget cap: 0x00600000
hdac0: connections: 2
hdac0: |
hdac0: + <- nid=16 [audio output] (selected)
hdac0: + <- nid=17 [audio output] [DISABLED]
hdac0:
hdac0: nid: 37 [DISABLED]
hdac0: Name: vendor widget
hdac0: Widget cap: 0x00f00001
hdac0: STEREO
hdac0:
hdac0: Processing modem FG cad=1 nid=2...
hdac0:
pcm0: <HDA Sigmatel STAC9205X PCM #0 Analog> at cad 0 nid 1 on hdac0
pcm1: <HDA Sigmatel STAC9205X PCM #1 Analog> at cad 0 nid 1 on hdac0
Alexander Motin
2009-05-20 10:00:23 UTC
Permalink
Post by Lars Hecking
I already posted some details here - sound stopped working with the
upgrade to 7.2.
http://lists.freebsd.org/pipermail/freebsd-questions/2009-May/197820.html
hw.snd.verbose=4 did nothing for me except filling up all of dmesg with
feed_root: (virtual) prepending 1880 bytes (count=1880 l=0 feed=1)
Could you first try something trivial without esd and pulseaudio? Just
like mpg123 or just cat to dsp device?
Post by Lars Hecking
but below is the relevant output of a verbose boot.
I don?t understand how the dsp devices work, either. This output makes
little or no sense to me.
# ll /dev/dsp*
crw-rw-rw- 1 root wheel 0, 117 May 19 20:39 /dev/dsp0.0
crw-rw-rw- 1 root wheel 0, 119 May 19 20:39 /dev/dsp0.1
crw-rw-rw- 1 root wheel 0, 120 May 19 20:43 /dev/dsp0.2
crw-rw-rw- 1 root wheel 0, 121 May 19 20:39 /dev/dsp0.3
crw-rw-rw- 1 root wheel 0, 122 May 19 20:43 /dev/dsp0.4
crw-rw-rw- 1 root wheel 0, 118 May 19 20:39 /dev/dsp1.0
# ll /dev/dsp0
crw-rw-rw- 1 root wheel 0, 120 May 19 20:53 /dev/dsp0
#
It means nothing. These devices are virtual and created on demand.
Post by Lars Hecking
hdac0: Processing modem FG cad=1 nid=2...
pcm0: <HDA Sigmatel STAC9205X PCM #0 Analog> at cad 0 nid 1 on hdac0
pcm1: <HDA Sigmatel STAC9205X PCM #1 Analog> at cad 0 nid 1 on hdac0
Post pcm verbose messages also. They are also important.

Also make sure that you are looking for sound in right place. Check all
your connectors and read new snd_hda man page.
--
Alexander Motin
Lars Hecking
2009-05-20 11:08:01 UTC
Permalink
Alexander Motin writes:
[...]
Post by Alexander Motin
It means nothing. These devices are virtual and created on demand.
ACK.
Post by Alexander Motin
Post by Lars Hecking
hdac0: Processing modem FG cad=1 nid=2...
hdac0: pcm0: <HDA Sigmatel STAC9205X PCM #0 Analog> at cad 0 nid 1 on
hdac0
pcm1: <HDA Sigmatel STAC9205X PCM #1 Analog> at cad 0 nid 1 on hdac0
Post pcm verbose messages also. They are also important.
Also make sure that you are looking for sound in right place. Check all
your connectors and read new snd_hda man page.
Alexander, last night I replaced the sys/dev/sound/pci/hda files with their
equivalents from 7.1 (RELENG_7_1_0_RELEASE), recompiled the kernel, and now
sound is working again. I think I need to file a bug report.

Thanks.

Loading...