diff options
author | Jerone Young <jerone.young@canonical.com> | 2010-02-12 18:08:08 -0600 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2010-02-13 12:53:12 +0100 |
commit | b15bb8019094797aee65f35e3e654354b61bfd7b (patch) | |
tree | b33f373f0de9aabb4e45825438387e2013c8a182 /extras | |
parent | 4c514e31734a704ca58e543fa4330616ba584b39 (diff) |
Force key release for volume keys on Dell Studio 1557
Dell Studio 1557 does not generate a release code when the volume keys
are pressed, causing them to generate infinite key presses. This forces
key release of these keys.
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-keyboard-force-release.rules | 2 | ||||
-rwxr-xr-x | extras/keymap/force-release-maps/dell-studio-1557 | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/extras/keymap/95-keyboard-force-release.rules b/extras/keymap/95-keyboard-force-release.rules index 689afe92fe..659ee9585a 100644 --- a/extras/keymap/95-keyboard-force-release.rules +++ b/extras/keymap/95-keyboard-force-release.rules @@ -21,4 +21,6 @@ ENV{DMI_VENDOR}="$attr{[dmi/id]sys_vendor}" ENV{DMI_VENDOR}=="[sS][aA][mM][sS][uU][nN][gG]*", ATTR{[dmi/id]product_name}=="*N130*|*N140*|*SR70S/SR71S*", RUN+="keyboard-force-release.sh $devpath samsung-other" +ENV{DMI_VENDOR}=="Dell Inc.", ATTR{[dmi/id]product_name}=="Studio 1557", RUN+="keyboard-force-release.sh $devpath dell-studio-1557" + LABEL="force_release_end" diff --git a/extras/keymap/force-release-maps/dell-studio-1557 b/extras/keymap/force-release-maps/dell-studio-1557 new file mode 100755 index 0000000000..171867316d --- /dev/null +++ b/extras/keymap/force-release-maps/dell-studio-1557 @@ -0,0 +1,3 @@ +0xa0 #mute +0xae #volume up +0xb0 #volume down |