From owner-freebsd-multimedia@FreeBSD.ORG Mon May 4 16:07:32 2009 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 578751065672 for ; Mon, 4 May 2009 16:07:32 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 85BC78FC1C for ; Mon, 4 May 2009 16:07:28 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1M10hT-000K43-Mu for freebsd-multimedia@FreeBSD.org; Mon, 04 May 2009 20:07:27 +0400 To: freebsd-multimedia@FreeBSD.org From: Boris Samorodov Date: Mon, 04 May 2009 20:07:26 +0400 Message-ID: <12323057@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: [snd_hda] ASUS P5K, microphones problem X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2009 16:07:32 -0000 Hello, there is no input from both rear and front microphones. Both output work. Reading SND_HDA(4) didn't help (at least I don't see any problems). Three output associations (rare, front, SPDIF), two input (rare and front). Verbose dmesg: ftp://ftp.ipt.ru/pub/tmp/snd/dmesg.boot.txt I use: ----- bb% uname -a FreeBSD bb.ipt.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Thu Apr 30 09:15:06 MSD 2009 root@bb.ipt.ru:/usr/obj/usr/src/sys/BB i386 bb% mixer -f /dev/dsp 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 Recording source: mic bb% mixer -f /dev/dsp1 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 mix is currently set to 100:100 Mixer rec is currently set to 100:100 Mixer monitor is currently set to 75:75 Recording source: monitor bb% cat /dev/sndstat FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) Installed devices: pcm0: at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex default) [pcm0:play:dsp0.p0]: spd 48000, fmt 0x10000010, flags 0x00101000, 0x00000020 interrupts 137, underruns 0, feed 137, ready 0 [b:4096/2048/2|bs:4096/2048/2] {userland} -> feeder_vchan(0x10000010) -> feeder_volume(0x10000010) -> {hardware} pcm0:play:dsp0.p0[pcm0:virtual:dsp0.vp0]: spd 8000/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(8000 -> 48000) -> feeder_monotostereo16(0x00000080 -> 0x10000080) -> feeder_sign16(0x10000080 -> 0x10000010) -> {hardware} [pcm0:record:dsp0.r0]: spd 48000, fmt 0x10000010, flags 0x00101000, 0x00000000 interrupts 133, overruns 0, feed 266, hfree 4096, sfree 4096 [b:4096/2048/2|bs:4096/2048/2] {hardware} -> feeder_root(0x10000010) -> feeder_vchan(0x10000010) -> {userland} pcm0:record:dsp0.r0[pcm0:virtual:dsp0.vr0]: spd 8000/48000, fmt 0x00000008/0x10000010, flags 0x10000000, 0x00000008 interrupts 0, overruns 0, feed 0, hfree 0, sfree 4096 [b:0/0/0|bs:4096/128/32] {hardware} -> feeder_root(0x10000010) -> feeder_stereotomono16(0x10000010 -> 0x00000010) -> feeder_sign16(0x00000010 -> 0x00000080) -> feeder_rate(48000 -> 8000) -> feeder_16to8(0x00000080 -> 0x00000008) -> {userland} pcm1: at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex) [pcm1:play:dsp1.p0]: spd 48000, fmt 0x10000010, flags 0x00101000, 0x00000020 interrupts 148, underruns 0, feed 148, ready 0 [b:4096/2048/2|bs:4096/2048/2] {userland} -> feeder_vchan(0x10000010) -> feeder_volume(0x10000010) -> {hardware} pcm1:play:dsp1.p0[pcm1:virtual:dsp1.vp0]: spd 8000/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(8000 -> 48000) -> feeder_monotostereo16(0x00000080 -> 0x10000080) -> feeder_sign16(0x10000080 -> 0x10000010) -> {hardware} [pcm1:record:dsp1.r0]: spd 48000, fmt 0x10000010, flags 0x00101000, 0x00000000 interrupts 214, overruns 0, feed 428, hfree 4096, sfree 4096 [b:4096/2048/2|bs:4096/2048/2] {hardware} -> feeder_root(0x10000010) -> feeder_vchan(0x10000010) -> {userland} pcm1:record:dsp1.r0[pcm1:virtual:dsp1.vr0]: spd 8000/48000, fmt 0x00000008/0x10000010, flags 0x10000000, 0x00000008 interrupts 0, overruns 0, feed 0, hfree 0, sfree 4096 [b:0/0/0|bs:4096/128/32] {hardware} -> feeder_root(0x10000010) -> feeder_stereotomono16(0x10000010 -> 0x00000010) -> feeder_sign16(0x00000010 -> 0x00000080) -> feeder_rate(48000 -> 8000) -> feeder_16to8(0x00000080 -> 0x00000008) -> {userland} pcm2: at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:1v/0r:0v channels) [pcm2:play:dsp2.p0]: spd 48000, fmt 0x10000010, flags 0x00101000, 0x00000000 interrupts 0, underruns 0, feed 0, ready 0 [b:4096/2048/2|bs:4096/2048/2] {userland} -> feeder_vchan(0x10000010) -> {hardware} pcm2:play:dsp2.p0[pcm2:virtual:dsp2.vp0]: spd 0, fmt 0x00000000/0x00000008, flags 0x10000000, 0x00000000 interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:0/0/0] {userland} -> feeder_root(0x00000000) -> {hardware} File Versions: $FreeBSD: src/sys/dev/sound/pci/hda/hdac.c,v 1.102 2009/04/01 18:55:08 mav Exp $ $FreeBSD: src/sys/dev/sound/isa/sndbuf_dma.c,v 1.3 2005/01/06 01:43:17 imp Exp $ $FreeBSD: src/sys/dev/sound/pcm/vchan.c,v 1.36 2007/06/16 03:37:28 ariff Exp $ $FreeBSD: src/sys/dev/sound/pcm/sound.c,v 1.121 2009/01/10 18:19:22 mav Exp $ $FreeBSD: src/sys/dev/sound/pcm/sndstat.c,v 1.28 2007/06/16 03:37:28 ariff Exp $ $FreeBSD: src/sys/dev/sound/pcm/mixer.c,v 1.65 2009/01/10 21:38:37 mav Exp $ $FreeBSD: src/sys/dev/sound/pcm/feeder_volume.c,v 1.6 2007/06/16 20:36:39 ariff Exp $ $FreeBSD: src/sys/dev/sound/pcm/feeder_rate.c,v 1.23 2007/06/16 03:37:28 ariff Exp $ $FreeBSD: src/sys/dev/sound/pcm/feeder_fmt.c,v 1.23 2007/06/02 13:07:44 joel Exp $ $FreeBSD: src/sys/dev/sound/pcm/feeder.c,v 1.44 2007/06/17 15:53:11 ariff Exp $ $FreeBSD: src/sys/dev/sound/pcm/fake.c,v 1.18 2007/03/15 18:19:01 ariff Exp $ $FreeBSD: src/sys/dev/sound/pcm/dsp.c,v 1.113 2009/01/10 20:49:15 mav Exp $ $FreeBSD: src/sys/dev/sound/pcm/channel.c,v 1.123 2008/11/04 02:31:03 alfred Exp $ $FreeBSD: src/sys/dev/sound/pcm/buffer.c,v 1.37 2007/06/16 03:37:27 ariff Exp $ $FreeBSD: src/sys/dev/sound/pcm/ac97_patch.c,v 1.11 2007/10/26 20:49:23 ariff Exp $ $FreeBSD: src/sys/dev/sound/pcm/ac97.c,v 1.74 2007/10/26 20:49:59 ariff Exp $ ----- Thanks! WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve