Add support for Eject hotkey in dell-wmi

From: Mario Limonciello
Date: Mon Apr 20 2009 - 14:21:45 EST


Hi:

I've gotten word that future Dell consumer laptops are transitioning
several hotkeys to WMI instead. Here's a patch to enable the first to
enable the Eject hotkey. I'm attaching it since my mail server
(exchange) would mangle it otherwise.

Thanks,
--
Mario Limonciello
*Dell | Linux Engineering*
mario_limonciello@xxxxxxxx
--- a/drivers/platform/x86/dell-wmi.c~ 2009-04-20 07:41:12.000000000 -0500
+++ b/drivers/platform/x86/dell-wmi.c 2009-04-20 07:42:04.000000000 -0500
@@ -50,6 +50,7 @@

static struct key_entry dell_wmi_keymap[] = {
{KE_KEY, 0xe045, KEY_PROG1},
+ {KE_KEY, 0xe009, KEY_EJECTCD},
{KE_END, 0}
};

Attachment: signature.asc
Description: OpenPGP digital signature