Am Montag 16 April 2007 schrieb Takashi Iwai:
> At Sat, 14 Apr 2007 11:24:49 +0200,
>
> Prakash Punnoor wrote:
> > So my guess is that probably setting ad1986a_3st_init_verbs is wrong for
> > my mobo.
> >
> > {0x0f, AC_VERB_SET_CONNECT_SEL, 0x2},
> > {0x10, AC_VERB_SET_CONNECT_SEL, 0x1},
>
> You're using older version. The latet HG version has different values
> there. Please try the HG version first then further debugging...
Nope doesn't work. I didn't put in complete hg drivers, just above part, as :
--- /usr/src/linux/sound/pci/hda/patch_analog.c 2007-04-14 16:43:30.000000000
+0200
+++ patch_analog.c 2007-04-16 16:38:48.000000000 +0200
@@ -192,6 +192,17 @@
return snd_hda_multi_out_dig_close(codec, &spec->multiout);
}
+static int ad198x_dig_playback_pcm_prepare(struct hda_pcm_stream *hinfo,
+ struct hda_codec *codec,
+ unsigned int stream_tag,
+ unsigned int format,
+ struct snd_pcm_substream
*substream)
+{
+ struct ad198x_spec *spec = codec->spec;
+ return snd_hda_multi_out_dig_prepare(codec, &spec->multiout,
stream_tag,
+ format, substream);
+}
+
/*
* Analog capture
*/
@@ -250,7 +261,8 @@
.nid = 0, /* fill later */
.ops = {
.open = ad198x_dig_playback_pcm_open,
- .close = ad198x_dig_playback_pcm_close
+ .close = ad198x_dig_playback_pcm_close,
+ .prepare = ad198x_dig_playback_pcm_prepare
},
};
I don't think above matters as it looks spdif related.
@@ -741,8 +753,9 @@
/* additional verbs for 3-stack model */
static struct hda_verb ad1986a_3st_init_verbs[] = {
- /* Mic and line-in selectors */
- {0x0f, AC_VERB_SET_CONNECT_SEL, 0x2},
+ /* Mic selector, mix C/LFE (backmic) and Mic (frontmic) */
+ {0x0f, AC_VERB_SET_CONNECT_SEL, 0x4},
+ /* Line-in selectors */
{0x10, AC_VERB_SET_CONNECT_SEL, 0x1},
{ } /* end */
};
Surround value is the same and it stays silent. center/lfe stays silent, as
well.
What now?
--
(°= =°)
//\ Prakash Punnoor /\\
V_/ \_V
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ Alsa-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/alsa-user
