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 16:15:14 -0400	[thread overview]
Message-ID: <4E385AD2.7060904@gnu.org> (raw)
In-Reply-To: <s5h1ux3sjlp.wl%tiwai@suse.de>

On 08/02/2011 03:23 PM, Takashi Iwai wrote:

>> 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.
>
> OK, then just pass model=auto.  It may result in different mixer
> elements, but mostly it should work.  (Actually it's helpful if you
> can test the auto-parser.)

That was it!  sound-2.6/master is working now.  No more noise.  Stereo 
and mono are fine.  No need to bisect anything.

So I just added "options snd_hda_intel model=auto" to /etc/modprobe.d

Obviously, it would be nice not to pass any parameters.  Things should 
just work.

>> 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.
>
> Does it happen no matter whether patched and/or model option value?

The patch has no effect on the noise.  But model=auto makes all the 
difference.  And I wrongly assumed it was a default.

>> 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.
>
> Before starting bisecting, please give alsa-info.sh outputs on both
> working and non-working kernels.  Then we can compare the visible
> difference of register values (although coef stuff isn't exposed
> there).

I guess it's not needed anymore.  What's needed it to make "auto" the 
default (or some variation of that).

-- 
Regards,
Pavel Roskin

  reply	other threads:[~2011-08-02 20:15 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
2011-08-02 19:23         ` Takashi Iwai
2011-08-02 20:15           ` Pavel Roskin [this message]
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=4E385AD2.7060904@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.