From owner-freebsd-questions@FreeBSD.ORG Tue Jan 25 13:37:24 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9E73106564A for ; Tue, 25 Jan 2011 13:37:24 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 9ED578FC13 for ; Tue, 25 Jan 2011 13:37:24 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.186]) by mail.unitedinsong.com.au (Postfix) with ESMTP id 785125C44 for ; Tue, 25 Jan 2011 23:44:28 +1000 (EST) Message-ID: <4D3ED160.1010305@herveybayaustralia.com.au> Date: Tue, 25 Jan 2011 23:34:24 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.16) Gecko/20101227 Thunderbird/3.0.11 ThunderBrowse/3.3.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20110125132757.GA3479@current.Sisis.de> In-Reply-To: <20110125132757.GA3479@current.Sisis.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: snd_es137x && no recording from headset micro X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jan 2011 13:37:25 -0000 On 01/25/11 23:27, Matthias Apitz wrote: > Hello, > > I run FreeBSD 8.x in a VMWare hosted on Win7. The VM presents the Intel > HDA sound card of the laptop as AudioPCI ES1371-A and I have to use the driver > snd_es137x(4) which works fine with only the problem that I can not > manage to record from the headset micro. > > The headset micro works fine in Win7 and it switches between the laptop > build-in micro and the headset micro on plug-in; as well while running > FreeBSD before as host system on this laptop I could record from both micro (using the > snd_hda(4) driver. > > The output of /dev/sndstat is: > > $ cat /dev/sndstat > FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) > Installed devices: > pcm0: at io 0x2040 irq 16 kld snd_es137x [MPSAFE] (2p:4v/1r:4v channels duplex default) > > i.e. there is only pcm0 and no pcm1 (should it?) > > I also tried setting: > > # sysctl dev.pcm.0.play.vchans=4 > # sysctl dev.pcm.0.rec.vchans=4 > # sysctl hw.snd.maxautovchans=4 > > mixer(1) says: > > $ mixer > Mixer vol is currently set to 85:85 > Mixer pcm is currently set to 100:100 > Mixer line is currently set to 90:90 > Mixer mic is currently set to 83:83 > Mixer cd is currently set to 83:83 > Mixer rec is currently set to 72:72 > Mixer igain is currently set to 90:90 > Mixer line1 is currently set to 83:83 > Mixer phin is currently set to 86:86 > Mixer video is currently set to 86:86 > Recording source: mic > > and I tried changing to all available recording devices: > > $ mixer bla > ... > rec devices: vol, line, mic, cd, line1, phin, phout, video > > with no luck; any idea how could I record from headset micro? > > I can't remember too much from Winblow$, but can you tell if VMWare is using wdm? Could it be a case of hardware already in use? Alternatively, could the mixer settings be muted using wdm and the sound not coming through? HTH