[alsa-devel] [HDA Intel/STAC92xx] mic not working (retasking?)...

Takashi Iwai tiwai at suse.de
Mon Jul 2 16:26:11 CEST 2007


At Sat, 30 Jun 2007 22:07:13 +0100,
Daniel J Blueman wrote:
> 
> Hi Takashi San,
> 
> On 30/06/07, Takashi Iwai <tiwai at suse.de> wrote:
> > At Wed, 27 Jun 2007 21:28:43 +0100,
> > Daniel J Blueman wrote:
> > >
> > > With both 2.6.20 and 2.6.22 kernels on Ubuntu 7.04 on my Sony Vaio
> > > SZ240, I'm unable to get my mic connector working at any cost.
> > >
> > > Well, almost...reading from /dev/dsp, I do see a minute change from
> > > 127 for 126 or 128 if I tap my external mic. This would imply the
> > > jack-retasking feature of this darn STAC chipset, right?
> > >
> > > How can I change the jack retasking with the Intel HDA drivers or get
> > > further insight into this problem?
> >
> > First, show the contents of /proc/asound/card0/codec#* files...
> 
> Firstly, thank you for replying; the only related cases I've been able
> to find on the internet suggest to use the 'model=vaio' option to the
> snd-hda-intel module, but this does not help.

Try the patch below, choose "Line" as the capture source (if you want
a mic-input jack -- for the built-in mic, chooes "Mic"), and raise the
newly added "Capture Boost" volume.


Takashi

diff -r 054dc7195722 pci/hda/patch_sigmatel.c
--- a/pci/hda/patch_sigmatel.c	Mon Jul 02 16:03:12 2007 +0200
+++ b/pci/hda/patch_sigmatel.c	Mon Jul 02 16:24:39 2007 +0200
@@ -2423,6 +2423,7 @@ static struct snd_kcontrol_new vaio_mixe
 		.get = stac92xx_mux_enum_get,
 		.put = stac92xx_mux_enum_put,
 	},
+	HDA_CODEC_MUTE("Capture Boost Volume", 0x15, 0, HDA_OUTPUT),
 	{}
 };
 


More information about the Alsa-devel mailing list