From: pl bossart <bossart.nospam@gmail.com>
To: Jerone Young <jerone.young@canonical.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: SPDIF out with HDA/Conexant 20561?
Date: Thu, 6 May 2010 14:02:17 -0500 [thread overview]
Message-ID: <p2n6160a5131005061202u38f97418hd4d99fb1a5099012@mail.gmail.com> (raw)
In-Reply-To: <1273075140.1653.4259.camel@laptop>
[-- Attachment #1: Type: text/plain, Size: 2099 bytes --]
I managed to have playback working for both PCM and AC3 in passthrough
mode, found out there is a configuration issue in the HDAudio codec.
By default the SPDIF pin isn't enabled, configuring it as PIN_OUT is
required. Also for some reason there's a switch that selects a quirk
for no good reason. I need to look into this, but here's the fix for
now.
The question is if SPDIF pin is never configured as out, did it ever
work for anyone using Conexant codecs?
Cheers
-Pierre
On Wed, May 5, 2010 at 10:59 AM, Jerone Young
<jerone.young@canonical.com> wrote:
> On Wed, 2010-05-05 at 07:29 -0500, pl bossart wrote:
>> > Are you using the Thinkpad Docking station with the S/PDIF on the side?
>> > The headphone jack on those doesn't have S/PDIF.
>>
>> Yes I am using the side coax connector on the docking station.
>
> I know the T61 is properly wired for it. Had a chance to try it in
> person. It also had a AD codec as opposed to conexant.
>
>>
>> > I have not been able to verify this so glad your email came.. but it
>> > seems like the T400, T500, & W500 do not actually work with it.
>> >
>> > Did you try under Windows & if so did it work?
>
> This has been the main issue. Can't get a total confirmation that it
> even works to begin with for these machines. Also Lenovo has removed the
> port from the recent line of docking stations.
>
> If I can find anything useful .. I'll reply back soon.
>
> I really wanted to remove the SPDIF port being exposed as it shows up on
> my X301 .. and X200 (They all have the same codec), but don't use that
> docking station. But the use case your trying to do is the only way to
> do it and it would only be with the T400/T500 & W500 .. though no where
> can I find someone clearly saying they got it to work (even with
> Windows).
>>
>> No I don't have Windows on this thing. For now I have no real way to
>> tell if the output is properly configured, if the connector works, if
>> the cable's bad...
>> Cheers
>> - Pierre
> Thanks,
> Jerone
>
>
[-- Attachment #2: cxt5051.patch --]
[-- Type: application/octet-stream, Size: 1043 bytes --]
diff --git a/pci/hda/patch_conexant.c b/pci/hda/patch_conexant.c
index 114af8e..63e2fb2 100644
--- a/pci/hda/patch_conexant.c
+++ b/pci/hda/patch_conexant.c
@@ -1784,7 +1784,9 @@ static struct hda_verb cxt5051_init_verbs[] = {
{0x14, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_UNMUTE(1) | 0x44},
{0x15, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_UNMUTE(0) | 0x44},
/* SPDIF route: PCM */
+ {0x1c, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT},
{0x1c, AC_VERB_SET_CONNECT_SEL, 0x0},
+
/* EAPD */
{0x1a, AC_VERB_SET_EAPD_BTLENABLE, 0x2}, /* default on */
{0x16, AC_VERB_SET_UNSOLICITED_ENABLE, AC_USRSP_EN|CONEXANT_HP_EVENT},
@@ -1975,6 +1977,8 @@ static int patch_cxt5051(struct hda_codec *codec)
cxt5051_models,
cxt5051_cfg_tbl);
spec->auto_mic = AUTO_MIC_PORTB | AUTO_MIC_PORTC;
+
+#if 0 // PLB
switch (board_config) {
case CXT5051_HP:
spec->mixers[0] = cxt5051_hp_mixers;
@@ -1997,7 +2001,7 @@ static int patch_cxt5051(struct hda_codec *codec)
spec->auto_mic = AUTO_MIC_PORTB;
break;
}
-
+#endif
return 0;
}
[-- Attachment #3: Type: text/plain, Size: 160 bytes --]
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
prev parent reply other threads:[~2010-05-06 19:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-04 23:19 SPDIF out with HDA/Conexant 20561? pl bossart
2010-05-05 4:14 ` Jerone Young
2010-05-05 12:29 ` pl bossart
2010-05-05 15:59 ` Jerone Young
2010-05-06 19:02 ` pl bossart [this message]
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=p2n6160a5131005061202u38f97418hd4d99fb1a5099012@mail.gmail.com \
--to=bossart.nospam@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=jerone.young@canonical.com \
/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;
as well as URLs for NNTP newsgroup(s).