Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 2010 17:42:25 +0200
From:      "Julian H. Stacey" <jhs@berklix.com>
To:        multimedia@freebsd.org
Cc:        "Julian H. Stacey" <jhs@berklix.com>
Subject:   3 devices in /dev/sndstat
Message-ID:  <201008191542.o7JFgP7r042720@fire.js.berklix.net>

next in thread | raw e-mail | index | archive | help
Hi multimedia@freebsd.org
Help please ? I probably just need an RTFM URL or a command name ?

My main board 
	(dmidecode reports Gigabyte Technology Co., Ltd. : EG31MF-S2)
	http://www.gigabyte.com/search/search.aspx?kw=31MF
) has 6 sound jacks:
	Side	Rear	CTR Bass
	White	Black	Orange
	----	----	----
	Mic	LineOut	LineIn
	Red	Yellow	Blue

uname -a
	FreeBSD blak.js.berklix.net 8.1-RELEASE FreeBSD 8.1-RELEASE
	#0: Wed Aug 18 18:54:13 CEST 2010
	jhs@blak.js.berklix.net:/usr/src/sys/amd64/compile/GENERIC  amd64

kldload snd_driver ; cat /dev/sndstat
        FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
        Installed devices:
        pcm0: <HDA Realtek ALC888 PCM #0 Analog> (play/rec) default
        pcm1: <HDA Realtek ALC888 PCM #1 Analog> (play/rec)
        pcm2: <HDA Realtek ALC888 PCM #2 Digital> (play/rec)

