All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Roskin <proski@gnu.org>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org, Kailang <kailang@realtek.com>
Subject: Re: EeePC 1005PE microphone is "stereo only", silent in mono
Date: Tue, 02 Aug 2011 15:18:18 -0400	[thread overview]
Message-ID: <4E384D7A.2020206@gnu.org> (raw)
In-Reply-To: <s5hk4aws0r0.wl%tiwai@suse.de>

On 08/02/2011 03:58 AM, Takashi Iwai wrote:

> Kailang at Realtek suggested that the verb above is only for ALC269vb,
> but he found out another workaround (coef idx 7 bit 7).
>
> Could you try the patch below?

It works!  However, I needed an extra change for the new code to be 
executed.  Also, I needed to backport the patch to Linux 3.0 (it's 
wireless-testing.git, but for the sound code, it's essentially Linux 3.0).

This condition is not true on my system:

if (board_config == ALC_MODEL_AUTO) {
          alc_pick_fixup(codec, NULL, alc269_fixup_tbl, alc269_fixups);
          alc_apply_fixup(codec, ALC_FIXUP_ACT_PRE_PROBE);
}

board_config is 4 (ALC269_DMIC).  So the condition needs to be removed 
for the fixup to be applied.  I guess the fixup for EeePC 1005HA should 
be called elsewhere.  I'm not using any module parameters.

I get nothing but noise on the sound-2.6/master branch.  It happens 
regardless of whether I'm using one or two channels with arecord.

I remember a few cases when I was able to record proper sound with 2 
channels on the sound-2.6/master kernel.  But most of the time, I would 
get that noise.  It looks like a separate regression.

I could try to bisect it.  It's a big investment of time, considering 
that the system has an Atom CPU, so I'd like to know if there is any 
interest in that, or there is some patch lying around that would address 
the noise problem.

So I backported the code to wireless-testing, where I would never get 
the noise.  Now I can record in mono through pulse audio.  The sound is 
nice and clean.  Everything is fine!

-- 
Regards,
Pavel Roskin

  reply	other threads:[~2011-08-02 19:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-01  3:39 EeePC 1005PE microphone is "stereo only", silent in mono Pavel Roskin
2011-08-01  8:50 ` Takashi Iwai
2011-08-01 17:12   ` Pavel Roskin
2011-08-02  7:58     ` Takashi Iwai
2011-08-02 19:18       ` Pavel Roskin [this message]
2011-08-02 19:23         ` Takashi Iwai
2011-08-02 20:15           ` Pavel Roskin
2011-08-03  6:26             ` Takashi Iwai
2011-08-03  8:56               ` Paul Menzel
2011-08-03 15:29                 ` Pavel Roskin
2011-08-04 13:22                 ` 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=4E384D7A.2020206@gnu.org \
    --to=proski@gnu.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=kailang@realtek.com \
    --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 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.