At Sat, 14 Apr 2007 11:24:49 +0200,
Prakash Punnoor wrote:
>
> Am Freitag 13 April 2007 schrieb Trevor Bradley:
> > I *didn't* get it working. I eventually got stereo sound working by
> > eliminating all references to 5.1 sound (try eliminating your .asoundrc
> > file if you've already created one).
>
> [..]
> > Prakash Punnoor wrote:
> > > Am Donnerstag 22 Februar 2007 schrieb Trevor Bradley:
> > >> For reference, I've fixed this problem. Be sure not to just do an rmmod
> > >> of snd_hda_codec, but *every* snd module. Do an lsmod and rmmod
> > >> everything that looks like snd*. I was trying to reload snd_hda_codec
> > >> while leaving other alsa 1.0.11 drivers loaded.
> > >>
> > >> That should have been obvious, but it wasn't.
> > >>
> > >> No clue if 1.0.14rc2 works at all (I'm sshing to home to fix it), but at
> > >> least I have updated drivers.
> > >>
> > >> Thanks for the advice Oliver. Eventually I got it. :)
> > >
> > > Could you tell me how you got it working? I have the same mobo and I only
> > > managed to get stereo out of it. I am currently using kernel 2.6.21-rc6.
> > > I am testing with
> > >
> > > speaker-test -Dplug:surround51 -c 6
> > >
> > > I have unmuted and set vol to high/max for pcm, front, surround, center
> > > and lfe. I have set channel to 6ch. Everything else is muted.
> > >
> > > :-(
>
>
> Hah! I managed it!!! Just tested with speaker-test, so far. I hacked the
> driver a bit:
>
> In patch_analog.c in static int patch_ad1986a(struct hda_codec *codec)
>
> case AD1986A_3STACK:
> spec->num_mixers = 2;
> spec->mixers[1] = ad1986a_3st_mixers;
> //spec->num_init_verbs = 3;
> //spec->init_verbs[1] = ad1986a_3st_init_verbs;
> //spec->init_verbs[2] = ad1986a_ch2_init;
> spec->channel_mode = ad1986a_modes;
> spec->num_channel_mode = ARRAY_SIZE(ad1986a_modes);
> spec->need_dac_fix = 0;//1;
> spec->multiout.max_channels = 6;//2;
> spec->multiout.num_dacs = 3;//1;
> break;
>
> I don't yet know whether it is completely correct what I did and what is the
> minimal change needed.
>
> Perhaps some of the changes will lead to regressions, I need to check
> further.
>
> I think setting max channels and num_dacs has nor meaning, as probably the
> get
> overwritten on ch set, right? dac_fix probably changes the way num_dacs are
> assigned to?
>
> 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...
Takashi
-------------------------------------------------------------------------
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