Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jan 2011 14:27:58 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-multimedia@freebsd.org, freebsd-questions@freebsd.org
Subject:   snd_es137x && no recording from headset micro
Message-ID:  <20110125132757.GA3479@current.Sisis.de>

next in thread | raw e-mail | index | archive | help

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: <AudioPCI ES1371-A> 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?

Thanks

	matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru@unixarea.de> - w http://www.unixarea.de/



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