diff options
author | Jerone Young <jerone.young@canonical.com> | 2010-03-24 20:14:23 -0500 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2010-03-28 14:26:19 +0200 |
commit | 233a922112408c7ed49bd72e73be228e231d46ba (patch) | |
tree | 8716590857ad038e96152f0a9aef0308fbec1662 /extras | |
parent | dbba7e4029e2eb8157232e6b5ddd9ee0f68b51b5 (diff) |
Fix Keymapping for upcoming Dell Laptops
This patch fixes it so that new upcoming Dell machines will work
correctly if users presses the touchpad toggle key.
Currently 0xD8 is being mapped to sleep. Though this is only done by the
Latitude XT* laptops. Many upcoming Laptops from Dell are mapping this
key to "toogle touchpad off" .. giving the OS notification that it has
just turned off the touchpad.
Though their is an issue in that if this key is mapped the hardware
first toogles .. then the software tries to do the samething after, if
they fall out of sync ... no more touchpad. So leave out mapping these
keys for now.
Signed-off-by: Jerone Young <jerone.young@canonical.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Diffstat (limited to 'extras')
-rw-r--r-- | extras/keymap/95-keymap.rules | 1 | ||||
-rw-r--r-- | extras/keymap/keymaps/dell | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/extras/keymap/95-keymap.rules b/extras/keymap/95-keymap.rules index dd58453a15..af39c21b0e 100644 --- a/extras/keymap/95-keymap.rules +++ b/extras/keymap/95-keymap.rules @@ -54,6 +54,7 @@ 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 5ff44d6b38..84e5b4e2de 100644 --- a/extras/keymap/keymaps/dell +++ b/extras/keymap/keymaps/dell @@ -23,5 +23,4 @@ 0x9B switchvideomode # Display Toggle button 0xA2 playpause # Front panel play/pause 0xA4 stopcd # Front panel stop -0xD8 screenlock # FIXME: Tablet lock button 0xED media # MediaDirect button |