All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingmar Stieger <alsauser@stiegerhs.de>
To: alsa-devel@alsa-project.org
Subject: Intel HDA digital out distortion
Date: Mon, 23 Jul 2007 23:09:24 +0200	[thread overview]
Message-ID: <46A51904.3010606@stiegerhs.de> (raw)

Hi,

a couple of weeks ago, I bought an ASUS mainboard with integrated Intel HDA and 
an AD1988B codec. Unfortunately, the digital / SPDIF output gets distorted with 
stock 1.0.14 drivers. It does not matter what the volume levels of the various 
mixers are set to.

I think I might have found the source for this problem. Maybe it's only a 
workaround, but it solved the issue and digital out now works fine for me, so I 
thought I'd share.

In patch_analog.c, in static struct hda_verb ad1988_spdif_init_verbs[], 
changeing the forth entry

from {0x1d, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_UNMUTE(1)},

to {0x1d, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_MUTE(1)}

mutes what might be an feedback loop from the analog inputs. The distortion is 
gone if the input to this widget is muted.

On a side note, the settings for the ADCs with NID:08, 09, and 0F looks fishy, 
too. According to the functional diagram, those should have no amps, and thus 
should not be muteable. The driver mutes them anyway...

I'd like to help somebody who really understands this stuff to solve the 
problem for good. What would the next step be ?

Thanks,
Ingmar

             reply	other threads:[~2007-07-23 21:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-23 21:09 Ingmar Stieger [this message]
2007-07-24  7:06 ` Intel HDA digital out distortion Matthias Dahl
2007-07-24  9:28   ` Ingmar Stieger
  -- strict thread matches above, loose matches on Subject: below --
2007-10-03 20:18 pr0t0cod7
2007-10-09  9:49 ` Takashi Iwai
2007-10-16 14:18   ` pr0t0cod7

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=46A51904.3010606@stiegerhs.de \
    --to=alsauser@stiegerhs.de \
    --cc=alsa-devel@alsa-project.org \
    /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 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.