From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: Andrew Lutomirski <luto@mit.edu>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Linus Torvalds <torvalds@linux-foundation.org>,
Henrique de Moraes Holschuh <hmh@hmh.eng.br>,
Darren Hart <dvhart@infradead.org>
Subject: Re: [GIT PULL] platform-drivers-x86 for 3.19
Date: Thu, 15 Jan 2015 19:07:31 +0200 [thread overview]
Message-ID: <20150115170731.GB21675@node.dhcp.inet.fi> (raw)
In-Reply-To: <CAObL_7GvVtiBye4s7=EoV_wuBzGMBZLFnqYwNG5gkKW4SjneVQ@mail.gmail.com>
On Thu, Jan 15, 2015 at 09:00:44AM -0800, Andrew Lutomirski wrote:
> On Jan 15, 2015 8:43 AM, "Kirill A. Shutemov" <kirill@shutemov.name> wrote:
> >
> > On Tue, Jan 13, 2015 at 10:04:55AM -0800, Andrew Lutomirski wrote:
> > > On Tue, Jan 13, 2015 at 9:56 AM, Darren Hart <dvhart@infradead.org> wrote:
> > > > On Mon, Jan 12, 2015 at 02:12:44PM -0800, Andrew Lutomirski wrote:
> > > >> On Mon, Jan 12, 2015 at 12:30 PM, Kirill A. Shutemov
> > > >> <kirill@shutemov.name> wrote:
> > > >> > On Mon, Jan 12, 2015 at 12:05:45PM -0800, Andrew Lutomirski wrote:
> > > >> >> On Mon, Jan 12, 2015 at 12:03 PM, Kirill A. Shutemov
> > > >> >> <kirill@shutemov.name> wrote:
> > > >> >> > On Mon, Jan 12, 2015 at 10:42:11AM -0800, Andrew Lutomirski wrote:
> > > >> >> >> On Mon, Jan 12, 2015 at 10:38 AM, Darren Hart <dvhart@infradead.org> wrote:
> > > >> >> >> > On Mon, Jan 12, 2015 at 12:58:02AM +0200, Kirill A. Shutemov wrote:
> > > >> >> >> >> On Thu, Dec 18, 2014 at 09:51:27AM -0800, Darren Hart wrote:
> > > >> >> >> >> > thinkpad-acpi using software mute simplifies the driver and the user experience
> > > >> >> >> >> > significantly.
> > > >> >> >> >>
> > > >> >> >> >> Except when it doesn't.
> > > >> >> >> >>
> > > >> >> >> >> I'm probably in minority, but I don't use fancy userspace to mess with my
> > > >> >> >> >> mixer and the mute button worked just fine for me before the change.
> > > >> >> >> >> Wasted half an hour to find out what happened is not a pure win from user
> > > >> >> >> >> experience point of view.
> > > >> >> >> >>
> > > >> >> >> >> Is it really necessary to have software_mute_requested == true by default?
> > > >> >> >> >> Can fancy userspace ask for desired behaviour instead and change kernel to
> > > >> >> >> >> not send hotkeys change notification until software_mute is enabled?
> > > >> >> >> >>
> > > >> >> >> >> --
> > > >> >> >> >> Kirill A. Shutemov
> > > >> >> >> >>
> > > >> >> >> >
> > > >> >> >> > Thanks for the report Kirill,
> > > >> >> >> >
> > > >> >> >> > Andy, we're at RC4, so if we need to fix (or revert) this fix, we only have a
> > > >> >> >> > couple weeks to do so.
> > > >> >> >> >
> > > >> >> >> > Kirill, to define the scope of the problem, if you specify
> > > >> >> >> > software_mute_requested as false on the kernel command line, does your system
> > > >> >> >> > function as expected?
> > > >> >> >>
> > > >> >> >> If I understood Kirill's email correctly, the only issue is that he
> > > >> >> >> liked the old behavior. Kirill, is that correct?
> > > >> >> >
> > > >> >> > Yes. For now I use thinkpad_acpi.software_mute=0 to get old behaviour.
> > > >> >> >
> > > >> >>
> > > >> >> What aspect of the old behavior is better than the new default behavior?
> > > >> >
> > > >> > It's not necessary better. The new behavior just broke my use-case.
> > > >> >
> > > >> > I don't have anything in my system what would react on KEY_MUTE and I used
> > > >> > the functionality platform provides until it suddenly stopped working.
> > > >> >
> > > >> > I personally can live with new thinkpad_acpi. I'll probably update my
> > > >> > configuration to react on the software button.
> > > >> >
> > > >> > But who else will get frustrated after update to v3.19?
> > > >>
> > > >> Can you try the equivalent of:
> > > >>
> > > >> bindsym XF86AudioMute exec amixer -q set Master toggle
> > > >>
> > > >> for your desktop environment? Note that this is exactly what you'd do
> > > >> if you were using any laptop that wasn't a thinkpad.
> > > >
> > > > Unless we hear back from Kirill on why this isn't workable, I'm inclined to
> > > > leave this as is. Between the kernel module option and this keybinding,
> > > > equivalent behavior can be easily achieved, and the general use case is
> > > > significantly improved.
> > > >
> > > > The current gap appears to be the mute LED in the button itself, which can be
> > > > addressed moving forward.
> > >
> > > I should have clarified this better. The command:
> > >
> > > amixer -q set Master toggle
> > >
> > > should toggle the mute LED in sync with the master mixer on all
> > > ThinkPad models with a mute LED. This works on my X220, and Borislav
> > > confirmed off-list that it works on his X230. If there's a ThinkPad
> > > with a mute LED on which this doesn't work, then IMO it's a bug and
> > > should be fixed.
> >
> > Okay. Mute and mute led works. Any idea how to get mic mute led work?
> > What happend to your patch on the topic?
> >
> > http://permalink.gmane.org/gmane.linux.drivers.platform.x86.devel/1962
>
> It was addressed differently -- the mic mute works like the mute
> button as a result of:
>
> b317b032d2dc ALSA: hda - Split Thinkpad ACPI-related code
> b67ae3f1c97e ALSA: hda - Enable Thinkpad mute/micmute LEDs for Realtek
> 08cf680ccafd ALSA: hda - add connection to thinkpad_acpi to control
> mute/micmute LEDs
>
> On my X220, "amixer set Capture toggle" toggles the mute LED.
Oh. Thanks. I've tried with "Mic", not "Capture".
--
Kirill A. Shutemov
prev parent reply other threads:[~2015-01-15 17:08 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-18 17:51 [GIT PULL] platform-drivers-x86 for 3.19 Darren Hart
2015-01-11 22:58 ` Kirill A. Shutemov
2015-01-12 0:36 ` Andrew Lutomirski
2015-01-12 18:38 ` Darren Hart
2015-01-12 18:42 ` Andrew Lutomirski
2015-01-12 20:03 ` Kirill A. Shutemov
2015-01-12 20:05 ` Andrew Lutomirski
2015-01-12 20:26 ` Borislav Petkov
2015-01-12 20:31 ` Andrew Lutomirski
2015-01-12 20:30 ` Kirill A. Shutemov
2015-01-12 20:32 ` Andrew Lutomirski
2015-01-12 22:12 ` Andrew Lutomirski
2015-01-13 17:56 ` Darren Hart
2015-01-13 18:04 ` Andrew Lutomirski
2015-01-15 16:40 ` Kirill A. Shutemov
2015-01-15 17:00 ` Andrew Lutomirski
2015-01-15 17:07 ` Kirill A. Shutemov [this message]
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=20150115170731.GB21675@node.dhcp.inet.fi \
--to=kirill@shutemov.name \
--cc=dvhart@infradead.org \
--cc=hmh@hmh.eng.br \
--cc=linux-kernel@vger.kernel.org \
--cc=luto@mit.edu \
--cc=torvalds@linux-foundation.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 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.