At Wed, 28 Jun 2006 23:20:12 +0200, Daniel Schroeder wrote: > > Takashi Iwai wrote: > > At Tue, 27 Jun 2006 22:43:49 +0200, > > Daniel Schroeder wrote: > >> Hello *, > >> > >> sorry for posting this to devel and users, but i think this could be > >> interesting for both. Plz. send replies in cc to my mail address because > >> i am not on list. > >> > >> I am a proud owner of this flagship mainboard with a nvdidia mcp55 > >> hdaudio sound card. The chip is identified by alsa as a AD1988A rev.2 > >> (dmesg, lspci -v, lspci -nv output below): > >> > >> The problem is that if i activate only front in kmix all is fine. > >> Speaker-Test works as expected. If i activate lfe/center then the sound > >> is messed up and he plays front-left/front-rigt through center and lfe. > > > > What do you mean to "activate lfe/center"? > > A more detailed step to reproduce is helpful. > > > > > > Takashi > > a more detail problem description: > > with this module configuration: options snd-hda-intel model=6stack-dig > position_fix=1 Doesn't the driver work without position_fix option? > -------------------------- > headphone jack in front: if connected the regular sound isnt muted. > -------------------------- > speaker test hangs in surround51 configuration: > > speaker-test -Dplug:surround51 -c6 > > speaker-test 1.0.12rc1 > > Playback device is plug:surround51 > Stream parameters are 48000Hz, S16_LE, 6 channels > Using 16 octaves of pink noise > Rate set to 48000Hz (requested 48000Hz) > Buffer size range from 22 to 5461 > Period size range from 11 to 2730 > Using max buffer size 5460 > Periods = 4 > was set period_size = 1365 > was set buffer_size = 5460 > 0 - Front Left > ---- hangs forever That's bad. Does aplay with 6 channel samples work fine? > ---------------------------- > speaker-test in surround40 > > front left=sound output rear left; > front right=sound output rear right; > rear right=sound output subwoofer > rear left=sound output center So the channels are shifted. When you play with 2-channel via "aplay foo.wav", do the samples come from front speakers? As you might have noticed in the kernel message, there is a workaround for AD1988A rev2 codec. You can disable it by re-defining AD1988A_REV2 in patch_analog.c to a bogus value, for example, a patch like below. Then try the tests again. Takashi diff -r ac7516b5dcb9 pci/hda/patch_analog.c --- a/pci/hda/patch_analog.c Thu Jun 29 13:22:29 2006 +0200 +++ b/pci/hda/patch_analog.c Thu Jun 29 14:58:36 2006 +0200 @@ -1543,7 +1543,8 @@ enum { }; /* reivision id to check workarounds */ -#define AD1988A_REV2 0x100200 +// #define AD1988A_REV2 0x100200 +#define AD1988A_REV2 0xabcd1234 /* bogus */ /* Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel