mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Meelis Roos <mroos@linux.ee>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.3-rc1: snd_intel8x0 still too fast
Date: Wed, 11 Feb 2004 20:26:30 +0100	[thread overview]
Message-ID: <s5hlln9a049.wl@alsa2.suse.de> (raw)
In-Reply-To: <Pine.GSO.4.44.0402111845200.19304-100000@math.ut.ee>

[-- Attachment #1: Type: text/plain, Size: 531 bytes --]

At Wed, 11 Feb 2004 18:49:36 +0200 (EET),
Meelis Roos wrote:
> 
> > hmm, please show /proc/asound/card0/codec97#0/ac97#0-0 and
> > ac97#0-0+regs files again?

oops, the patch was wrong.  could you try this one (and remove
/etc/asound.state before starting ALSA?)

also, if it still doesn't work, try to change the ADC VRA.
for example, run "arecord -fS16_LE -r44100 foo.wav" once before
playing 44100 samples.

also, to make sure that it's a hardware problem, please avoid mono
samples but use 16bit stereo samples only.


Takashi

[-- Attachment #2: Type: text/plain, Size: 828 bytes --]

--- linux/sound/pci/ac97/ac97_patch.c	9 Feb 2004 11:38:03 -0000	1.35
+++ linux/sound/pci/ac97/ac97_patch.c	11 Feb 2004 12:08:20 -0000	1.36
@@ -652,7 +652,7 @@
 
 static const snd_kcontrol_new_t snd_ac97_controls_ad1885[] = {
 	AC97_SINGLE("Digital Mono Direct", AC97_AD_MISC, 11, 1, 0),
-	AC97_SINGLE("Digital Audio Mode", AC97_AD_MISC, 12, 1, 0),
+	/* AC97_SINGLE("Digital Audio Mode", AC97_AD_MISC, 12, 1, 0), */ /* seems problematic */
 	AC97_SINGLE("Low Power Mixer", AC97_AD_MISC, 14, 1, 0),
 	AC97_SINGLE("Zero Fill DAC", AC97_AD_MISC, 15, 1, 0),
 };
@@ -682,6 +682,9 @@
 	jack = snd_ac97_read(ac97, AC97_AD_JACK_SPDIF);
 	snd_ac97_write_cache(ac97, AC97_AD_JACK_SPDIF, jack | 0x0300);
 
+	/* set default */
+	snd_ac97_write_cache(ac97, AC97_AD_MISC, 0x0404);
+
 	ac97->build_ops = &patch_ad1885_build_ops;
 	return 0;
 }

  reply	other threads:[~2004-02-11 19:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-07 15:10 Meelis Roos
2004-02-08 23:11 ` Bill Davidsen
2004-02-09 18:23 ` Takashi Iwai
2004-02-09 18:35   ` Meelis Roos
2004-02-09 18:46     ` Takashi Iwai
2004-02-10 11:22       ` Meelis Roos
2004-02-10 11:43         ` Takashi Iwai
2004-02-10 12:03           ` Meelis Roos
2004-02-11 11:58             ` Takashi Iwai
2004-02-11 16:40               ` Meelis Roos
2004-02-11 16:43                 ` Takashi Iwai
2004-02-11 16:49                   ` Meelis Roos
2004-02-11 19:26                     ` Takashi Iwai [this message]
2004-02-12 13:40                       ` Meelis Roos
2004-02-10 22:34         ` Peter Chubb

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=s5hlln9a049.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mroos@linux.ee \
    /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

all inboxes | Powered by JetHome®