HDA merge breaks 6-stable
Michael Butler
imb at protected-networks.net
Mon May 21 00:17:17 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
My apologies for the cross-post ..
The merge of HDA support seems to have broken my Toshi A105-S4004
laptop. Any attempt at sound output, e.g. logging onto to KDE, freezes
it solid requiring a power-cycle to recover.
Per the debugging notes ariff@ posted some time back for the RELENG_6
patch, I've attached two dmesg/sysctl outputs, 'sound-good.txt' is prior
to the merge, 'sound-bad.txt' is after.
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
iD8DBQFGUOIQQv9rrgRC1JIRAkOKAJ4k0iPGmKNS61GajEqmhliEhSbsTgCgzQCp
LZSyvXTEViI6Zxhx21jVDWo=
=vkNT
-----END PGP SIGNATURE-----
-------------- next part --------------
Script started on Mon May 21 11:12:32 2007
imb at toshi:/home/imb> sudo ./test-sound.sh
#!/bin/sh -v
sysctl debug.bootverbose=1
debug.bootverbose: 1 -> 1
# kldload snd_hda.ko
dmesg | grep ^pcm
pcm0: <Intel 82801G High Definition Audio Controller> mem 0xf0b40000-0xf0b43fff irq 22 at device 27.0 on pci0
pcm0: TCSEL: 0x07 -> 0x00
pcm0: DMA Coherency: Uncacheable / vendor=0x8086
pcm0: Reserved 0x4000 bytes for rid 0x10 type 3 at 0xf0b40000
pcm0: [MPSAFE]
pcm0: hdac_dma_alloc: size=1024 -> roundsz=1024
pcm0: hdac_dma_alloc: size=2048 -> roundsz=2048
pcm0: HDA_DEBUG: HDA Config: on=0x00000000 off=0x00000000
pcm0: HDA_DEBUG: Starting CORB Engine...
pcm0: HDA_DEBUG: Starting RIRB Engine...
pcm0: HDA_DEBUG: Enabling controller interrupt...
pcm0: HDA_DEBUG: Scanning HDA codecs...
pcm0: HDA_DEBUG: Probing codec: 0
pcm0: HDA_DEBUG: startnode=1 endnode=2
pcm0: HDA_DEBUG: Found AFG nid=1 [startnode=1 endnode=2]
pcm0: HDA_DEBUG: Parsing AFG nid=1 cad=0
pcm0: Vendor: 0x000010ec
pcm0: Device: 0x00000861
pcm0: Revision: 0x00000003
pcm0: Stepping: 0x00000000
pcm0: PCI Subvendor: 0xff101179
pcm0: Nodes: start=3 endnode=36 total=33
pcm0: CORB size: 256
pcm0: RIRB size: 256
pcm0: Streams: ISS=4 OSS=4 BSS=0
pcm0: GPIO: 0x00000000
pcm0: NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=8 entries=6 found=6
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=11 entries=1 found=1
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=12 entries=1 found=1
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=13 entries=1 found=1
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=14 entries=1 found=1
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=15 entries=1 found=1
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=16 entries=1 found=1
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=18 entries=1 found=1
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=20 entries=2 found=2
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=21 entries=3 found=3
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=22 entries=2 found=2
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=23 entries=2 found=2
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=24 entries=2 found=2
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=25 entries=2 found=2
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=26 entries=4 found=4
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=27 entries=4 found=4
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=28 entries=2 found=2
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=31 entries=1 found=1
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=32 entries=1 found=1
pcm0: HDA_DEBUG: Parsing Ctls...
pcm0: HDA_DEBUG: Parsing vendor patch...
pcm0: HDA_DEBUG: Building AFG tree...
pcm0: HDA_DEBUG: HWiP: HDA Widget Parser - Revision 1
pcm0: HDA_DEBUG: HWiP: Found 1 DAC path using HDA_PARSE_MIXER strategy.
pcm0: HDA_DEBUG: AFG commit...
pcm0: HDA_DEBUG: Ctls commit...
pcm0: [ 2] Ctl nid=4 Bind to NONE
pcm0: [ 3] Ctl nid=5 Bind to NONE
pcm0: [ 4] Ctl nid=6 Bind to NONE
pcm0: [ 5] Ctl nid=7 DISABLED
pcm0: [ 8] Ctl nid=20 childnid=16 DISABLED
pcm0: [ 9] Ctl nid=21 Bind to NONE
pcm0: [11] Ctl nid=21 childnid=20 Bind to NONE
pcm0: [12] Ctl nid=21 childnid=28 Bind to NONE
pcm0: [13] Ctl nid=22 childnid=3 Bind to NONE
pcm0: [14] Ctl nid=22 childnid=21 Bind to NONE
pcm0: [15] Ctl nid=23 childnid=4 Bind to NONE
pcm0: [16] Ctl nid=23 childnid=21 Bind to NONE
pcm0: [17] Ctl nid=24 childnid=5 Bind to NONE
pcm0: [18] Ctl nid=24 childnid=21 Bind to NONE
pcm0: [19] Ctl nid=25 childnid=6 Bind to NONE
pcm0: [20] Ctl nid=25 childnid=21 Bind to NONE
pcm0: [21] Ctl nid=26 childnid=4 Bind to NONE
pcm0: [22] Ctl nid=26 childnid=6 Bind to NONE
pcm0: [23] Ctl nid=26 childnid=21 Bind to NONE
pcm0: [24] Ctl nid=26 childnid=3 Bind to NONE
pcm0: [25] Ctl nid=27 childnid=4 Bind to NONE
pcm0: [26] Ctl nid=27 childnid=6 Bind to NONE
pcm0: [27] Ctl nid=27 childnid=21 Bind to NONE
pcm0: [28] Ctl nid=27 childnid=3 Bind to NONE
pcm0: [29] Ctl nid=28 childnid=12 DISABLED
pcm0: [30] Ctl nid=28 childnid=15 DISABLED
pcm0: HDA_DEBUG: PCMDIR_PLAY setup...
pcm0: HDA_DEBUG: PCMDIR_REC setup...
pcm0: HDA_DEBUG: OSS mixer initialization...
pcm0: HDA_DEBUG: Enabling Soft PCM volume
pcm0: Mixer "vol": child=0x00000010
pcm0: Mixer "pcm": parent="vol"
pcm0: Mixer "speaker":
pcm0: Mixer "mic":
pcm0: Mixer "cd":
pcm0: Mixer "rec":
pcm0: Soft PCM mixer ENABLED
pcm0: HDA_DEBUG: Registering PCM channels...
pcm0: hdac_dma_alloc: size=4096 -> roundsz=4096
pcm0: sndbuf_setmap 7cc42000, 4000; 0xe6da1000 -> 7cc42000
pcm0: hdac_dma_alloc: size=4096 -> roundsz=4096
pcm0: sndbuf_setmap 7cc3a000, 4000; 0xe6da5000 -> 7cc3a000
pcm0: <HDA Codec: Realtek ALC861>
pcm0: <HDA Codec ID: 0x10ec0861>
pcm0: <HDA Driver Revision: 20070505_0044>
pcm0:
pcm0: HDA config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
pcm0:
pcm0: +-------------------+
pcm0: | DUMPING HDA NODES |
pcm0: +-------------------+
pcm0:
pcm0: Default Parameter
pcm0: -----------------
pcm0: Stream cap: 0x00000001
pcm0: Format: PCM
pcm0: PCM cap: 0x000e0140
pcm0: PCM size: 16 20 24
pcm0: PCM rate: 48 96
pcm0: IN amp: 0x00000000
pcm0: OUT amp: 0x80000000
pcm0:
pcm0: nid: 3 [ANALOG]
pcm0: name: audio output
pcm0: widget_cap: 0x00000405
pcm0: Parse flags: 0x00000001
pcm0: Ctl flags: 0x00000011
pcm0: Stream cap: 0x00000001
pcm0: Format: PCM
pcm0: PCM cap: 0x000e0140
pcm0: PCM size: 16 20 24
pcm0: PCM rate: 48 96
pcm0: Output amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 0
pcm0:
pcm0: nid: 4 [ANALOG]
pcm0: name: audio output
pcm0: widget_cap: 0x00000405
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Stream cap: 0x00000001
pcm0: Format: PCM
pcm0: PCM cap: 0x000e0140
pcm0: PCM size: 16 20 24
pcm0: PCM rate: 48 96
pcm0: Output amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 0
pcm0:
pcm0: nid: 5 [ANALOG]
pcm0: name: audio output
pcm0: widget_cap: 0x00000405
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Stream cap: 0x00000001
pcm0: Format: PCM
pcm0: PCM cap: 0x000e0140
pcm0: PCM size: 16 20 24
pcm0: PCM rate: 48 96
pcm0: Output amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 0
pcm0:
pcm0: nid: 6 [ANALOG]
pcm0: name: audio output
pcm0: widget_cap: 0x00000405
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Stream cap: 0x00000001
pcm0: Format: PCM
pcm0: PCM cap: 0x000e0140
pcm0: PCM size: 16 20 24
pcm0: PCM rate: 48 96
pcm0: Output amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 0
pcm0:
pcm0: nid: 7 [DIGITAL] [DISABLED]
pcm0: name: audio output
pcm0: widget_cap: 0x00000605
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Stream cap: 0x00000001
pcm0: Format: PCM
pcm0: PCM cap: 0x000e0140
pcm0: PCM size: 16 20 24
pcm0: PCM rate: 48 96
pcm0: Output amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 0
pcm0:
pcm0: nid: 8 [ANALOG]
pcm0: name: audio input
pcm0: widget_cap: 0x0010051b
pcm0: Parse flags: 0x00000006
pcm0: Ctl flags: 0x00000800
pcm0: Stream cap: 0x00000001
pcm0: Format: PCM
pcm0: PCM cap: 0x00020140
pcm0: PCM size: 16
pcm0: PCM rate: 48 96
pcm0: Input amp: 0x800b0d02
pcm0: mute=1 step=13 size=11 offset=2
pcm0: connections: 6
pcm0: |
pcm0: + <- nid=13 [pin: Mic in (jack)] (selected)
pcm0: |
pcm0: + <- nid=12 [pin: speaker (none)] [DISABLED]
pcm0: |
pcm0: + <- nid=15 [pin: speaker (none)] [DISABLED]
pcm0: |
pcm0: + <- nid=16 [pin: speaker (none)] [DISABLED]
pcm0: |
pcm0: + <- nid=17 [pin: CD (fixed)]
pcm0: |
pcm0: + <- nid=21 [audio mixer]
pcm0:
pcm0: nid: 9 [ANALOG]
pcm0: name: vendor widget
pcm0: widget_cap: 0x00f00000
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: connections: 0
pcm0:
pcm0: nid: 10 [ANALOG]
pcm0: name: vendor widget
pcm0: widget_cap: 0x00f00000
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: connections: 0
pcm0:
pcm0: nid: 11 [ANALOG]
pcm0: name: pin: line out (jack)
pcm0: widget_cap: 0x00400581
pcm0: Parse flags: 0x00000001
pcm0: Ctl flags: 0x00000000
pcm0: Pin cap: 0x0000001f
pcm0: ISC TRQD HP OUT : UNSOL
pcm0: Pin config: 0x01014110
pcm0: Pin control: 0x00000040 OUT
pcm0: connections: 1
pcm0: |
pcm0: + <- nid=22 [audio mixer]
pcm0:
pcm0: nid: 12 [ANALOG] [DISABLED]
pcm0: name: pin: speaker (none)
pcm0: widget_cap: 0x00400581
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Pin cap: 0x00000037
pcm0: ISC TRQD OUT IN : UNSOL
pcm0: Pin config: 0x411111f0
pcm0: Pin control: 0x00000060 IN OUT
pcm0: connections: 1
pcm0: |
pcm0: + <- nid=25 [audio mixer]
pcm0:
pcm0: nid: 13 [ANALOG]
pcm0: name: pin: Mic in (jack)
pcm0: widget_cap: 0x00400581
pcm0: Parse flags: 0x00000002
pcm0: Ctl flags: 0x00000081
pcm0: Pin cap: 0x00000337
pcm0: ISC TRQD OUT IN VREF[ 50 HIZ ] : UNSOL
pcm0: Pin config: 0x01a19920
pcm0: Pin control: 0x00000021 IN
pcm0: connections: 1
pcm0: |
pcm0: + <- nid=24 [audio mixer]
pcm0:
pcm0: nid: 14 [ANALOG] [DISABLED]
pcm0: name: pin: speaker (none)
pcm0: widget_cap: 0x00400581
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Pin cap: 0x00000017
pcm0: ISC TRQD OUT : UNSOL
pcm0: Pin config: 0x411111f0
pcm0: Pin control: 0x00000040 OUT
pcm0: connections: 1
pcm0: |
pcm0: + <- nid=25 [audio mixer]
pcm0:
pcm0: nid: 15 [ANALOG] [DISABLED]
pcm0: name: pin: speaker (none)
pcm0: widget_cap: 0x00400581
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Pin cap: 0x0000033f
pcm0: ISC TRQD HP OUT IN VREF[ 50 HIZ ] : UNSOL
pcm0: Pin config: 0x411111f0
pcm0: Pin control: 0x000000e0 HP IN OUT
pcm0: connections: 1
pcm0: |
pcm0: + <- nid=26 [audio mixer]
pcm0:
pcm0: nid: 16 [ANALOG] [DISABLED]
pcm0: name: pin: speaker (none)
pcm0: widget_cap: 0x00400581
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Pin cap: 0x0000033f
pcm0: ISC TRQD HP OUT IN VREF[ 50 HIZ ] : UNSOL
pcm0: Pin config: 0x411111f0
pcm0: Pin control: 0x000000e0 HP IN OUT
pcm0: connections: 1
pcm0: |
pcm0: + <- nid=27 [audio mixer]
pcm0:
pcm0: nid: 17 [ANALOG]
pcm0: name: pin: CD (fixed)
pcm0: widget_cap: 0x00400001
pcm0: Parse flags: 0x00000002
pcm0: Ctl flags: 0x00000101
pcm0: Pin cap: 0x00000063
pcm0: ISC TRQD IN BAL
pcm0: Pin config: 0x9933012e
pcm0: Pin control: 0x00000020 IN
pcm0: connections: 0
pcm0:
pcm0: nid: 18 [DIGITAL] [DISABLED]
pcm0: name: pin: speaker (none)
pcm0: widget_cap: 0x00400301
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Pin cap: 0x00000010
pcm0: OUT
pcm0: Pin config: 0x411111f0
pcm0: Pin control: 0x00000040 OUT
pcm0: connections: 1
pcm0: |
pcm0: + <- nid=7 [audio output] [DISABLED]
pcm0:
pcm0: nid: 19 [ANALOG]
pcm0: name: vendor widget
pcm0: widget_cap: 0x00f00000
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: connections: 0
pcm0:
pcm0: nid: 20 [ANALOG]
pcm0: name: audio mixer
pcm0: widget_cap: 0x0020010b
pcm0: Parse flags: 0x00000002
pcm0: Ctl flags: 0x00000081
pcm0: Input amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 2
pcm0: |
pcm0: + <- nid=13 [pin: Mic in (jack)]
pcm0: |
pcm0: + <- nid=16 [pin: speaker (none)] [DISABLED]
pcm0:
pcm0: nid: 21 [ANALOG]
pcm0: name: audio mixer
pcm0: widget_cap: 0x0020050f
pcm0: Parse flags: 0x00000002
pcm0: Ctl flags: 0x00000181
pcm0: Output amp: 0x800b0c0c
pcm0: mute=1 step=12 size=11 offset=12
pcm0: Input amp: 0x800b170c
pcm0: mute=1 step=23 size=11 offset=12
pcm0: connections: 3
pcm0: |
pcm0: + <- nid=17 [pin: CD (fixed)]
pcm0: |
pcm0: + <- nid=20 [audio mixer]
pcm0: |
pcm0: + <- nid=28 [audio mixer]
pcm0:
pcm0: nid: 22 [ANALOG]
pcm0: name: audio mixer
pcm0: widget_cap: 0x0020010b
pcm0: Parse flags: 0x00000001
pcm0: Ctl flags: 0x00000191
pcm0: Input amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 2
pcm0: |
pcm0: + <- nid=3 [audio output]
pcm0: |
pcm0: + <- nid=21 [audio mixer]
pcm0:
pcm0: nid: 23 [ANALOG]
pcm0: name: audio mixer
pcm0: widget_cap: 0x0020010b
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Input amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 2
pcm0: |
pcm0: + <- nid=4 [audio output]
pcm0: |
pcm0: + <- nid=21 [audio mixer]
pcm0:
pcm0: nid: 24 [ANALOG]
pcm0: name: audio mixer
pcm0: widget_cap: 0x0020010b
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Input amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 2
pcm0: |
pcm0: + <- nid=5 [audio output]
pcm0: |
pcm0: + <- nid=21 [audio mixer]
pcm0:
pcm0: nid: 25 [ANALOG]
pcm0: name: audio mixer
pcm0: widget_cap: 0x0020010b
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Input amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 2
pcm0: |
pcm0: + <- nid=6 [audio output]
pcm0: |
pcm0: + <- nid=21 [audio mixer]
pcm0:
pcm0: nid: 26 [ANALOG]
pcm0: name: audio mixer
pcm0: widget_cap: 0x0020010b
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Input amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 4
pcm0: |
pcm0: + <- nid=4 [audio output]
pcm0: |
pcm0: + <- nid=6 [audio output]
pcm0: |
pcm0: + <- nid=21 [audio mixer]
pcm0: |
pcm0: + <- nid=3 [audio output]
pcm0:
pcm0: nid: 27 [ANALOG]
pcm0: name: audio mixer
pcm0: widget_cap: 0x0020010b
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Input amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 4
pcm0: |
pcm0: + <- nid=4 [audio output]
pcm0: |
pcm0: + <- nid=6 [audio output]
pcm0: |
pcm0: + <- nid=21 [audio mixer]
pcm0: |
pcm0: + <- nid=3 [audio output]
pcm0:
pcm0: nid: 28 [ANALOG]
pcm0: name: audio mixer
pcm0: widget_cap: 0x0020010b
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Input amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 2
pcm0: |
pcm0: + <- nid=12 [pin: speaker (none)] [DISABLED]
pcm0: |
pcm0: + <- nid=15 [pin: speaker (none)] [DISABLED]
pcm0:
pcm0: nid: 29 [ANALOG]
pcm0: name: vendor widget
pcm0: widget_cap: 0x00f00000
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: connections: 0
pcm0:
pcm0: nid: 30 [ANALOG]
pcm0: name: vendor widget
pcm0: widget_cap: 0x00f00000
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: connections: 0
pcm0:
pcm0: nid: 31 [ANALOG] [DISABLED]
pcm0: name: pin: speaker (none)
pcm0: widget_cap: 0x00400581
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Pin cap: 0x00000017
pcm0: ISC TRQD OUT : UNSOL
pcm0: Pin config: 0x411111f0
pcm0: Pin control: 0x00000040 OUT
pcm0: connections: 1
pcm0: |
pcm0: + <- nid=24 [audio mixer]
pcm0:
pcm0: nid: 32 [ANALOG] [DISABLED]
pcm0: name: pin: speaker (none)
pcm0: widget_cap: 0x00400581
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Pin cap: 0x00000017
pcm0: ISC TRQD OUT : UNSOL
pcm0: Pin config: 0x411111f0
pcm0: Pin control: 0x00000040 OUT
pcm0: connections: 1
pcm0: |
pcm0: + <- nid=23 [audio mixer]
pcm0:
pcm0: nid: 33 [ANALOG]
pcm0: name: vendor widget
pcm0: widget_cap: 0x00f00000
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: connections: 0
pcm0:
pcm0: nid: 34 [ANALOG]
pcm0: name: vendor widget
pcm0: widget_cap: 0x00f00000
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: connections: 0
pcm0:
pcm0: nid: 35 [ANALOG]
pcm0: name: beep widget
pcm0: widget_cap: 0x0070000c
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000021
pcm0: Output amp: 0x800b0f0f
pcm0: mute=1 step=15 size=11 offset=15
pcm0: connections: 0
pcm0:
pcm0: +------------------------+
pcm0: | DUMPING HDA AMPLIFIERS |
pcm0: +------------------------+
pcm0:
pcm0: 1: nid=3 dir=0x1 index=0 ossmask=0x00000011 ossdev=4
pcm0: 2: nid=4 dir=0x1 index=0 ossmask=0x00000000 ossdev=0
pcm0: 3: nid=5 dir=0x1 index=0 ossmask=0x00000000 ossdev=0
pcm0: 4: nid=6 dir=0x1 index=0 ossmask=0x00000000 ossdev=0
pcm0: 5: nid=7 dir=0x1 index=0 ossmask=0x00000000 ossdev=0 [DISABLED]
pcm0: 6: nid=8 dir=0x2 index=0 ossmask=0x00000800 ossdev=0
pcm0: 7: nid=20 cnid=13 dir=0x2 index=0 ossmask=0x00000081 ossdev=7
pcm0: 8: nid=20 cnid=16 dir=0x2 index=1 ossmask=0x00000000 ossdev=0 [DISABLED]
pcm0: 9: nid=21 dir=0x1 index=0 ossmask=0x00000000 ossdev=0
pcm0: 10: nid=21 cnid=17 dir=0x2 index=0 ossmask=0x00000101 ossdev=8
pcm0: 11: nid=21 cnid=20 dir=0x2 index=1 ossmask=0x00000000 ossdev=0
pcm0: 12: nid=21 cnid=28 dir=0x2 index=2 ossmask=0x00000000 ossdev=0
pcm0: 13: nid=22 cnid=3 dir=0x2 index=0 ossmask=0x00000000 ossdev=0
pcm0: 14: nid=22 cnid=21 dir=0x2 index=1 ossmask=0x00000000 ossdev=0
pcm0: 15: nid=23 cnid=4 dir=0x2 index=0 ossmask=0x00000000 ossdev=0
pcm0: 16: nid=23 cnid=21 dir=0x2 index=1 ossmask=0x00000000 ossdev=0
pcm0: 17: nid=24 cnid=5 dir=0x2 index=0 ossmask=0x00000000 ossdev=0
pcm0: 18: nid=24 cnid=21 dir=0x2 index=1 ossmask=0x00000000 ossdev=0
pcm0: 19: nid=25 cnid=6 dir=0x2 index=0 ossmask=0x00000000 ossdev=0
pcm0: 20: nid=25 cnid=21 dir=0x2 index=1 ossmask=0x00000000 ossdev=0
pcm0: 21: nid=26 cnid=4 dir=0x2 index=0 ossmask=0x00000000 ossdev=0
pcm0: 22: nid=26 cnid=6 dir=0x2 index=1 ossmask=0x00000000 ossdev=0
pcm0: 23: nid=26 cnid=21 dir=0x2 index=2 ossmask=0x00000000 ossdev=0
pcm0: 24: nid=26 cnid=3 dir=0x2 index=3 ossmask=0x00000000 ossdev=0
pcm0: 25: nid=27 cnid=4 dir=0x2 index=0 ossmask=0x00000000 ossdev=0
pcm0: 26: nid=27 cnid=6 dir=0x2 index=1 ossmask=0x00000000 ossdev=0
pcm0: 27: nid=27 cnid=21 dir=0x2 index=2 ossmask=0x00000000 ossdev=0
pcm0: 28: nid=27 cnid=3 dir=0x2 index=3 ossmask=0x00000000 ossdev=0
pcm0: 29: nid=28 cnid=12 dir=0x2 index=0 ossmask=0x00000000 ossdev=0 [DISABLED]
pcm0: 30: nid=28 cnid=15 dir=0x2 index=1 ossmask=0x00000000 ossdev=0 [DISABLED]
pcm0: 31: nid=35 dir=0x1 index=0 ossmask=0x00000021 ossdev=5
pcm0:
pcm0: +-----------------------------------+
pcm0: | DUMPING HDA AUDIO/VOLUME CONTROLS |
pcm0: +-----------------------------------+
pcm0:
pcm0: Master Volume (OSS: vol)
pcm0: |
pcm0: +- nid: 3 index: 0 mute: 1 step: 0 size: 0 off: 0 dir=0x1 ossmask=0x00000011
pcm0: |
pcm0: +- nid: 20 index: 0 (nid: 13) mute: 1 step: 0 size: 0 off: 0 dir=0x2 ossmask=0x00000081
pcm0: |
pcm0: +- nid: 21 index: 0 (nid: 17) mute: 1 step: 23 size: 11 off: 12 dir=0x2 ossmask=0x00000101
pcm0: |
pcm0: +- nid: 35 index: 0 mute: 1 step: 15 size: 11 off: 15 dir=0x1 ossmask=0x00000021
pcm0:
pcm0: PCM Volume (OSS: pcm)
pcm0: |
pcm0: +- nid: 3 index: 0 mute: 1 step: 0 size: 0 off: 0 dir=0x1 ossmask=0x00000011
pcm0:
pcm0: CD Volume (OSS: cd)
pcm0: |
pcm0: +- nid: 21 index: 0 (nid: 17) mute: 1 step: 23 size: 11 off: 12 dir=0x2 ossmask=0x00000101
pcm0:
pcm0: Microphone Volume (OSS: mic)
pcm0: |
pcm0: +- nid: 20 index: 0 (nid: 13) mute: 1 step: 0 size: 0 off: 0 dir=0x2 ossmask=0x00000081
pcm0:
pcm0: Recording Level (OSS: rec)
pcm0: |
pcm0: +- nid: 8 index: 0 mute: 1 step: 13 size: 11 off: 2 dir=0x2 ossmask=0x00000800
pcm0:
pcm0: Speaker/Beep (OSS: speaker)
pcm0: |
pcm0: +- nid: 35 index: 0 mute: 1 step: 15 size: 11 off: 15 dir=0x1 ossmask=0x00000021
pcm0:
pcm0: Playback path:
pcm0:
pcm0: nid=11 [pin: line out (jack)]
pcm0: ^
pcm0: |
pcm0: +-----<------+
pcm0: ^
pcm0: |
pcm0: nid=22 [audio mixer]
pcm0: ^
pcm0: |
pcm0: nid=3 [audio output]
pcm0:
pcm0: Recording sources:
pcm0:
pcm0: nid=8 [audio input]
pcm0: |
pcm0: + <- nid=13 [pin: Mic in (jack)] [recsrc: vol, mic]
pcm0: |
pcm0: + <- nid=17 [pin: CD (fixed)] [recsrc: vol, cd]
pcm0: |
pcm0: + <- nid=21 [audio mixer] [recsrc: vol, mic, cd]
pcm0:
pcm0: +--------------------------------------+
pcm0: | DUMPING PCM Playback/Record Channels |
pcm0: +--------------------------------------+
pcm0:
pcm0: PCM Playback: 1
pcm0: Stream cap: 0x00000001
pcm0: Format: PCM
pcm0: PCM cap: 0x000e0140
pcm0: PCM size: 16 20 24
pcm0: PCM rate: 48 96
pcm0: DAC: 3
pcm0:
pcm0: PCM Record: 1
pcm0: Stream cap: 0x00000001
pcm0: Format: PCM
pcm0: PCM cap: 0x00020140
pcm0: PCM size: 16
pcm0: PCM rate: 48 96
pcm0: ADC: 8
uname -a
FreeBSD toshi.auburn.protected-networks.net 6.2-STABLE FreeBSD 6.2-STABLE #17: Wed May 16 11:05:51 NZST 2007 root at toshi.auburn.protected-networks.net:/usr/obj/usr/src/sys/TOSHI i386
pciconf -lv | grep -B 4 audio
sysctl hw.snd.verbose=2 ; cat /dev/sndstat
hw.snd.verbose: 1 -> 2
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <Intel 82801G High Definition Audio Controller> at memory 0xf0b40000 irq 22 [20070505_0044] (1p/1r/0v channels duplex default)
[pcm0:play:0:dsp0.0]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x00000000
interrupts 0, underruns 0, ready 0 [b:16384/8192/2|bs:0/0/0]
{userland} -> feeder_root(0x00000000) -> {hardware}
[pcm0:record:0:dsp0.1]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x00000000
interrupts 0, overruns 0, hfree 16384, sfree 0 [b:16384/8192/2|bs:0/0/0]
{hardware} -> feeder_root(0x00000000) -> {userland}
sysctl hw.snd
hw.snd.report_soft_formats: 1
hw.snd.targetirqrate: 32
hw.snd.verbose: 2
hw.snd.maxautovchans: 0
hw.snd.unit: 0
hw.snd.pcm0.buffersize: 16384
hw.snd.pcm0.vchans: 0
/usr/sbin/mixer
Mixer vol is currently set to 60:60
Mixer pcm is currently set to 50:50
Mixer speaker is currently set to 0:0
Mixer mic is currently set to 0:0
Mixer cd is currently set to 75:75
Mixer rec is currently set to 0:0
Recording source: mic
imb at toshi:/home/imb> ^Dexit
Script done on Mon May 21 11:12:45 2007
-------------- next part --------------
Script started on Mon May 21 11:24:14 2007
imb at toshi:/home/imb> sudo ./test-sound.sh
#!/bin/sh -v
sysctl debug.bootverbose=1
debug.bootverbose: 1 -> 1
# kldload snd_hda.ko
dmesg | grep ^pcm
pcm0: <Intel 82801G High Definition Audio Controller> mem 0xf0b40000-0xf0b43fff irq 22 at device 27.0 on pci0
pcm0: TCSEL: 0x07 -> 0x00
pcm0: DMA Coherency: Uncacheable / vendor=0x8086
pcm0: Reserved 0x4000 bytes for rid 0x10 type 3 at 0xf0b40000
pcm0: [MPSAFE]
pcm0: hdac_dma_alloc: size=1024 -> roundsz=1024
pcm0: hdac_dma_alloc: size=2048 -> roundsz=2048
pcm0: HDA_DEBUG: HDA Config: on=0x00000000 off=0x00000000
pcm0: HDA_DEBUG: Starting CORB Engine...
pcm0: HDA_DEBUG: Starting RIRB Engine...
pcm0: HDA_DEBUG: Enabling controller interrupt...
pcm0: HDA_DEBUG: Scanning HDA codecs...
pcm0: HDA_DEBUG: Probing codec: 0
pcm0: HDA_DEBUG: startnode=1 endnode=2
pcm0: HDA_DEBUG: Found AFG nid=1 [startnode=1 endnode=2]
pcm0: HDA_DEBUG: Parsing AFG nid=1 cad=0
pcm0: Vendor: 0x000010ec
pcm0: Device: 0x00000861
pcm0: Revision: 0x00000003
pcm0: Stepping: 0x00000000
pcm0: PCI Subvendor: 0xff101179
pcm0: Nodes: start=3 endnode=36 total=33
pcm0: CORB size: 256
pcm0: RIRB size: 256
pcm0: Streams: ISS=4 OSS=4 BSS=0
pcm0: GPIO: 0x00000000
pcm0: NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=8 entries=6 found=6
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=11 entries=1 found=1
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=12 entries=1 found=1
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=13 entries=1 found=1
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=14 entries=1 found=1
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=15 entries=1 found=1
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=16 entries=1 found=1
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=18 entries=1 found=1
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=20 entries=2 found=2
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=21 entries=3 found=3
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=22 entries=2 found=2
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=23 entries=2 found=2
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=24 entries=2 found=2
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=25 entries=2 found=2
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=26 entries=4 found=4
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=27 entries=4 found=4
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=28 entries=2 found=2
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=31 entries=1 found=1
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=32 entries=1 found=1
pcm0: HDA_DEBUG: Parsing Ctls...
pcm0: HDA_DEBUG: Parsing vendor patch...
pcm0: HDA_DEBUG: Building AFG tree...
pcm0: HDA_DEBUG: HWiP: HDA Widget Parser - Revision 1
pcm0: HDA_DEBUG: HWiP: Found 1 DAC path using HDA_PARSE_MIXER strategy.
pcm0: HDA_DEBUG: AFG commit...
pcm0: HDA_DEBUG: Ctls commit...
pcm0: [ 2] Ctl nid=4 Bind to NONE
pcm0: [ 3] Ctl nid=5 Bind to NONE
pcm0: [ 4] Ctl nid=6 Bind to NONE
pcm0: [ 5] Ctl nid=7 DISABLED
pcm0: [ 8] Ctl nid=20 childnid=16 DISABLED
pcm0: [ 9] Ctl nid=21 Bind to NONE
pcm0: [11] Ctl nid=21 childnid=20 Bind to NONE
pcm0: [12] Ctl nid=21 childnid=28 Bind to NONE
pcm0: [13] Ctl nid=22 childnid=3 Bind to NONE
pcm0: [14] Ctl nid=22 childnid=21 Bind to NONE
pcm0: [15] Ctl nid=23 childnid=4 Bind to NONE
pcm0: [16] Ctl nid=23 childnid=21 Bind to NONE
pcm0: [17] Ctl nid=24 childnid=5 Bind to NONE
pcm0: [18] Ctl nid=24 childnid=21 Bind to NONE
pcm0: [19] Ctl nid=25 childnid=6 Bind to NONE
pcm0: [20] Ctl nid=25 childnid=21 Bind to NONE
pcm0: [21] Ctl nid=26 childnid=4 Bind to NONE
pcm0: [22] Ctl nid=26 childnid=6 Bind to NONE
pcm0: [23] Ctl nid=26 childnid=21 Bind to NONE
pcm0: [24] Ctl nid=26 childnid=3 Bind to NONE
pcm0: [25] Ctl nid=27 childnid=4 Bind to NONE
pcm0: [26] Ctl nid=27 childnid=6 Bind to NONE
pcm0: [27] Ctl nid=27 childnid=21 Bind to NONE
pcm0: [28] Ctl nid=27 childnid=3 Bind to NONE
pcm0: [29] Ctl nid=28 childnid=12 DISABLED
pcm0: [30] Ctl nid=28 childnid=15 DISABLED
pcm0: HDA_DEBUG: PCMDIR_PLAY setup...
pcm0: HDA_DEBUG: PCMDIR_REC setup...
pcm0: HDA_DEBUG: OSS mixer initialization...
pcm0: HDA_DEBUG: Enabling Soft PCM volume
pcm0: Mixer "vol": child=0x00000010
pcm0: Mixer "pcm": parent="vol"
pcm0: Mixer "speaker":
pcm0: Mixer "mic":
pcm0: Mixer "cd":
pcm0: Mixer "rec":
pcm0: Soft PCM mixer ENABLED
pcm0: HDA_DEBUG: Registering PCM channels...
pcm0: hdac_dma_alloc: size=4096 -> roundsz=4096
pcm0: sndbuf_setmap 7cc3c000, 4000; 0xe6da1000 -> 7cc3c000
pcm0: hdac_dma_alloc: size=4096 -> roundsz=4096
pcm0: sndbuf_setmap 7cc38000, 4000; 0xe6da5000 -> 7cc38000
pcm0: <HDA Codec: Realtek ALC861>
pcm0: <HDA Codec ID: 0x10ec0861>
pcm0: <HDA Driver Revision: 20070505_0044>
pcm0:
pcm0: HDA config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
pcm0:
pcm0: +-------------------+
pcm0: | DUMPING HDA NODES |
pcm0: +-------------------+
pcm0:
pcm0: Default Parameter
pcm0: -----------------
pcm0: Stream cap: 0x00000001
pcm0: Format: PCM
pcm0: PCM cap: 0x000e0140
pcm0: PCM size: 16 20 24
pcm0: PCM rate: 48 96
pcm0: IN amp: 0x00000000
pcm0: OUT amp: 0x80000000
pcm0:
pcm0: nid: 3 [ANALOG]
pcm0: name: audio output
pcm0: widget_cap: 0x00000405
pcm0: Parse flags: 0x00000001
pcm0: Ctl flags: 0x00000011
pcm0: Stream cap: 0x00000001
pcm0: Format: PCM
pcm0: PCM cap: 0x000e0140
pcm0: PCM size: 16 20 24
pcm0: PCM rate: 48 96
pcm0: Output amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 0
pcm0:
pcm0: nid: 4 [ANALOG]
pcm0: name: audio output
pcm0: widget_cap: 0x00000405
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Stream cap: 0x00000001
pcm0: Format: PCM
pcm0: PCM cap: 0x000e0140
pcm0: PCM size: 16 20 24
pcm0: PCM rate: 48 96
pcm0: Output amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 0
pcm0:
pcm0: nid: 5 [ANALOG]
pcm0: name: audio output
pcm0: widget_cap: 0x00000405
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Stream cap: 0x00000001
pcm0: Format: PCM
pcm0: PCM cap: 0x000e0140
pcm0: PCM size: 16 20 24
pcm0: PCM rate: 48 96
pcm0: Output amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 0
pcm0:
pcm0: nid: 6 [ANALOG]
pcm0: name: audio output
pcm0: widget_cap: 0x00000405
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Stream cap: 0x00000001
pcm0: Format: PCM
pcm0: PCM cap: 0x000e0140
pcm0: PCM size: 16 20 24
pcm0: PCM rate: 48 96
pcm0: Output amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 0
pcm0:
pcm0: nid: 7 [DIGITAL] [DISABLED]
pcm0: name: audio output
pcm0: widget_cap: 0x00000605
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Stream cap: 0x00000001
pcm0: Format: PCM
pcm0: PCM cap: 0x000e0140
pcm0: PCM size: 16 20 24
pcm0: PCM rate: 48 96
pcm0: Output amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 0
pcm0:
pcm0: nid: 8 [ANALOG]
pcm0: name: audio input
pcm0: widget_cap: 0x0010051b
pcm0: Parse flags: 0x00000006
pcm0: Ctl flags: 0x00000800
pcm0: Stream cap: 0x00000001
pcm0: Format: PCM
pcm0: PCM cap: 0x00020140
pcm0: PCM size: 16
pcm0: PCM rate: 48 96
pcm0: Input amp: 0x800b0d02
pcm0: mute=1 step=13 size=11 offset=2
pcm0: connections: 6
pcm0: |
pcm0: + <- nid=13 [pin: Mic in (jack)] (selected)
pcm0: |
pcm0: + <- nid=12 [pin: speaker (none)] [DISABLED]
pcm0: |
pcm0: + <- nid=15 [pin: speaker (none)] [DISABLED]
pcm0: |
pcm0: + <- nid=16 [pin: speaker (none)] [DISABLED]
pcm0: |
pcm0: + <- nid=17 [pin: CD (fixed)]
pcm0: |
pcm0: + <- nid=21 [audio mixer]
pcm0:
pcm0: nid: 9 [ANALOG]
pcm0: name: vendor widget
pcm0: widget_cap: 0x00f00000
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: connections: 0
pcm0:
pcm0: nid: 10 [ANALOG]
pcm0: name: vendor widget
pcm0: widget_cap: 0x00f00000
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: connections: 0
pcm0:
pcm0: nid: 11 [ANALOG]
pcm0: name: pin: line out (jack)
pcm0: widget_cap: 0x00400581
pcm0: Parse flags: 0x00000001
pcm0: Ctl flags: 0x00000000
pcm0: Pin cap: 0x0000001f
pcm0: ISC TRQD HP OUT : UNSOL
pcm0: Pin config: 0x01014110
pcm0: Pin control: 0x00000040 OUT
pcm0: connections: 1
pcm0: |
pcm0: + <- nid=22 [audio mixer]
pcm0:
pcm0: nid: 12 [ANALOG] [DISABLED]
pcm0: name: pin: speaker (none)
pcm0: widget_cap: 0x00400581
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Pin cap: 0x00000037
pcm0: ISC TRQD OUT IN : UNSOL
pcm0: Pin config: 0x411111f0
pcm0: Pin control: 0x00000060 IN OUT
pcm0: connections: 1
pcm0: |
pcm0: + <- nid=25 [audio mixer]
pcm0:
pcm0: nid: 13 [ANALOG]
pcm0: name: pin: Mic in (jack)
pcm0: widget_cap: 0x00400581
pcm0: Parse flags: 0x00000002
pcm0: Ctl flags: 0x00000081
pcm0: Pin cap: 0x00000337
pcm0: ISC TRQD OUT IN VREF[ 50 HIZ ] : UNSOL
pcm0: Pin config: 0x01a19920
pcm0: Pin control: 0x00000021 IN
pcm0: connections: 1
pcm0: |
pcm0: + <- nid=24 [audio mixer]
pcm0:
pcm0: nid: 14 [ANALOG] [DISABLED]
pcm0: name: pin: speaker (none)
pcm0: widget_cap: 0x00400581
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Pin cap: 0x00000017
pcm0: ISC TRQD OUT : UNSOL
pcm0: Pin config: 0x411111f0
pcm0: Pin control: 0x00000040 OUT
pcm0: connections: 1
pcm0: |
pcm0: + <- nid=25 [audio mixer]
pcm0:
pcm0: nid: 15 [ANALOG] [DISABLED]
pcm0: name: pin: speaker (none)
pcm0: widget_cap: 0x00400581
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Pin cap: 0x0000033f
pcm0: ISC TRQD HP OUT IN VREF[ 50 HIZ ] : UNSOL
pcm0: Pin config: 0x411111f0
pcm0: Pin control: 0x000000e0 HP IN OUT
pcm0: connections: 1
pcm0: |
pcm0: + <- nid=26 [audio mixer]
pcm0:
pcm0: nid: 16 [ANALOG] [DISABLED]
pcm0: name: pin: speaker (none)
pcm0: widget_cap: 0x00400581
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Pin cap: 0x0000033f
pcm0: ISC TRQD HP OUT IN VREF[ 50 HIZ ] : UNSOL
pcm0: Pin config: 0x411111f0
pcm0: Pin control: 0x000000e0 HP IN OUT
pcm0: connections: 1
pcm0: |
pcm0: + <- nid=27 [audio mixer]
pcm0:
pcm0: nid: 17 [ANALOG]
pcm0: name: pin: CD (fixed)
pcm0: widget_cap: 0x00400001
pcm0: Parse flags: 0x00000002
pcm0: Ctl flags: 0x00000101
pcm0: Pin cap: 0x00000063
pcm0: ISC TRQD IN BAL
pcm0: Pin config: 0x9933012e
pcm0: Pin control: 0x00000020 IN
pcm0: connections: 0
pcm0:
pcm0: nid: 18 [DIGITAL] [DISABLED]
pcm0: name: pin: speaker (none)
pcm0: widget_cap: 0x00400301
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Pin cap: 0x00000010
pcm0: OUT
pcm0: Pin config: 0x411111f0
pcm0: Pin control: 0x00000040 OUT
pcm0: connections: 1
pcm0: |
pcm0: + <- nid=7 [audio output] [DISABLED]
pcm0:
pcm0: nid: 19 [ANALOG]
pcm0: name: vendor widget
pcm0: widget_cap: 0x00f00000
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: connections: 0
pcm0:
pcm0: nid: 20 [ANALOG]
pcm0: name: audio mixer
pcm0: widget_cap: 0x0020010b
pcm0: Parse flags: 0x00000002
pcm0: Ctl flags: 0x00000081
pcm0: Input amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 2
pcm0: |
pcm0: + <- nid=13 [pin: Mic in (jack)]
pcm0: |
pcm0: + <- nid=16 [pin: speaker (none)] [DISABLED]
pcm0:
pcm0: nid: 21 [ANALOG]
pcm0: name: audio mixer
pcm0: widget_cap: 0x0020050f
pcm0: Parse flags: 0x00000002
pcm0: Ctl flags: 0x00000181
pcm0: Output amp: 0x800b0c0c
pcm0: mute=1 step=12 size=11 offset=12
pcm0: Input amp: 0x800b170c
pcm0: mute=1 step=23 size=11 offset=12
pcm0: connections: 3
pcm0: |
pcm0: + <- nid=17 [pin: CD (fixed)]
pcm0: |
pcm0: + <- nid=20 [audio mixer]
pcm0: |
pcm0: + <- nid=28 [audio mixer]
pcm0:
pcm0: nid: 22 [ANALOG]
pcm0: name: audio mixer
pcm0: widget_cap: 0x0020010b
pcm0: Parse flags: 0x00000001
pcm0: Ctl flags: 0x00000191
pcm0: Input amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 2
pcm0: |
pcm0: + <- nid=3 [audio output]
pcm0: |
pcm0: + <- nid=21 [audio mixer]
pcm0:
pcm0: nid: 23 [ANALOG]
pcm0: name: audio mixer
pcm0: widget_cap: 0x0020010b
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Input amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 2
pcm0: |
pcm0: + <- nid=4 [audio output]
pcm0: |
pcm0: + <- nid=21 [audio mixer]
pcm0:
pcm0: nid: 24 [ANALOG]
pcm0: name: audio mixer
pcm0: widget_cap: 0x0020010b
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Input amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 2
pcm0: |
pcm0: + <- nid=5 [audio output]
pcm0: |
pcm0: + <- nid=21 [audio mixer]
pcm0:
pcm0: nid: 25 [ANALOG]
pcm0: name: audio mixer
pcm0: widget_cap: 0x0020010b
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Input amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 2
pcm0: |
pcm0: + <- nid=6 [audio output]
pcm0: |
pcm0: + <- nid=21 [audio mixer]
pcm0:
pcm0: nid: 26 [ANALOG]
pcm0: name: audio mixer
pcm0: widget_cap: 0x0020010b
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Input amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 4
pcm0: |
pcm0: + <- nid=4 [audio output]
pcm0: |
pcm0: + <- nid=6 [audio output]
pcm0: |
pcm0: + <- nid=21 [audio mixer]
pcm0: |
pcm0: + <- nid=3 [audio output]
pcm0:
pcm0: nid: 27 [ANALOG]
pcm0: name: audio mixer
pcm0: widget_cap: 0x0020010b
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Input amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 4
pcm0: |
pcm0: + <- nid=4 [audio output]
pcm0: |
pcm0: + <- nid=6 [audio output]
pcm0: |
pcm0: + <- nid=21 [audio mixer]
pcm0: |
pcm0: + <- nid=3 [audio output]
pcm0:
pcm0: nid: 28 [ANALOG]
pcm0: name: audio mixer
pcm0: widget_cap: 0x0020010b
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Input amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 2
pcm0: |
pcm0: + <- nid=12 [pin: speaker (none)] [DISABLED]
pcm0: |
pcm0: + <- nid=15 [pin: speaker (none)] [DISABLED]
pcm0:
pcm0: nid: 29 [ANALOG]
pcm0: name: vendor widget
pcm0: widget_cap: 0x00f00000
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: connections: 0
pcm0:
pcm0: nid: 30 [ANALOG]
pcm0: name: vendor widget
pcm0: widget_cap: 0x00f00000
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: connections: 0
pcm0:
pcm0: nid: 31 [ANALOG] [DISABLED]
pcm0: name: pin: speaker (none)
pcm0: widget_cap: 0x00400581
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Pin cap: 0x00000017
pcm0: ISC TRQD OUT : UNSOL
pcm0: Pin config: 0x411111f0
pcm0: Pin control: 0x00000040 OUT
pcm0: connections: 1
pcm0: |
pcm0: + <- nid=24 [audio mixer]
pcm0:
pcm0: nid: 32 [ANALOG] [DISABLED]
pcm0: name: pin: speaker (none)
pcm0: widget_cap: 0x00400581
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Pin cap: 0x00000017
pcm0: ISC TRQD OUT : UNSOL
pcm0: Pin config: 0x411111f0
pcm0: Pin control: 0x00000040 OUT
pcm0: connections: 1
pcm0: |
pcm0: + <- nid=23 [audio mixer]
pcm0:
pcm0: nid: 33 [ANALOG]
pcm0: name: vendor widget
pcm0: widget_cap: 0x00f00000
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: connections: 0
pcm0:
pcm0: nid: 34 [ANALOG]
pcm0: name: vendor widget
pcm0: widget_cap: 0x00f00000
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: connections: 0
pcm0:
pcm0: nid: 35 [ANALOG]
pcm0: name: beep widget
pcm0: widget_cap: 0x0070000c
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000021
pcm0: Output amp: 0x800b0f0f
pcm0: mute=1 step=15 size=11 offset=15
pcm0: connections: 0
pcm0:
pcm0: +------------------------+
pcm0: | DUMPING HDA AMPLIFIERS |
pcm0: +------------------------+
pcm0:
pcm0: 1: nid=3 dir=0x1 index=0 ossmask=0x00000011 ossdev=4
pcm0: 2: nid=4 dir=0x1 index=0 ossmask=0x00000000 ossdev=0
pcm0: 3: nid=5 dir=0x1 index=0 ossmask=0x00000000 ossdev=0
pcm0: 4: nid=6 dir=0x1 index=0 ossmask=0x00000000 ossdev=0
pcm0: 5: nid=7 dir=0x1 index=0 ossmask=0x00000000 ossdev=0 [DISABLED]
pcm0: 6: nid=8 dir=0x2 index=0 ossmask=0x00000800 ossdev=0
pcm0: 7: nid=20 cnid=13 dir=0x2 index=0 ossmask=0x00000081 ossdev=7
pcm0: 8: nid=20 cnid=16 dir=0x2 index=1 ossmask=0x00000000 ossdev=0 [DISABLED]
pcm0: 9: nid=21 dir=0x1 index=0 ossmask=0x00000000 ossdev=0
pcm0: 10: nid=21 cnid=17 dir=0x2 index=0 ossmask=0x00000101 ossdev=8
pcm0: 11: nid=21 cnid=20 dir=0x2 index=1 ossmask=0x00000000 ossdev=0
pcm0: 12: nid=21 cnid=28 dir=0x2 index=2 ossmask=0x00000000 ossdev=0
pcm0: 13: nid=22 cnid=3 dir=0x2 index=0 ossmask=0x00000000 ossdev=0
pcm0: 14: nid=22 cnid=21 dir=0x2 index=1 ossmask=0x00000000 ossdev=0
pcm0: 15: nid=23 cnid=4 dir=0x2 index=0 ossmask=0x00000000 ossdev=0
pcm0: 16: nid=23 cnid=21 dir=0x2 index=1 ossmask=0x00000000 ossdev=0
pcm0: 17: nid=24 cnid=5 dir=0x2 index=0 ossmask=0x00000000 ossdev=0
pcm0: 18: nid=24 cnid=21 dir=0x2 index=1 ossmask=0x00000000 ossdev=0
pcm0: 19: nid=25 cnid=6 dir=0x2 index=0 ossmask=0x00000000 ossdev=0
pcm0: 20: nid=25 cnid=21 dir=0x2 index=1 ossmask=0x00000000 ossdev=0
pcm0: 21: nid=26 cnid=4 dir=0x2 index=0 ossmask=0x00000000 ossdev=0
pcm0: 22: nid=26 cnid=6 dir=0x2 index=1 ossmask=0x00000000 ossdev=0
pcm0: 23: nid=26 cnid=21 dir=0x2 index=2 ossmask=0x00000000 ossdev=0
pcm0: 24: nid=26 cnid=3 dir=0x2 index=3 ossmask=0x00000000 ossdev=0
pcm0: 25: nid=27 cnid=4 dir=0x2 index=0 ossmask=0x00000000 ossdev=0
pcm0: 26: nid=27 cnid=6 dir=0x2 index=1 ossmask=0x00000000 ossdev=0
pcm0: 27: nid=27 cnid=21 dir=0x2 index=2 ossmask=0x00000000 ossdev=0
pcm0: 28: nid=27 cnid=3 dir=0x2 index=3 ossmask=0x00000000 ossdev=0
pcm0: 29: nid=28 cnid=12 dir=0x2 index=0 ossmask=0x00000000 ossdev=0 [DISABLED]
pcm0: 30: nid=28 cnid=15 dir=0x2 index=1 ossmask=0x00000000 ossdev=0 [DISABLED]
pcm0: 31: nid=35 dir=0x1 index=0 ossmask=0x00000021 ossdev=5
pcm0:
pcm0: +-----------------------------------+
pcm0: | DUMPING HDA AUDIO/VOLUME CONTROLS |
pcm0: +-----------------------------------+
pcm0:
pcm0: Master Volume (OSS: vol)
pcm0: |
pcm0: +- nid: 3 index: 0 mute: 1 step: 0 size: 0 off: 0 dir=0x1 ossmask=0x00000011
pcm0: |
pcm0: +- nid: 20 index: 0 (nid: 13) mute: 1 step: 0 size: 0 off: 0 dir=0x2 ossmask=0x00000081
pcm0: |
pcm0: +- nid: 21 index: 0 (nid: 17) mute: 1 step: 23 size: 11 off: 12 dir=0x2 ossmask=0x00000101
pcm0: |
pcm0: +- nid: 35 index: 0 mute: 1 step: 15 size: 11 off: 15 dir=0x1 ossmask=0x00000021
pcm0:
pcm0: PCM Volume (OSS: pcm)
pcm0: |
pcm0: +- nid: 3 index: 0 mute: 1 step: 0 size: 0 off: 0 dir=0x1 ossmask=0x00000011
pcm0:
pcm0: CD Volume (OSS: cd)
pcm0: |
pcm0: +- nid: 21 index: 0 (nid: 17) mute: 1 step: 23 size: 11 off: 12 dir=0x2 ossmask=0x00000101
pcm0:
pcm0: Microphone Volume (OSS: mic)
pcm0: |
pcm0: +- nid: 20 index: 0 (nid: 13) mute: 1 step: 0 size: 0 off: 0 dir=0x2 ossmask=0x00000081
pcm0:
pcm0: Recording Level (OSS: rec)
pcm0: |
pcm0: +- nid: 8 index: 0 mute: 1 step: 13 size: 11 off: 2 dir=0x2 ossmask=0x00000800
pcm0:
pcm0: Speaker/Beep (OSS: speaker)
pcm0: |
pcm0: +- nid: 35 index: 0 mute: 1 step: 15 size: 11 off: 15 dir=0x1 ossmask=0x00000021
pcm0:
pcm0: Playback path:
pcm0:
pcm0: nid=11 [pin: line out (jack)]
pcm0: ^
pcm0: |
pcm0: +-----<------+
pcm0: ^
pcm0: |
pcm0: nid=22 [audio mixer]
pcm0: ^
pcm0: |
pcm0: nid=3 [audio output]
pcm0:
pcm0: Recording sources:
pcm0:
pcm0: nid=8 [audio input]
pcm0: |
pcm0: + <- nid=13 [pin: Mic in (jack)] [recsrc: vol, mic]
pcm0: |
pcm0: + <- nid=17 [pin: CD (fixed)] [recsrc: vol, cd]
pcm0: |
pcm0: + <- nid=21 [audio mixer] [recsrc: vol, mic, cd]
pcm0:
pcm0: +--------------------------------------+
pcm0: | DUMPING PCM Playback/Record Channels |
pcm0: +--------------------------------------+
pcm0:
pcm0: PCM Playback: 1
pcm0: Stream cap: 0x00000001
pcm0: Format: PCM
pcm0: PCM cap: 0x000e0140
pcm0: PCM size: 16 20 24
pcm0: PCM rate: 48 96
pcm0: DAC: 3
pcm0:
pcm0: PCM Record: 1
pcm0: Stream cap: 0x00000001
pcm0: Format: PCM
pcm0: PCM cap: 0x00020140
pcm0: PCM size: 16
pcm0: PCM rate: 48 96
pcm0: ADC: 8
pcm0: HDA_DEBUG: PCMDIR_PLAY: Stream setup nid=3 fmt=0x00000011
pcm0: HDA_DEBUG: PCMDIR_REC: Stream setup nid=8 fmt=0x00000011
pcm0: HDA_DEBUG: PCMDIR_PLAY: Stream setup nid=3 fmt=0x00000011
pcm0: HDA_DEBUG: PCMDIR_REC: Stream setup nid=8 fmt=0x00000011
pcm0: HDA_DEBUG: PCMDIR_PLAY: Stream setup nid=3 fmt=0x00000011
pcm0: HDA_DEBUG: PCMDIR_REC: Stream setup nid=8 fmt=0x00000011
pcm0: HDA_DEBUG: PCMDIR_PLAY: Stream setup nid=3 fmt=0x00000011
pcm0: HDA_DEBUG: PCMDIR_REC: Stream setup nid=8 fmt=0x00000011
uname -a
FreeBSD toshi.auburn.protected-networks.net 6.2-STABLE FreeBSD 6.2-STABLE #13: Fri May 11 09:07:06 NZST 2007 root at toshi.auburn.protected-networks.net:/usr/obj/usr/src/sys/TOSHI i386
pciconf -lv | grep -B 4 audio
sysctl hw.snd.verbose=2 ; cat /dev/sndstat
hw.snd.verbose: 1 -> 2
FreeBSD Audio Driver (newpcm: 32bit)
Installed devices:
pcm0: <Intel 82801G High Definition Audio Controller> at memory 0xf0b40000 irq 22 [20070505_0044] (1p/1r/2v channels duplex default)
[pcm0:play:0:dsp0.p0]: spd 48000, fmt 0x10000010, flags 0x00101020, 0x00000020
interrupts 15500, underruns 0, feed 15496, ready 0 [b:4096/2048/2|bs:4096/2048/2]
{userland} -> feeder_vchan(0x10000010) -> feeder_volume(0x10000010) -> {hardware}
[pcm0:record:0:dsp0.r0]: spd 44100/48000, fmt 0x10000010, flags 0x00007030, 0x00000008, pid 1060
interrupts 7752, overruns 0, feed 31008, hfree 8192, sfree 64924 [b:8192/4096/2|bs:65536/4096/16]
{hardware} -> feeder_root(0x10000010) -> feeder_rate(48000 -> 44100) -> {userland}
pcm0:play:0:dsp0.p0[pcm0:virtual:0:dsp0.v0]: spd 44100/48000, fmt 0x10000010, flags 0x10007030, 0x00000008, pid 1060
interrupts 0, underruns 0, feed 15496, ready 65040 [b:0/0/0|bs:65536/4096/16]
{userland} -> feeder_root(0x10000010) -> feeder_rate(44100 -> 48000) -> {hardware}
pcm0:play:0:dsp0.p0[pcm0:virtual:1:dsp0.v1]: spd 7418/48000, fmt 0x00000008/0x10000010, flags 0x10000000, 0x00000008
interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:4096/128/32]
{userland} -> feeder_root(0x00000008) -> feeder_8to16(0x00000008 -> 0x00000080) -> feeder_rate(7418 -> 48000) -> feeder_monotostereo16(0x00000080 -> 0x10000080) -> feeder_sign16(0x10000080 -> 0x10000010) -> {hardware}
sysctl hw.snd
hw.snd.latency_profile: 1
hw.snd.latency: 5
hw.snd.report_soft_formats: 1
hw.snd.feeder_buffersize: 16384
hw.snd.feeder_rate_round: 25
hw.snd.feeder_rate_max: 2016000
hw.snd.feeder_rate_min: 1
hw.snd.verbose: 2
hw.snd.maxautovchans: 4
hw.snd.default_unit: 0
/usr/sbin/mixer
Mixer vol is currently set to 100:100
Mixer pcm is currently set to 100:100
Mixer speaker is currently set to 0:0
Mixer mic is currently set to 0:0
Mixer cd is currently set to 100:100
Mixer rec is currently set to 0:0
Recording source: vol
imb at toshi:/home/imb> ^Dexit
Script done on Mon May 21 11:24:47 2007
More information about the freebsd-multimedia
mailing list