[PATCH] Fix micmute remap for Lenovo Thinkpads

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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;h=33009557bd

This patch resolves the issue.

Signed-off-by: Jerone Young <jyoung@xxxxxxxxxx>

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

--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux