From: Takashi Iwai Subject: Re: [PATCH] ALSA: hda - Consider additional capture source/selector in ALC889 Date: Fri, 13 Feb 2009 12:45:49 +0100 Message-ID: References: <200901280916.37234.herton@mandriva.com.br> <200901281556.50512.herton@mandriva.com.br> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mx1.suse.de (ns.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 732A61037FF for ; Fri, 13 Feb 2009 12:45:49 +0100 (CET) In-Reply-To: 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: Mauro Condarelli Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Fri, 13 Feb 2009 11:10:10 +0000 (UTC), Mauro Condarelli wrote: > = > Herton Ronaldo Krzesinski mandriva.com.br> writes: > = > > = > > Em Quarta-feira 28 Janeiro 2009, =E0s 13:30:10, Takashi Iwai escreveu: > > > At Wed, 28 Jan 2009 09:16:33 -0200, > > > Herton Ronaldo Krzesinski wrote: > > > > = > > > > Currently code for capture source support in ALC889 only considers > > > > capture mixers. This change adds aditional support for ADC+selector > > > > present in ALC889, taking into account also the presence of an > > > > additional DMIC connection item in the selector. > > > > = > > > > Signed-off-by: Herton Ronaldo Krzesinski mandriva.com.= br> > > > > --- > > > > sound/pci/hda/patch_realtek.c | 105 > ++++++++++++++++++++++++++++++----------- > > > > 1 files changed, 77 insertions(+), 28 deletions(-) > > > > = > > > > Note: I did this patch without hardware to test on, just based on > alsa-info.txt > > > > from one machine with ALC889 plus the ALC889 datasheet available fr= om > > > > Realtek website, so this is just build tested. > > > = > > > Could you post that alsa-info output? Then I can test it with > > > hda-emu, too. > > = > > Ops, it's the /proc/asound/card0/codec#0 (not full alsa-info, just conf= used > > myself) in this ticket: https://qa.mandriva.com/show_bug.cgi?id=3D45838 > > I have yet to check hda-emu, will test with it next time. > > = > > I did a patch for alsa 1.0.18 for the bug report, now I was converting = it to > > sound tree, by first adding this capture ADC+selector support and later= to add > > an additional model for acer 8930. Just didn't submit the patch with mo= del > > addition yet as it looks like the laptop has speakers for rear/clfe etc= . and > > I'm now waiting from feedback about this on the bug report, but for now= the > > patch with addition is this: > > = > > ALSA: hda - Add acer-aspire-alc889 model for ALC889 codecs > > = > > This adds a new model to handle Acer Aspire 8930, that slightly differs > > from other ALC883/889 models. Currently it doesn't work as reported on > > https://qa.mandriva.com/show_bug.cgi?id=3D45838 > > = > > Signed-off-by: Herton Ronaldo Krzesinski mandriva.com.br> > > --- > Hi, > sorry to disturb. > I have an acer Aspire 8930 and I am fighting with sound. > I have an up-to-date ubuntu Intrepid distribution. > I had NO sound at all. > I followed instructions upgrading to latest alsa-driver-1.0.19 added "opt= ions > snd-hda-intel model=3Dacer" to /etc/modprobe.d/alsa-base and > "/usr/local/bin/hda-verb /dev/snd/hwC0D0 0x15 SET_EAPD_BTLENABLE 2" to > /etc/rc.local. > JOY! I have sound. > So far so good. > Now my problem is I do not have capture (intrnal or external mic are not > working); I kept searching and found this thread. > I downloaded the alsa-driver-snapshot-tiwai from ftp.kernel.org, applied = the > last patch (it seemed not applied in the snapshot) which went in with som= e line > discrepancies. > Removed the above settings and insatalled the new driver. > Result is now I have a *very* low volume audio and I'm unsure the mic is = working > at all. > I'm obviously missing something. > Can someone be so kind to point me in the right direction, please? > I'm (obviously!) ready to offer all info required. I simply didn't want t= o make > this post any longer. Try the latest snapshot below with model=3Dauto option. ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver= -snapshot.tar.gz If this doesn't work, please run alsa-info.sh with --no-upload option and attach the generated file. The script is found at http://www.alsa-project.org/alsa-info.sh thanks, Takashi