Skip to contentSkip to conversation

Fix micmute remap for Lenovo Thinkpads

PATCH Applied Jerone Young 2 participants 2 messages Oct 25, 2011 – Oct 26, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix micmute remap for Lenovo Thinkpads

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.

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

Hello Jerone,

Jerone Young [2011-10-25 0:22 -0500]:

Quoted 5 lines

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

Thanks, applied. This will cause "make distcheck" to fail on older kernels, though, as KEY_MICMUTE does not exist there yet. But that shouldn't hurt too much, I think.

Martin

Signature · 2 lines
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)