Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: David Henningsson <david.henningsson@canonical.com>
Cc: ALSA Development Mailing List <alsa-devel@alsa-project.org>,
	nusch88@gmail.com
Subject: Re: [PATCH] Four patches to fixup surround internal speakers on Realtek 88x
Date: Mon, 07 Mar 2011 10:37:49 +0100	[thread overview]
Message-ID: <s5hhbbfgtjm.wl%tiwai@suse.de> (raw)
In-Reply-To: <4D7495D2.80605@canonical.com>

At Mon, 07 Mar 2011 09:22:42 +0100,
David Henningsson wrote:
> 
> I spend last Friday together with Bartłomiej Żogała fixing up a long 
> standing issue with Lenovo Y530, which has 4+1 internal speakers on a 
> Realtek 888. And we all want that supported by the auto parser, don't 
> we?

Well, it's a bit flaky.  The current behavior assigning speakers only
as "Speaker" is intentional.  This is a simplification to avoid the
conflict with the case where both multiple line-outs and multiple
speakers are present.

And, in general, I don't like to get rid of "Speaker" notation.  If
any, we should keep "Speaker" with a channel prefix.

> So here comes the patches. Would be nice to have in 2.6.38.

Sorry, the speaker-change is too intrusive for 2.6.38.
Since I already sent a pull request yesterday, which is supposed to be
the final one unless major fixes come up, I'll queue this later with
stable-kernel tag.

Looking at each patch...

> Subject: [PATCH 1/4] ALSA: HDA: Enable surround and subwoofer on Lenovo Ideapad Y530
> 
> The pin config values would change the association instead of the
> sequence, this commit fixes that up.

This looks good.

> Subject: [PATCH 2/4] ALSA: HDA: Fix volume control naming for surround speakers on Realtek auto-parser
> 
> When more than one pair of internal speakers is present, allow names
> according to their channels.

This one is for re-consideration.

> From: David Henningsson <david.henningsson@canonical.com>
> Date: Fri, 4 Mar 2011 14:22:25 +0100
> Subject: [PATCH 3/4] ALSA: HDA: Fixup unnecessary volume control index on Realtek ALC88x
> 
> Without this change, a volume control named "Surround" or "Side" would
> get an unnecessary index, causing it to be ignored by the vmaster and
> PulseAudio.

vmaster should handle multiple indices properly, but maybe PA not.
Nevertheless, the fix is correct.

> Subject: [PATCH 4/4] ALSA: HDA: Realtek ALC88x: Do not over-initialize speakers and hp that are primary outputs
> 
> Do not initialize again the what has already been initialized as
> multi outs, as this breaks surround speakers.

This looks correct, too.


thanks,

Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  reply	other threads:[~2011-03-07  9:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-07  8:22 [PATCH] Four patches to fixup surround internal speakers on Realtek 88x David Henningsson
2011-03-07  9:37 ` Takashi Iwai [this message]
2011-03-07 10:46   ` David Henningsson
2011-03-07 10:54     ` Takashi Iwai
2011-03-10 16:47       ` 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=s5hhbbfgtjm.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=david.henningsson@canonical.com \
    --cc=nusch88@gmail.com \
    /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