X86 platform drivers
 help / color / mirror / Atom feed
From: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
To: Andrew Lutomirski <luto@mit.edu>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>,
	platform-driver-x86@vger.kernel.org,
	ibm-acpi-devel@lists.sourceforge.net
Subject: Re: [ibm-acpi-devel] [PATCH v5] thinkpad-acpi: Improve hardware volume controls
Date: Fri, 12 Sep 2014 20:03:44 -0300	[thread overview]
Message-ID: <20140912230344.GA8502@khazad-dum.debian.net> (raw)
In-Reply-To: <CAObL_7F-w3f8R039JcenMeGpWx3dXrb6V3tVgxny7SJy717NNQ@mail.gmail.com>

On Fri, 12 Sep 2014, Andrew Lutomirski wrote:
> > This behavior is unfortunate, since modern userspace will also
> > handle the hotkeys and change the other mixer.  If the software
> > mixer is muted and the hardware mixer is unmuted and you push mute,
> > hilarity ensues as they both switch state.
> 
> This patch seems to have fallen into oblivion.  My X220s still has

Mostly because I was out of time to review it due to its size, and ended up
forgetting about it.  I am deeply sorry about that.

We can bring this patch back into the light, though.

> screwy mute controls.  (To reproduce in GNOME 3, get into an unmuted,
> nonzero volume state, then press volume down a bunch of times until a
> mute icon shows up, then press mute, then press volume up.  You are
> now have no sound until you fiddle with the hardware controls a bunch
> and undo it.)
> 
> I can rebase this to 3.17-whatever, but I'm also somewhat inclined to
> get rid of all the compatibility bits and just modify the driver to
> force all Thinkpads into nonmagical software-only mode.  The latter
> approach will be *much* simpler

Changing the behaviour on the newer ones is okay, but not the old ones
(where old == not broken).  That would be a regression.

Syncing the hardware and software mute gating is fine, though, as long as
they are always kept in sync.  If "toggle mode" is much easier to implement
than the v5 version of your patch, we could try that.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

  reply	other threads:[~2014-09-12 23:04 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-19 20:41 [PATCH v5] thinkpad-acpi: Improve hardware volume controls Andy Lutomirski
2011-05-23 13:15 ` [PATCH] Remove ThinkPads from _OSI(Linux) blacklist Andy Lutomirski
2011-05-24 10:46   ` Andrew Lutomirski
     [not found] ` <f51437579321e4bc26282fdc747e6c0c7657d2ad.1305837576.git.luto-3s7WtUTddSA@public.gmane.org>
2011-06-14  1:58   ` [PATCH v5] thinkpad-acpi: Improve hardware volume controls Henrique de Moraes Holschuh
2011-06-14  1:59     ` Andrew Lutomirski
2011-07-23 19:40       ` Henrique de Moraes Holschuh
2011-08-03  3:30         ` Henrique de Moraes Holschuh
2011-08-03 13:37           ` Andrew Lutomirski
2012-10-23 21:45           ` Andrew Lutomirski
2014-09-12 22:07 ` Andrew Lutomirski
2014-09-12 23:03   ` Henrique de Moraes Holschuh [this message]
2014-09-12 23:14     ` [ibm-acpi-devel] " Andrew Lutomirski
2014-09-12 23:32       ` Henrique de Moraes Holschuh
2014-09-12 23:35         ` Andrew Lutomirski
2014-09-13 16:13         ` Andrew Lutomirski
2014-09-14  1:42           ` Henrique de Moraes Holschuh

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=20140912230344.GA8502@khazad-dum.debian.net \
    --to=hmh@hmh.eng.br \
    --cc=ibm-acpi-devel@lists.sourceforge.net \
    --cc=luto@mit.edu \
    --cc=mjg59@srcf.ucam.org \
    --cc=platform-driver-x86@vger.kernel.org \
    /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