All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Henningsson <david.henningsson@canonical.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: [RFC] [PATCH 0/5] Add vmaster hook for HD-audio mute-LED controls
Date: Mon, 12 Mar 2012 15:57:35 +0100	[thread overview]
Message-ID: <4F5E0EDF.1090402@canonical.com> (raw)
In-Reply-To: <1331562530-16044-1-git-send-email-tiwai@suse.de>

On 03/12/2012 03:28 PM, Takashi Iwai wrote:
> This is yet another hack for HD-audio.  Currently the mute-LED is
> controlled via abusing the powerstatus check callback for power-saving
> feature.  Thus the mute-LED won't be enabled when user didn't build the
> driver with CONFIG_SND_HDA_POWER_SAVE=y.  With this patchset, the driver
> will refer to only Master switch to follow the mute-LED status.
>
> The first patch is to add a hook to vmaster control.  It's simple and
> small.  The rest are implementations of hooks and replacements of the
> existing codes with the vmaster hook.  The last patch is the addition of
> the mute-EAPD support on Conexant codec.  This was one of the major
> reason I wanted to implement before 3.4, since it's the biggest missing
> piece in Conexant auto-parser.
>
> I've checked quickly on a few machines.  The patches are found in my
> sound-unstable tree topic/cxt-fix branch, too.
>    git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git topic/cxt-fix
>
> Let me know if you see any problems with this patchset.

I'm not really happy with it. Or rather, it does not solve my problem. 
I've heard people say "hmm, when I mute the internal speakers or 
headphones, the mute LED is lit, but not when I mute HDMI, what's the 
logic in that?". (And since HDMI might very well be on a separate card, 
checking all different codecs won't help.)

I believe you need to make the mute LED (and mic mute LED, if present) 
controllable by userspace. If you like it the way it is, I'm okay with 
making a kcontrol that has "On", "Off" and "Follow master mute" with the 
last one being the default.

-- 
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic

  parent reply	other threads:[~2012-03-12 14:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-12 14:28 [RFC] [PATCH 0/5] Add vmaster hook for HD-audio mute-LED controls Takashi Iwai
2012-03-12 14:28 ` [PATCH 1/5] ALSA: Add a hook capability to vmaster controls Takashi Iwai
2012-03-12 14:28 ` [PATCH 2/5] ALSA: hda - Return the created kcontrol in __snd_hda_add_vmaster() Takashi Iwai
2012-03-12 14:28 ` [PATCH 3/5] ALSA: hda - Rewrite the mute-LED hook with vmaster hook in patch_sigmatel.c Takashi Iwai
2012-03-12 14:28 ` [PATCH 4/5] ALSA: hda - Rewrite the mute-LED control with vmaster hook for ALC269 Takashi Iwai
2012-03-12 14:28 ` [PATCH 5/5] ALSA: hda - Add EAPD control to Conexnat auto-parser Takashi Iwai
2012-03-12 14:57 ` David Henningsson [this message]
2012-03-12 15:08   ` [RFC] [PATCH 0/5] Add vmaster hook for HD-audio mute-LED controls Takashi Iwai
2012-03-12 16:03     ` Takashi Iwai
2012-03-12 22:12       ` David Henningsson
2012-03-13  7:05         ` Takashi Iwai
2012-03-13 17:09           ` David Henningsson

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=4F5E0EDF.1090402@canonical.com \
    --to=david.henningsson@canonical.com \
    --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 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.