* [PATCH] ice1724: Fix surround on Chaintech AV-710
@ 2009-10-10 4:08 Robert Hancock
2009-10-10 8:56 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Robert Hancock @ 2009-10-10 4:08 UTC (permalink / raw)
To: Alsa-Devel; +Cc: Takashi Iwai
Fix the num_total_dacs setting for Chaintech AV710. The existing comment
that only PSDOUT0 is connected is correct, but since the card is using
packed AC97 mode to send 6 channels to the codec, num_total_dacs should be
set to 6 and not 2. This allows 6-channel surround to work. Also clarify
a comment regarding the additional WM8728 codec on this card (it's connected
to the SPDIF output and always receives the same data).
Signed-off-by: Robert Hancock <hancockrwd@gmail.com>
diff --git a/sound/pci/ice1712/amp.c b/sound/pci/ice1712/amp.c
index 3756430..bfcf989 100644
--- a/sound/pci/ice1712/amp.c
+++ b/sound/pci/ice1712/amp.c
@@ -52,11 +52,13 @@ static int __devinit snd_vt1724_amp_init(struct snd_ice1712 *ice)
/* only use basic functionality for now */
- ice->num_total_dacs = 2; /* only PSDOUT0 is connected */
+ /* VT1616 6ch codec connected to PSDOUT0 using packed mode */
+ ice->num_total_dacs = 6;
ice->num_total_adcs = 2;
- /* Chaintech AV-710 has another codecs, which need initialization */
- /* initialize WM8728 codec */
+ /* Chaintech AV-710 has another WM8728 codec connected to PSDOUT4
+ (shared with the SPDIF output). Mixer control for this codec
+ is not yet supported. */
if (ice->eeprom.subvendor == VT1724_SUBDEVICE_AV710) {
for (i = 0; i < ARRAY_SIZE(wm_inits); i += 2)
wm_put(ice, wm_inits[i], wm_inits[i+1]);
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] ice1724: Fix surround on Chaintech AV-710
2009-10-10 4:08 [PATCH] ice1724: Fix surround on Chaintech AV-710 Robert Hancock
@ 2009-10-10 8:56 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2009-10-10 8:56 UTC (permalink / raw)
To: Robert Hancock; +Cc: Alsa-Devel
At Fri, 09 Oct 2009 22:08:58 -0600,
Robert Hancock wrote:
>
> Fix the num_total_dacs setting for Chaintech AV710. The existing comment
> that only PSDOUT0 is connected is correct, but since the card is using
> packed AC97 mode to send 6 channels to the codec, num_total_dacs should be
> set to 6 and not 2. This allows 6-channel surround to work. Also clarify
> a comment regarding the additional WM8728 codec on this card (it's connected
> to the SPDIF output and always receives the same data).
>
> Signed-off-by: Robert Hancock <hancockrwd@gmail.com>
Applied now. Thanks.
Takashi
>
> diff --git a/sound/pci/ice1712/amp.c b/sound/pci/ice1712/amp.c
> index 3756430..bfcf989 100644
> --- a/sound/pci/ice1712/amp.c
> +++ b/sound/pci/ice1712/amp.c
> @@ -52,11 +52,13 @@ static int __devinit snd_vt1724_amp_init(struct snd_ice1712 *ice)
>
> /* only use basic functionality for now */
>
> - ice->num_total_dacs = 2; /* only PSDOUT0 is connected */
> + /* VT1616 6ch codec connected to PSDOUT0 using packed mode */
> + ice->num_total_dacs = 6;
> ice->num_total_adcs = 2;
>
> - /* Chaintech AV-710 has another codecs, which need initialization */
> - /* initialize WM8728 codec */
> + /* Chaintech AV-710 has another WM8728 codec connected to PSDOUT4
> + (shared with the SPDIF output). Mixer control for this codec
> + is not yet supported. */
> if (ice->eeprom.subvendor == VT1724_SUBDEVICE_AV710) {
> for (i = 0; i < ARRAY_SIZE(wm_inits); i += 2)
> wm_put(ice, wm_inits[i], wm_inits[i+1]);
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-10 8:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-10 4:08 [PATCH] ice1724: Fix surround on Chaintech AV-710 Robert Hancock
2009-10-10 8:56 ` Takashi Iwai
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.