From owner-freebsd-multimedia@FreeBSD.ORG Wed Jan 26 13:40:11 2011 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 1A8C31065698; Wed, 26 Jan 2011 13:40:11 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 9BC3A8FC27; Wed, 26 Jan 2011 13:40:10 +0000 (UTC) Received: from [193.31.11.193] (helo=current.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Pi5bU-0005wX-Ku; Wed, 26 Jan 2011 14:40:08 +0100 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id p0QDeGZL001778; Wed, 26 Jan 2011 14:40:16 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id p0QDeFRf001777; Wed, 26 Jan 2011 14:40:15 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Wed, 26 Jan 2011 14:40:15 +0100 From: Matthias Apitz To: freebsd-multimedia@freebsd.org, freebsd-questions@freebsd.org Message-ID: <20110126134015.GA1709@current.Sisis.de> References: <20110125132757.GA3479@current.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20110125132757.GA3479@current.Sisis.de> X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.5.19 (2009-01-05) X-Con-Id: 51246 X-Originating-IP: 193.31.11.193 Cc: Subject: Re: snd_es137x && no recording from headset micro X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jan 2011 13:40:11 -0000 El día Tuesday, January 25, 2011 a las 02:27:58PM +0100, Matthias Apitz escribió: > > 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 did some more tests and have now a clear picture: 1) in Win7 you can control (System-control-->Sound-->Input) the input devices (build-in micro ./. headset micro), you can test them there and you can define which one is the default; if you set 'headset micro' as default and pull it out, the default switches to build-in micro and back again if you plug it in again; 2) if you start the VM while a) headset micro is pluged-in and b) set as default, the recording in Skype works from headset micro; YES, it works! 3) if you pull out the headset micro, the recording (also in the VM with Skype) falls back to build-in micro; but you can't switch back by pluging it in again, is stays with build-in micro; even a FreeBSD guest system reboot does not change it back; only a restart of VMWare bring the headset micro again as default; It looks like a bug in VMWare or Win7, I think, and nothing we could address here in FreeBSD world, or? Just for the record, se also http://communities.vmware.com/thread/300335 Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/