Previous hosts with 3 sockets & 1 pcm0: I've configured OK, but not this.
	(I've tested cable OK ( attached to Yellow LineOut )
	 & Music CD OK & xcdplayer runs normally

The BIOS PCI section has something about Azalia, Auto or Off. 
	With Auto, 3 pmcm devices are found.
	With Off, no pcm devices.
I didnt notice anything else in BIOS to tweak.

I see nothing in 
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html

mixer
	Mixer vol      is currently set to  75:75
	Mixer pcm      is currently set to  75:75
	Mixer speaker  is currently set to  75:75
	Mixer line     is currently set to  75:75
	Mixer mic      is currently set to   0:0
	Mixer mix      is currently set to   0:0
	Mixer rec      is currently set to  75:75
	Mixer igain    is currently set to   0:0
	Recording source: mic
mixer mix 75 ; mixer igain 75 ; mixer mic 75 ; mixer
	Mixer vol      is currently set to  75:75
	Mixer pcm      is currently set to  75:75
	Mixer speaker  is currently set to  75:75
	Mixer line     is currently set to  75:75
	Mixer mic      is currently set to  75:75
	Mixer mix      is currently set to  75:75
	Mixer rec      is currently set to  75:75
	Mixer igain    is currently set to  75:75
	Recording source: mic

sysctl -a | grep pcm
	hdac0:             OSS: pcm (pcm)
	hdac0:             OSS: pcm (pcm)
	hdac0:             OSS: pcm (pcm)
	hdac0:             OSS: pcm (pcm)
	hdac0:             OSS: pcm (pcm)
	hdac0:             OSS: pcm, mix
	hdac0:             OSS: pcm, mix
	hdac0:             OSS: pcm, mix
	hdac0:             OSS: pcm, mix
	hdac0:             OSS: pcm (pcm)
	hdac0:             OSS: pcm, mix
	pcm0: <HDA Realtek ALC888 PCM #0 Analog> at cad 2 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 3 4 5
	pcm0: 
	pcm0: Record:
	pcm0: 
	pcm0:      Stream cap: 0x00000001
	pcm0:                  PCM
	pcm0:         PCM cap: 0x00060160
	pcm0:                  16 20 bits, 44 48 96 KHz
	pcm0:             ADC: 8
	pcm0: 
	pcm0: +-------------------------------+
	pcm0: | DUMPING Playback/Record Paths |
	pcm0: +-------------------------------+
	pcm0: 
	pcm0: Playback:
	pcm0: 
	pcm0:     nid=20 [pin: Line-out (Green Jack)]
	pcm0:       |
	pcm0:       + <- nid=12 [audio mixer] [src: pcm, mix]
	pcm0:              |
	pcm0:              + <- nid=2 [audio output] [src: pcm]
	pcm0:              + <- nid=11 [audio mixer] [src: mix]
	pcm0: 
	pcm0:     nid=22 [pin: Line-out (Orange Jack)]
	pcm0:       |
	pcm0:       + <- nid=13 [audio mixer] [src: pcm, mix]
	pcm0:              |
	pcm0:              + <- nid=3 [audio output] [src: pcm]
	pcm0:              + <- nid=11 [audio mixer] [src: mix]
	pcm0: 
	pcm0:     nid=21 [pin: Line-out (Black Jack)]
	pcm0:       |
	pcm0:       + <- nid=14 [audio mixer] [src: pcm, mix]
	pcm0:              |
	pcm0:              + <- nid=4 [audio output] [src: pcm]
	pcm0:              + <- nid=11 [audio mixer] [src: mix]
	pcm0: 
	pcm0:     nid=23 [pin: Line-out (Grey Jack)]
	pcm0:       |
	pcm0:       + <- nid=15 [audio mixer] [src: pcm, mix]
	pcm0:              |
	pcm0:              + <- nid=5 [audio output] [src: pcm]
	pcm0:              + <- nid=11 [audio mixer] [src: mix]
	pcm0: 
	pcm0: Record:
	pcm0: 
	pcm0:     nid=8 [audio input]
	pcm0:       |
	pcm0:       + <- nid=35 [audio mixer] [src: speaker, line, mic, mix]
	pcm0:              |
	pcm0:              + <- nid=24 [pin: Mic (Pink Jack)] [src: mic]
	pcm0:              + <- nid=26 [pin: Line-in (Blue Jack)] [src: line]
	pcm0:              + <- nid=29 [beep widget] [src: speaker]
	pcm0:              + <- nid=11 [audio mixer] [src: mix]
	pcm0: 
	pcm0: Input Mix:
	pcm0: 
	pcm0:     nid=11 [audio mixer]
	pcm0:       |
	pcm0:       + <- nid=24 [pin: Mic (Pink Jack)] [src: mic]
	pcm0:       + <- nid=26 [pin: Line-in (Blue Jack)] [src: line]
	pcm0:       + <- nid=29 [beep widget] [src: speaker]
	pcm0: 
	pcm0: +-------------------------+
	pcm0: | DUMPING Volume Controls |
	pcm0: +-------------------------+
	pcm0: 
	pcm0: Master Volume (OSS: vol)
	pcm0:    |
	pcm0:    +- ctl 13 (nid  12 out):    -46/0dB (32 steps)
	pcm0:    +- ctl 14 (nid  12 in   0): mute
	pcm0:    +- ctl 15 (nid  12 in   1): mute
	pcm0:    +- ctl 16 (nid  13 out):    -46/0dB (32 steps)
	pcm0:    +- ctl 17 (nid  13 in   0): mute
	pcm0:    +- ctl 18 (nid  13 in   1): mute
	pcm0:    +- ctl 19 (nid  14 out):    -46/0dB (32 steps)
	pcm0:    +- ctl 20 (nid  14 in   0): mute
	pcm0:    +- ctl 21 (nid  14 in   1): mute
	pcm0:    +- ctl 22 (nid  15 out):    -46/0dB (32 steps)
	pcm0:    +- ctl 23 (nid  15 in   0): mute
	pcm0:    +- ctl 24 (nid  15 in   1): mute
	pcm0:    +- ctl 25 (nid  20 in ):    mute
	pcm0:    +- ctl 27 (nid  21 in ):    mute
	pcm0:    +- ctl 29 (nid  22 in ):    mute
	pcm0:    +- ctl 31 (nid  23 in ):    mute
	pcm0: 
	pcm0: PCM Volume (OSS: pcm)
	pcm0:    |
	pcm0:    +- ctl 14 (nid  12 in   0): mute
	pcm0:    +- ctl 17 (nid  13 in   0): mute
	pcm0:    +- ctl 20 (nid  14 in   0): mute
	pcm0:    +- ctl 23 (nid  15 in   0): mute
	pcm0: 
	pcm0: Microphone Volume (OSS: mic)
	pcm0:    |
	pcm0:    +- ctl 34 (nid  24 out):    0/30dB (4 steps)
	pcm0:    +- ctl 52 (nid  35 in   0): mute
	pcm0: 
	pcm0: Line-in Volume (OSS: line)
	pcm0:    |
	pcm0:    +- ctl 38 (nid  26 out):    0/30dB (4 steps)
	pcm0:    +- ctl 54 (nid  35 in   2): mute
	pcm0: 
	pcm0: Speaker/Beep Volume (OSS: speaker)
	pcm0:    |
	pcm0:    +- ctl  8 (nid  11 in   5): -34/12dB (32 steps) + mute
	pcm0:    +- ctl 57 (nid  35 in   5): mute
	pcm0: 
	pcm0: Recording Level (OSS: rec)
	pcm0:    |
	pcm0:    +- ctl  1 (nid   8 in   0): -16/30dB (32 steps) + mute
	pcm0:    +- ctl 52 (nid  35 in   0): mute
	pcm0:    +- ctl 54 (nid  35 in   2): mute
	pcm0:    +- ctl 57 (nid  35 in   5): mute
	pcm0:    +- ctl 62 (nid  35 in  10): mute
	pcm0: 
	pcm0: Input Mix Level (OSS: mix)
	pcm0:    |
	pcm0:    +- ctl  3 (nid  11 in   0): -34/12dB (32 steps) + mute
	pcm0:    +- ctl  5 (nid  11 in   2): -34/12dB (32 steps) + mute
	pcm0:    +- ctl  8 (nid  11 in   5): -34/12dB (32 steps) + mute
	pcm0:    +- ctl 15 (nid  12 in   1): mute
	pcm0:    +- ctl 18 (nid  13 in   1): mute
	pcm0:    +- ctl 21 (nid  14 in   1): mute
	pcm0:    +- ctl 24 (nid  15 in   1): mute
	pcm0:    +- ctl 62 (nid  35 in  10): mute
	pcm0: 
	pcm0: Input Monitoring Level (OSS: igain)
	pcm0:    |
	pcm0:    +- ctl 15 (nid  12 in   1): mute
	pcm0:    +- ctl 18 (nid  13 in   1): mute
	pcm0:    +- ctl 21 (nid  14 in   1): mute
	pcm0:    +- ctl 24 (nid  15 in   1): mute
	pcm0: 
	pcm0: Enabling Soft PCM volume
	pcm0: Mixer "vol":
	pcm0: Mixer "pcm":
	pcm0: Mixer "speaker":
	pcm0: Mixer "line":
	pcm0: Mixer "mic":
	pcm0: Mixer "mix":
	pcm0: Mixer "rec":
	pcm0: Mixer "igain":
	pcm0: Soft PCM mixer ENABLED
	pcm0: clone manager: deadline=750ms flags=0x8000001e
	pcm0: sndbuf_setmap a8390000, 4000; 0xffffff8078ddd000 -> a8390000
	pcm0: sndbuf_setmap 50d60000, 4000; 0xffffff8078ded000 -> 50d60000
	pcm1: <HDA Realtek ALC888 PCM #1 Analog> at cad 2 nid 1 on hdac0
	pcm1: +--------------------------------------+
	pcm1: | DUMPING PCM Playback/Record Channels |
	pcm1: +--------------------------------------+
	pcm1: 
	pcm1: Playback:
	pcm1: 
	pcm1:      Stream cap: 0x00000001
	pcm1:                  PCM
	pcm1:         PCM cap: 0x000e0560
	pcm1:                  16 20 24 bits, 44 48 96 192 KHz
	pcm1:             DAC: 37
	pcm1: 
	pcm1: Record:
	pcm1: 
	pcm1:      Stream cap: 0x00000001
	pcm1:                  PCM
	pcm1:         PCM cap: 0x00060160
	pcm1:                  16 20 bits, 44 48 96 KHz
	pcm1:             ADC: 9
	pcm1: 
	pcm1: +-------------------------------+
	pcm1: | DUMPING Playback/Record Paths |
	pcm1: +-------------------------------+
	pcm1: 
	pcm1: Playback:
	pcm1: 
	pcm1:     nid=27 [pin: Headphones (Green Jack)]
	pcm1:       |
	pcm1:       + <- nid=38 [audio mixer] [src: pcm, mix]
	pcm1:              |
	pcm1:              + <- nid=37 [audio output] [src: pcm]
	pcm1:              + <- nid=11 [audio mixer] [src: mix]
	pcm1: 
	pcm1: Record:
	pcm1: 
	pcm1:     nid=9 [audio input]
	pcm1:       |
	pcm1:       + <- nid=34 [audio mixer] [src: speaker, monitor]
	pcm1:              |
	pcm1:              + <- nid=25 [pin: Mic (Pink Jack)] [src: monitor]
	pcm1:              + <- nid=29 [beep widget] [src: speaker]
	pcm1: 
	pcm1: +-------------------------+
	pcm1: | DUMPING Volume Controls |
	pcm1: +-------------------------+
	pcm1: 
	pcm1: Master Volume (OSS: vol)
	pcm1:    |
	pcm1:    +- ctl 39 (nid  27 in ):    mute
	pcm1:    +- ctl 63 (nid  38 out):    -46/0dB (32 steps)
	pcm1:    +- ctl 64 (nid  38 in   0): mute
	pcm1:    +- ctl 65 (nid  38 in   1): mute
	pcm1: 
	pcm1: PCM Volume (OSS: pcm)
	pcm1:    |
	pcm1:    +- ctl 64 (nid  38 in   0): mute
	pcm1: 
	pcm1: Microphone2 Volume (OSS: monitor)
	pcm1:    |
	pcm1:    +- ctl 36 (nid  25 out):    0/30dB (4 steps)
	pcm1:    +- ctl 42 (nid  34 in   1): mute
	pcm1: 
	pcm1: Speaker/Beep Volume (OSS: speaker)
	pcm1:    |
	pcm1:    +- ctl 46 (nid  34 in   5): mute
	pcm1: 
	pcm1: Recording Level (OSS: rec)
	pcm1:    |
	pcm1:    +- ctl  2 (nid   9 in   0): -16/30dB (32 steps) + mute
	pcm1:    +- ctl 42 (nid  34 in   1): mute
	pcm1:    +- ctl 46 (nid  34 in   5): mute
	pcm1: 
	pcm1: Input Mix Level (OSS: mix)
	pcm1:    |
	pcm1:    +- ctl 65 (nid  38 in   1): mute
	pcm1: 
	pcm1: Input Monitoring Level (OSS: igain)
	pcm1:    |
	pcm1:    +- ctl 65 (nid  38 in   1): mute
	pcm1: 
	pcm1: Enabling Soft PCM volume
	pcm1: Mixer "vol":
	pcm1: Mixer "pcm":
	pcm1: Mixer "speaker":
	pcm1: Mixer "mix":
	pcm1: Mixer "rec":
	pcm1: Mixer "igain":
	pcm1: Mixer "monitor":
	pcm1: Soft PCM mixer ENABLED
	pcm1: clone manager: deadline=750ms flags=0x8000001e
	pcm1: sndbuf_setmap 50d70000, 4000; 0xffffff8078dfd000 -> 50d70000
	pcm1: sndbuf_setmap a83f0000, 4000; 0xffffff8078e0d000 -> a83f0000
	pcm2: <HDA Realtek ALC888 PCM #2 Digital> at cad 2 nid 1 on hdac0
	pcm2: +--------------------------------------+
	pcm2: | DUMPING PCM Playback/Record Channels |
	pcm2: +--------------------------------------+
	pcm2: 
	pcm2: Playback:
	pcm2: 
	pcm2:      Stream cap: 0x00000005
	pcm2:                  AC3 PCM
	pcm2:         PCM cap: 0x001e05e0
	pcm2:                  16 20 24 32 bits, 44 48 88 96 192 KHz
	pcm2:             DAC: 6
	pcm2: 
	pcm2: Record:
	pcm2: 
	pcm2:      Stream cap: 0x00000005
	pcm2:                  AC3 PCM
	pcm2:         PCM cap: 0x001e0560
	pcm2:                  16 20 24 32 bits, 44 48 96 192 KHz
	pcm2:             ADC: 10
	pcm2: 
	pcm2: +-------------------------------+
	pcm2: | DUMPING Playback/Record Paths |
	pcm2: +-------------------------------+
	pcm2: 
	pcm2: Playback:
	pcm2: 
	pcm2:     nid=30 [pin: SPDIF-out (Orange Jack)]
	pcm2:       |
	pcm2:       + <- nid=6 [audio output] [src: pcm]
	pcm2: 
	pcm2: Record:
	pcm2: 
	pcm2:     nid=10 [audio input]
	pcm2:       |
	pcm2:       + <- nid=31 [pin: SPDIF-in (Yellow Jack)] [src: dig1]
	pcm2: 
	pcm2: +-------------------------+
	pcm2: | DUMPING Volume Controls |
	pcm2: +-------------------------+
	pcm2: 
	pcm2: Forcing Soft PCM volume
	pcm2: Forcing master volume with PCM
	pcm2: Mixer "vol" -> "none": child=0x00000010
	pcm2: Mixer "pcm": parent="vol"
	pcm2: Soft PCM mixer ENABLED
	pcm2: clone manager: deadline=750ms flags=0x8000001e
	pcm2: sndbuf_setmap 50d80000, 4000; 0xffffff8078e1d000 -> 50d80000
	pcm2: sndbuf_setmap 50d90000, 4000; 0xffffff8078e2d000 -> 50d90000
	dev.pcm.0.%desc: HDA Realtek ALC888 PCM #0 Analog
	dev.pcm.0.%driver: pcm
	dev.pcm.0.%parent: hdac0
	dev.pcm.0.play.vchans: 1
	dev.pcm.0.play.vchanmode: fixed
	dev.pcm.0.play.vchanrate: 48000
	dev.pcm.0.play.vchanformat: s16le:2.0
	dev.pcm.0.rec.vchans: 1
	dev.pcm.0.rec.vchanmode: fixed
	dev.pcm.0.rec.vchanrate: 48000
	dev.pcm.0.rec.vchanformat: s16le:2.0
	dev.pcm.0.buffersize: 16384
	dev.pcm.0.bitperfect: 0
	dev.pcm.1.%desc: HDA Realtek ALC888 PCM #1 Analog
	dev.pcm.1.%driver: pcm
	dev.pcm.1.%parent: hdac0
	dev.pcm.1.play.vchans: 1
	dev.pcm.1.play.vchanmode: fixed
	dev.pcm.1.play.vchanrate: 48000
	dev.pcm.1.play.vchanformat: s16le:2.0
	dev.pcm.1.rec.vchans: 1
	dev.pcm.1.rec.vchanmode: fixed
	dev.pcm.1.rec.vchanrate: 48000
	dev.pcm.1.rec.vchanformat: s16le:2.0
	dev.pcm.1.buffersize: 16384
	dev.pcm.1.bitperfect: 0
	dev.pcm.2.%desc: HDA Realtek ALC888 PCM #2 Digital
	dev.pcm.2.%driver: pcm
	dev.pcm.2.%parent: hdac0
	dev.pcm.2.play.vchans: 1
	dev.pcm.2.play.vchanmode: passthrough
	dev.pcm.2.play.vchanrate: 48000
	dev.pcm.2.play.vchanformat: s16le:2.0
	dev.pcm.2.rec.vchans: 1
	dev.pcm.2.rec.vchanmode: passthrough
	dev.pcm.2.rec.vchanrate: 48000
	dev.pcm.2.rec.vchanformat: s16le:2.0
	dev.pcm.2.buffersize: 16384
	dev.pcm.2.bitperfect: 0

Any other data I should have given ?
Grateful for any ideas/ pointers please.

In parallel I will search & download manuals for mainboard & BIOS,
but I guess that won't produce the answer but this list will know, I hope :-)

Cheers,
Julian
--
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Mail plain text,  Not HTML, quoted-printable & base 64 dumped with spam.
	Avoid top posting, It cripples itemised cumulative responses.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008191542.o7JFgP7r042720>