Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@infradead.org>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel <alsa-devel@alsa-project.org>
Subject: Re: [PATCH] Fix buffer position for ATI SB4x0
Date: Mon, 2 Jun 2008 11:14:04 -0300	[thread overview]
Message-ID: <20080602111404.3929726c@gaivota> (raw)
In-Reply-To: <s5hod6pchui.wl%tiwai@suse.de>

On Thu, 29 May 2008 16:20:21 +0200
Takashi Iwai <tiwai@suse.de> wrote:

> At Thu, 29 May 2008 11:10:22 -0300,
> Mauro Carvalho Chehab wrote:
> > 
> > ATI SB4x0 doesn't need any fix at position.
> 
> It's not about the position fixing but whether to use the
> position-buffer.  The devices on the blacklist are the ones that have
> no position buffer.  So, it would fall into LPIB mode, and this list
> avoids it from the beginning.

Sometimes, I get this message:

[  857.014011] hda-intel: Invalid position buffer, using LPIB read method instead.

It is weird, since this line doesn't appear always.

> > This patch solves the issue of receiving several clicks during capture on those
> > devices.
> > 
> > Tested with a Gateway Notebook MX-6453.
> 
> The click noise is often a different problem.  Did you already try
> the patch below?

This patch is already here on my testing environment.

There are a few reports I found at the net about Gateway devices with SB450 ATI
chipset. Some suggestions for working with MIC pointed the need of using
position_fix=0 to avoid the clicks on those devices.


One weird thing is that I've did this procedure, when I generated the patch:
	- tested without the patch - clicks at mic;
	- applied the patch I sent - no clicks;
	- removed the patch after your email - no clicks;
	- reapplied/removed several times - no clicks.

I'll try today to test with and without the position fix after cold boot/soft
boot/resume. Maybe there are some registers that aren't properly initialized on
some cases.

Btw, after a suspend/resume, some widgets aren't properly restored (at
mercurial tree version). For example, if I suspend with master Mute on, after
resume, mute is off (but the kmix still shows it as muted). I'm not sure if the
clicks happen after resume. I'll double check it.

Cheers,
Mauro

  reply	other threads:[~2008-06-02 14:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-29 14:10 [PATCH] Fix buffer position for ATI SB4x0 Mauro Carvalho Chehab
2008-05-29 14:20 ` Takashi Iwai
2008-06-02 14:14   ` Mauro Carvalho Chehab [this message]
2008-06-06 14:52   ` Mauro Carvalho Chehab
2008-06-06 16:49     ` Takashi Iwai
2008-06-06 18:31       ` Mauro Carvalho Chehab
2008-06-07  8:27         ` Takashi Iwai
2008-06-09 13:17           ` Takashi Iwai
2008-06-09 20:29             ` Mauro Carvalho Chehab

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=20080602111404.3929726c@gaivota \
    --to=mchehab@infradead.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /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