On Thu, Mar 21, 2002 at 05:14:18PM +0100, Rafael Laboissiere wrote:
> Hello,
> 
> This must be a stupid question, but I am completely lost and searching
> through the mailing list archives did not help.
> 
> I have installed alsa 0.9 beta10 in my Debian sid system using the ens1370
> driver.  Playing sound files is working perfectly.  However, recording with
> the microphone results also into a silent file.  The microphone is working
> well, since I hear at the speakers what I speak into the mic.  With
> alsamixer, I unmuted everybody, put all volume levels around 75%, and
> switched everything that I could to "capture".  The output of amixer is
> enclosed below. 
> 
> What am I missing here?
> 
> -- 
> Rafael Laboissiere

Try giving the mic a +5v Bias, and turning on the 30 dB boost:

amixer cset numid=44,iface=CARD,name='Mic +5V bias' on
amixer cset numid=42,iface=MIXER,name='Mic Boost (+30dB)' on

note that I had to change the source a bit to get rid of some
annoying clicking (not related to either of the above options)..
patch below, in case you have the same problem: (will the alsa
devs look in to this, please?)

diff -rHU 5 alsa-driver-0.9.0beta11.orig/alsa-kernel/pci/ens1370.c 
alsa-driver-0.9.0beta11/alsa-kernel/pci/ens1370.c
--- alsa-driver-0.9.0beta11.orig/alsa-kernel/pci/ens1370.c      Thu Feb 14 11:40:33 
2002
+++ alsa-driver-0.9.0beta11/alsa-kernel/pci/ens1370.c   Tue Feb 19 13:38:06 2002
@@ -880,11 +880,11 @@
        spin_lock_irqsave(&ensoniq->reg_lock, flags);
        ensoniq->ctrl &= ~ES_ADC_EN;
        outl(ensoniq->ctrl, ES_REG(ensoniq, CONTROL));
        outl(ES_MEM_PAGEO(ES_PAGE_ADC), ES_REG(ensoniq, MEM_PAGE));
        outl(runtime->dma_addr, ES_REG(ensoniq, ADC_FRAME));
-       outl((ensoniq->c_dma_size >> 2) - 1, ES_REG(ensoniq, ADC_SIZE));
+       outl((ensoniq->c_dma_size >> 2), ES_REG(ensoniq, ADC_SIZE));
        ensoniq->sctrl &= ~(ES_R1_LOOP_SEL | ES_R1_MODEM);
        ensoniq->sctrl |= ES_R1_INT_EN | ES_R1_MODEO(mode);
        outl(ensoniq->sctrl, ES_REG(ensoniq, SERIAL));
        outl((ensoniq->c_period_size >> snd_ensoniq_sample_shift[mode]) - 1, 
ES_REG(ensoniq, ADC_COUNT));


-- 
Zinx Verituse

_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to