From: Anton Blanchard <anton@samba.org>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: Intel dg45id motherboard - ICH10 HD audio issues
Date: Wed, 22 Oct 2008 09:48:11 +1100 [thread overview]
Message-ID: <20081021224811.GC1594@kryten> (raw)
In-Reply-To: <s5h63pg74uc.wl%tiwai@suse.de>
Hi Takashi,
> > I was unable to get sound to work (analog or SPDIF) on my dg45id using
> > 2.6.27. After looking at the pinout information I made a quick hack to
> > get SPDIF out going (it's a mythtv box so thats all I need):
> >
> > Index: linux-source-2.6.27/sound/pci/hda/patch_sigmatel.c
> > ===================================================================
> > --- linux-source-2.6.27.orig/sound/pci/hda/patch_sigmatel.c 2008-08-31 11:06:37.000000000 +1000
> > +++ linux-source-2.6.27/sound/pci/hda/patch_sigmatel.c 2008-08-31 11:07:14.000000000 +1000
> > @@ -3591,7 +3591,7 @@
> > spec->num_pwrs = ARRAY_SIZE(stac92hd73xx_pwr_nids);
> > spec->pwr_nids = stac92hd73xx_pwr_nids;
> >
> > - err = stac92xx_parse_auto_config(codec, 0x22, 0x24);
> > + err = stac92xx_parse_auto_config(codec, 0x26, 0x24);
> >
> > if (!err) {
> > if (spec->board_config < 0) {
> >
> > And pointed mythtv at ALSA:plughw:0,1. Quick and dirty I know :)
> >
> > Details of the chipset are below.
>
> Thanks. There seems two problems behind.
>
> - the codec has two SPDIF outputs but the driver assumes only the
> first one
> - the driver wrongly probes the pin widget instead of audio-out
> widget
>
> So, your patch fixes only the latter problem which is specific to your
> device.
>
> Could you rewrite the patch to probe the pin first? That is, check
> the availability of pin 0x22 and 0x23. If one of them is available,
> pick the corresponding audio-out widget (0x25 and 0x26).
I'm going to need some help here, I have very little understanding of
ALSA. Could you give me a quick rundown on how to probe pins or point me
at an example in code?
Thanks,
Anton
next prev parent reply other threads:[~2008-10-21 22:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-31 1:28 Intel dg45id motherboard - ICH10 HD audio issues Anton Blanchard
2008-09-01 6:33 ` Takashi Iwai
2008-10-21 22:48 ` Anton Blanchard [this message]
2008-10-22 9:38 ` Takashi Iwai
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=20081021224811.GC1594@kryten \
--to=anton@samba.org \
--cc=alsa-devel@alsa-project.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.