Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: sec@dschroeder.info
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: ASUS M2N32 MCP55 HDAudio problems
Date: Thu, 29 Jun 2006 15:00:05 +0200	[thread overview]
Message-ID: <s5h64ikce22.wl%tiwai@suse.de> (raw)
In-Reply-To: <44A2F28C.509@dschroeder.info>

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

  reply	other threads:[~2006-06-29 13:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-27 20:43 ASUS M2N32 MCP55 HDAudio problems Daniel Schroeder
2006-06-28 15:27 ` Takashi Iwai
2006-06-28 21:20   ` Daniel Schroeder
2006-06-29 13:00     ` Takashi Iwai [this message]
2006-06-29 18:29       ` Daniel Schroeder
2006-06-29 18:41       ` ASUS M2N32 MCP55 HDAudio problems - small solution! Daniel Schroeder
2006-06-30 10:08         ` Takashi Iwai
2006-07-01  9:36           ` Daniel Schroeder
2006-07-03 14:54             ` Takashi Iwai
2006-07-06 15:43               ` ASUS M2N32 MCP55 HDAudio problems - solved Daniel Schroeder
2006-07-06 15:46                 ` Takashi Iwai
2006-07-06 16:20                   ` Daniel Schroeder
2006-07-06 16:30                     ` Takashi Iwai

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=s5h64ikce22.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=sec@dschroeder.info \
    /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