[alsa-devel] [PATCH] ALSA: hda - Consider additional capture source/selector in ALC889

Mauro Condarelli mc5686 at mclink.it
Fri Feb 13 12:10:10 CET 2009


Herton Ronaldo Krzesinski <herton <at> mandriva.com.br> writes:

> 
> Em Quarta-feira 28 Janeiro 2009, às 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 <herton <at> 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 from
> > > 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 confused
> myself) in this ticket: https://qa.mandriva.com/show_bug.cgi?id=45838
> 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 model
> 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=45838
> 
> Signed-off-by: Herton Ronaldo Krzesinski <herton <at> 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 "options
snd-hda-intel model=acer" 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 some 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 to make
this post any longer.

Thanks in Advance
Mauro



More information about the Alsa-devel mailing list