linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jerone Young <jyoung@redhat.com>
To: linux-hotplug@vger.kernel.org
Subject: [PATCH] Fix micmute remap for Lenovo Thinkpads
Date: Tue, 25 Oct 2011 05:22:30 +0000	[thread overview]
Message-ID: <1319520150.9818.8.camel@Thinkpad-420s> (raw)

Micmute keypress coming from Thinkpads via thinkpad-acpi are being
remapped to prog2 via udev. 

Linux Kernel 3.1 now has proper support for a mic mute button:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h3009557bd

This patch resolves the issue.

Signed-off-by: Jerone Young <jyoung@redhat.com>

diff --git a/extras/keymap/keymaps/module-lenovo b/extras/keymap/keymaps/module-lenovo
index 81b8fea..8e38883 100644
--- a/extras/keymap/keymaps/module-lenovo
+++ b/extras/keymap/keymaps/module-lenovo
@@ -14,4 +14,4 @@
 0x15 volumedown
 0x16 mute
 0x17 prog1 # ThinkPad/ThinkVantage button (high keycode: "vendor")
-0x1A prog2 # Microphone mute
+0x1A micmute # Microphone mute


             reply	other threads:[~2011-10-25  5:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-25  5:22 Jerone Young [this message]
2011-10-26  5:40 ` [PATCH] Fix micmute remap for Lenovo Thinkpads Martin Pitt

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=1319520150.9818.8.camel@Thinkpad-420s \
    --to=jyoung@redhat.com \
    --cc=linux-hotplug@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;
as well as URLs for NNTP newsgroup(s).