From 81956ed1dcdaf02f8d0fc114421e264d5589fe39 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Mon, 25 Oct 2010 22:11:37 -0400 Subject: [PATCH] keymap: Add some more Sony Vaio VGN-* models https://launchpad.net/bugs/627890 --- extras/keymap/95-keymap.rules | 2 +- extras/keymap/keymaps/module-sony-vgn | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/extras/keymap/95-keymap.rules b/extras/keymap/95-keymap.rules index c059ef06..053838d8 100644 --- a/extras/keymap/95-keymap.rules +++ b/extras/keymap/95-keymap.rules @@ -49,7 +49,7 @@ ENV{DMI_VENDOR}=="Sony*", KERNELS=="input*", ATTRS{name}=="Sony Vaio Keys", RUN+ 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" +ENV{DMI_VENDOR}=="Sony*", ATTR{[dmi/id]product_name}=="VGN-AR71*|VGN-FW*|VGN-Z21*", ATTRS{name}=="Sony Vaio Keys", RUN+="keymap $name module-sony-vgn" # diff --git a/extras/keymap/keymaps/module-sony-vgn b/extras/keymap/keymaps/module-sony-vgn index d8a9443a..c8ba0015 100644 --- a/extras/keymap/keymaps/module-sony-vgn +++ b/extras/keymap/keymaps/module-sony-vgn @@ -1,5 +1,8 @@ 0x00 brightnessdown # Fn+F5 0x10 brightnessup # Fn+F6 0x11 switchvideomode # Fn+F7 -0x12 zoom # Fn+F10 +0x12 zoomout +0x14 zoomin 0x15 suspend # Fn+F12 +0x17 prog1 +0x20 media -- 2.39.5