[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1340162788-531-1-git-send-email-alex.hung@canonical.com>
Date: Wed, 20 Jun 2012 11:26:28 +0800
From: Alex Hung <alex.hung@...onical.com>
To: alex.hung@...onical.com, corentincj@...aif.net, mjg@...hat.com,
acpi4asus-user@...ts.sourceforge.net,
platform-driver-x86@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] eeepc-wmi: change wireless key event to toggle all wireless devices.
The original key event from Fn+F2 hotkey only toggles the state of wireless
LAN and leaves other wireless devices such as bluetooth uncontrolled. This
fix change Fn+F2 to generate an event to toggle all wireless devices.
Signed-off-by: Alex Hung <alex.hung@...onical.com>
---
drivers/platform/x86/eeepc-wmi.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c
index 5568c43..ef361fc 100644
--- a/drivers/platform/x86/eeepc-wmi.c
+++ b/drivers/platform/x86/eeepc-wmi.c
@@ -68,7 +68,7 @@ static const struct key_entry eeepc_wmi_keymap[] = {
{ KE_KEY, 0x31, { KEY_VOLUMEDOWN } },
{ KE_KEY, 0x32, { KEY_MUTE } },
{ KE_KEY, 0x5c, { KEY_F15 } }, /* Power Gear key */
- { KE_KEY, 0x5d, { KEY_WLAN } },
+ { KE_KEY, 0x5d, { KEY_RFKILL } },
{ KE_KEY, 0x6b, { KEY_TOUCHPAD_TOGGLE } }, /* Toggle Touchpad */
{ KE_KEY, 0x82, { KEY_CAMERA } },
{ KE_KEY, 0x83, { KEY_CAMERA_ZOOMIN } },
--
1.7.0.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists