Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Andrew Paprocki" <andrew@ishiboo.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org,
	Claudio Matsuoka <cmatsuoka@gmail.com>,
	Jaroslav Kysela <perex@suse.cz>
Subject: Re: Realtek ALC883 support on Albatron KI690-AM2 motherboard
Date: Mon, 3 Dec 2007 14:13:22 -0500	[thread overview]
Message-ID: <76366b180712031113y14c945aejbfbbd0d5d21c4e02@mail.gmail.com> (raw)
In-Reply-To: <s5hr6i3dcch.wl%tiwai@suse.de>

Takashi,

Thanks, I'll work on getting this upgraded and post results. Some
things I noticed while looking over patch-realtek.c:

1) There is no enum defining the different NID values. The hex values
are used all over the code and you always have to keep referring back
to the list. Would a patch be accepted to convert the hex values to a
proper enum? It makes the code more clear to someone who hasn't looked
at the chipset datasheet before. I see the complete list in the ALC883
datasheet, but I'm not sure if it is specific to the ALC883 or if it
is defined by each HDA spec revision.

2) There does not appear to be an ALC883 profile which sets all
available NIDs to output. In my case, I am attempting to get as many
stereo outputs as possible from the chipset and I do not care at all
about capturing audio. The 6stack profile does not set the pin
configurations for the MIC1/2 and LINE1/2 NIDs. Would a new model be
required if I want to attempt to configure all possible NIDs for
output? Should this be called "all-out"?

3) I noticed a few discrepancies with the hda header files and the
ALC883 documentation in regards to bits being checked for a few
values. I'll follow up with those once I'm back in front of the code.

-Andrew

On Dec 3, 2007 10:31 AM, Takashi Iwai <tiwai@suse.de> wrote:
> At Sun, 2 Dec 2007 16:08:32 -0500,
> Andrew Paprocki wrote:
> >
> > Hello everyone,
> >
> > I'm currently trying to get the ALC883 on the Albatron KI690-AM2
> > motherboard working under ALSA and I'm running into problems with some
> > of the ports. From looking at the patch_realtek.c file inside the
> > intel_hda driver, it appears there are many variants of hookups to
> > this chipset which all require some manual configuration in the
> > driver. I've tried what appears to be the closest match
> > (ALC883_6ST_DIG or 6stack-dig), but it still does not enable all of
> > the ports.
> >
> > The motherboard webpage is here:
> > http://www.albatron.com.tw/English/product/mb/pro_detail.asp?rlink=Specification&no=239
> >
> > The board has two audio stacks on the back panel. Facing the jack
> > inputs, the left-hand stack contains:
> >     <S/PDIF output>
> >     <TOSLINK w/ green cover>
> >
> > Next to that stack is a larger 6-stack with the following configuration:
> >     <blue> <black>
> >     <green> <pink>
> >     <grey> <TOSLINK w/ pink cover>
> >
> > The box is running a stock debian 2.6.18-4-486 kernel.
>
> First of all, try the very latest ALSA version (from HG repo) if you
> want to debug HD-audio stuff.  It's the most actively changed part in
> ALSA drivers.  2.6.18 is way too old as a reference.  Also you should
> build the driver with debug option (in the case of alsa-driver tree,
> pass --with-debug=full to configure).
>
> If the latest version still doesn't work (with all available models),
> then check /proc/asound/card0/codec#* files.
>
> (Anyway, I'll be on vacation from tomorrow, so cannot work on your
>  problem.  Hopefully this will interest other guys...)
>
>
> Takashi

  reply	other threads:[~2007-12-03 19:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-02 21:08 Realtek ALC883 support on Albatron KI690-AM2 motherboard Andrew Paprocki
2007-12-03 15:31 ` Takashi Iwai
2007-12-03 19:13   ` Andrew Paprocki [this message]
2007-12-14 22:32   ` Andrew Paprocki
2007-12-18 12:11     ` Takashi Iwai
2007-12-18 12:34       ` Takashi Iwai
2008-01-13  4:51         ` Andrew Paprocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=76366b180712031113y14c945aejbfbbd0d5d21c4e02@mail.gmail.com \
    --to=andrew@ishiboo.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=cmatsuoka@gmail.com \
    --cc=perex@suse.cz \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox