linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [2/2] Revert special casing 0xD8 to latitude XT only
@ 2010-04-05 23:45 Jerone Young
  2010-04-06  7:58 ` Martin Pitt
  0 siblings, 1 reply; 2+ messages in thread
From: Jerone Young @ 2010-04-05 23:45 UTC (permalink / raw)
  To: linux-hotplug

Now that Dell has changed the functionality of upcoming machines with
touchpad toggle to only use keycode 0xD9 .. and not 0xD8 & 0xD9. It
seems best to add this back to the general map of Dell buttons. Just
incase a machine in the future uses this later.

Signed-off-by: Jerone Young <jerone.young@canonical.com>

diff --git a/extras/keymap/95-keymap.rules b/extras/keymap/95-keymap.rules
index af39c21..dd58453 100644
--- a/extras/keymap/95-keymap.rules
+++ b/extras/keymap/95-keymap.rules
@@ -54,7 +54,6 @@ LABEL="keyboard_vendorcheck"
 
 ENV{DMI_VENDOR}="Dell*", RUN+="keymap $name dell"
 ENV{DMI_VENDOR}="Dell*", ATTR{[dmi/id]product_name}="Inspiron 1011", RUN+="keymap $name 0x84 wlan"
-ENV{DMI_VENDOR}="Dell*", ATTR{[dmi/id]product_name}="Latitude XT*", RUN+="keymap $name 0xD8 screenlock"
 
 ENV{DMI_VENDOR}="Compaq*", ATTR{[dmi/id]product_name}="*E500*|*Evo N*", RUN+="keymap $name compaq-e_evo"
 
diff --git a/extras/keymap/keymaps/dell b/extras/keymap/keymaps/dell
index f90a4fd..6443b4b 100644
--- a/extras/keymap/keymaps/dell
+++ b/extras/keymap/keymaps/dell
@@ -24,4 +24,5 @@
 0xA2 playpause # Front panel play/pause
 0xA4 stopcd # Front panel stop
 0xED media # MediaDirect button
+0xD8 screenlock # FIXME: Tablet lock button
 0xD9 f22 # touchpad toggle



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] [2/2] Revert special casing 0xD8 to latitude XT only
  2010-04-05 23:45 [PATCH] [2/2] Revert special casing 0xD8 to latitude XT only Jerone Young
@ 2010-04-06  7:58 ` Martin Pitt
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Pitt @ 2010-04-06  7:58 UTC (permalink / raw)
  To: linux-hotplug

Hello Jerone,

Jerone Young [2010-04-05 18:45 -0500]:
> Now that Dell has changed the functionality of upcoming machines with
> touchpad toggle to only use keycode 0xD9 .. and not 0xD8 & 0xD9. It
> seems best to add this back to the general map of Dell buttons. Just
> incase a machine in the future uses this later.

Thanks, pushed.

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-06  7:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-05 23:45 [PATCH] [2/2] Revert special casing 0xD8 to latitude XT only Jerone Young
2010-04-06  7:58 ` Martin Pitt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).