Commit b15bb801 authored by Jerone Young's avatar Jerone Young Committed by Martin Pitt
Browse files

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: default avatarJerone Young <jerone.young@canonical.com>
Signed-off-by: default avatarMartin Pitt <martin.pitt@ubuntu.com>
parent 4c514e31
......@@ -541,7 +541,8 @@ dist_udevkeymap_DATA = \
udevkeymapforcereldir = $(libexecdir)/keymaps/force-release
dist_udevkeymapforcerel_DATA = \
extras/keymap/force-release-maps/samsung-other
extras/keymap/force-release-maps/samsung-other \
extras/keymap/force-release-maps/dell-studio-1557
extras/keymap/keys.txt: $(INCLUDE_PREFIX)/linux/input.h
mkdir -p extras/keymap
......
......@@ -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"
0xa0 #mute
0xae #volume up
0xb0 #volume down
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment