summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2010-10-25 22:01:03 -0400
committerMartin Pitt <martin.pitt@ubuntu.com>2010-10-25 22:01:03 -0400
commit2f151e0fbf354261e3a7f68fd28a032ace6978f8 (patch)
treed9f37230a2bbd2c9f24842e0fa2f82f9610f1dae /extras
parentbe9c0d574004cc6aabf457a6e1e45adb71cb6aec (diff)
keymap: Add Sony Vaio VGN71
https://launchpad.net/bugs/625770
Diffstat (limited to 'extras')
-rw-r--r--extras/keymap/95-keymap.rules4
-rw-r--r--extras/keymap/keymaps/module-sony-vgn5
2 files changed, 9 insertions, 0 deletions
diff --git a/extras/keymap/95-keymap.rules b/extras/keymap/95-keymap.rules
index eda006e13e..c059ef0648 100644
--- a/extras/keymap/95-keymap.rules
+++ b/extras/keymap/95-keymap.rules
@@ -48,6 +48,10 @@ ENV{DMI_VENDOR}=="Sony*", KERNELS=="input*", ATTRS{name}=="Sony Vaio Keys", RUN+
# Older Vaios have some different keys
ENV{DMI_VENDOR}=="Sony*", ATTR{[dmi/id]product_name}=="*PCG-C1*|*PCG-K25*|*PCG-F1*|*PCG-F2*|*PCG-F3*|*PCG-F4*|*PCG-F5*|*PCG-F6*|*PCG-FX*|*PCG-FRV*|*PCG-GR*|*PCG-TR*|*PCG-NV*|*PCG-Z*|*VGN-S360*", ATTRS{name}=="Sony Vaio Keys", RUN+="keymap $name module-sony-old"
+# Some Sony VGN models have yet another one
+ENV{DMI_VENDOR}=="Sony*", ATTR{[dmi/id]product_name}=="VGN-AR71MR", ATTRS{name}=="Sony Vaio Keys", RUN+="keymap $name module-sony-vgn"
+
+
#
# The following rules belong to standard i8042 AT keyboard with high key codes.
#
diff --git a/extras/keymap/keymaps/module-sony-vgn b/extras/keymap/keymaps/module-sony-vgn
new file mode 100644
index 0000000000..d8a9443a7d
--- /dev/null
+++ b/extras/keymap/keymaps/module-sony-vgn
@@ -0,0 +1,5 @@
+0x00 brightnessdown # Fn+F5
+0x10 brightnessup # Fn+F6
+0x11 switchvideomode # Fn+F7
+0x12 zoom # Fn+F10
+0x15 suspend # Fn+F12