From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Hilman Subject: Re: HDA intel, wired headset w/mic, jack mic detect Date: Tue, 20 Mar 2012 11:14:57 -0700 Message-ID: <87k42fyw9q.fsf@ti.com> References: <87ehtlwen3.fsf@ti.com> <4F472D4F.3000904@canonical.com> <87zkc1cvaa.fsf@ti.com> <874nu99k9y.fsf@ti.com> <87d38wfag6.fsf@ti.com> <87booesssh.fsf@ti.com> <87zkbvne5k.fsf@ti.com> <87399lfpef.fsf@ti.com> <87ipid4rvv.fsf@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from na3sys009aog110.obsmtp.com (na3sys009aog110.obsmtp.com [74.125.149.203]) by alsa0.perex.cz (Postfix) with ESMTP id C375B243DA for ; Tue, 20 Mar 2012 19:15:03 +0100 (CET) Received: by mail-pz0-f45.google.com with SMTP id p14so389604dad.18 for ; Tue, 20 Mar 2012 11:15:00 -0700 (PDT) In-Reply-To: (Raymond Yau's message of "Wed, 14 Mar 2012 08:50:53 +0800") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Raymond Yau Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Raymond Yau writes: > 2012/3/10, Kevin Hilman : >> >> Ah, that's a little easier to tinker with for the uninformed like me. :) >> >> Using that, it seems that the above registers work on my coded (cs4206) >> too. I was able to determine that the built-in mic is ADC2 right >> channel, and can at least make the built-in mic switch from the right to >> left (swap channel mode) >> >> sudo hda-verb /dev/snd/hwC0D0 0x11 SET_COEF_INDEX 2 >> sudo hda-verb /dev/snd/hwC0D0 0x11 SET_PROC_COEF 0x180a >> >> or make the right channel go to both HDA channels (mono mode): >> >> sudo hda-verb /dev/snd/hwC0D0 0x11 SET_COEF_INDEX 2 >> sudo hda-verb /dev/snd/hwC0D0 0x11 SET_PROC_COEF 0x100a >> >> However, I still can't figure out where the headset mic is and how to >> enable it. >> >> Here's what I think I know (c.f. alsa-info.sh output below) >> > > do you mean that you cannot record mono using sysdefault which use a > route to copy left channel channel to both if the internal mic is at > the right channel? > > arecord --vumeter=mono -c 1 -f S16_LE -r 48000 -Dsysdefault /dev/null That is correct. Using this command, I cannot record mono using the internal mic. Kevin