lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200904082116.n38LG4Df012420@ampersand.seas.upenn.edu>
Date:	Wed, 08 Apr 2009 17:16:04 -0400
From:	Rafi Rubin <rafi@...s.upenn.edu>
To:	Matthew Garrett <mjg@...hat.com>, mjg59@...f.ucam.org,
	Len Brown <len.brown@...el.com>
Cc:	Rafi Rubin <rafi@...s.upenn.edu>, linux-kernel@...r.kernel.org
Subject: [PATCH] Additional keys for dell-wmi

Added key codes generated by screen rotation on the Latitude XT.  0xe046 is sent when changing to tablet mode, and 0xe047 when it returns to desktop mode.

Signed-off-by: Rafi Rubin <rafi@...s.upenn.edu>
---
 drivers/platform/x86/dell-wmi.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-wmi.c
index 2fab941..b76ef49 100644
--- a/drivers/platform/x86/dell-wmi.c
+++ b/drivers/platform/x86/dell-wmi.c
@@ -50,6 +50,8 @@ enum { KE_KEY, KE_SW, KE_END };
 
 static struct key_entry dell_wmi_keymap[] = {
 	{KE_KEY, 0xe045, KEY_PROG1},
+	{KE_KEY, 0xe046, KEY_PROG2},
+	{KE_KEY, 0xe047, KEY_PROG3},
 	{KE_END, 0}
 };
 
-- 
1.6.2.1

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