diff options
Diffstat (limited to 'source/l/hal-info/patches')
-rw-r--r-- | source/l/hal-info/patches/quirk-LG_X110-keyboard.patch | 46 | ||||
-rw-r--r-- | source/l/hal-info/patches/quirk-acer_aspire_hotkey.patch | 25 |
2 files changed, 71 insertions, 0 deletions
diff --git a/source/l/hal-info/patches/quirk-LG_X110-keyboard.patch b/source/l/hal-info/patches/quirk-LG_X110-keyboard.patch new file mode 100644 index 00000000..330b8699 --- /dev/null +++ b/source/l/hal-info/patches/quirk-LG_X110-keyboard.patch @@ -0,0 +1,46 @@ +commit 1a3c7c28d028c0952404d6d45b58138849c09ff1 +Author: Ozan Çağlayan <ozan@pardus.org.tr> +Date: Wed Dec 23 10:13:26 2009 +0200 + + Add keymap quirks for LG X110 + + The patch adds keyboard quirks for LG X110 (An MSI Wind clone) which has + the following DMI informations: + + system.hardware.primary_video.product = 10158 (0x27ae) (int) + system.hardware.primary_video.vendor = 32902 (0x8086) (int) + system.hardware.product = 'X110-L.A7M3F3' (string) + system.hardware.serial = '812MSVJ025279' (string) + system.hardware.uuid = '00000000-0000-0000-0000-002185569235' (string) + system.hardware.vendor = 'LG Electronics' (string) + system.hardware.version = 'Ver.001' (string) + + Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com> + +diff --git a/fdi/information/10freedesktop/30-keymap-misc.fdi b/fdi/information/10freedesktop/30-keymap-misc.fdi +index c4e527e..39d71ed 100644 +--- a/fdi/information/10freedesktop/30-keymap-misc.fdi ++++ b/fdi/information/10freedesktop/30-keymap-misc.fdi +@@ -103,6 +103,22 @@ + </match> + </match> + ++ <match key="/org/freedesktop/Hal/devices/computer:system.hardware.vendor" prefix="LG"> ++ <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains="X110"> ++ <append key="input.keymap.data" type="strlist">e020:mute</append> <!-- Fn-F9 Sound On/Off --> ++ <append key="input.keymap.data" type="strlist">e02e:volumedown</append> <!-- Fn-Left Volume down --> ++ <append key="input.keymap.data" type="strlist">e02f:search</append> <!-- Fn-F3 Search --> ++ <append key="input.keymap.data" type="strlist">e030:volumeup</append> <!-- Fn-Right Volume up --> ++ <append key="input.keymap.data" type="strlist">e031:battery</append> <!-- Fn-F10 Info --> ++ <append key="input.keymap.data" type="strlist">e033:suspend</append> <!-- Fn-F12 Hibernate --> ++ <append key="input.keymap.data" type="strlist">e05f:sleep</append> <!-- Fn-F4 Sleep --> ++ <append key="input.keymap.data" type="strlist">e064:f22</append> <!-- Fn-F5 Touchpad disable --> ++ <append key="input.keymap.data" type="strlist">e076:wlan</append> <!-- Fn-F6 satellite dish1 --> ++ <append key="input.keymap.data" type="strlist">e077:brightnessdown</append> <!-- Fn-Down Brightness down --> ++ <append key="input.keymap.data" type="strlist">e078:brightnessup</append> <!-- Fn-Up Brightness up --> ++ </match> ++ </match> ++ + <match key="/org/freedesktop/Hal/devices/computer:system.hardware.vendor" string="MEDIONNB"> + <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" prefix="A555"> + <append key="input.keymap.data" type="strlist">63:www</append> <!-- N button --> diff --git a/source/l/hal-info/patches/quirk-acer_aspire_hotkey.patch b/source/l/hal-info/patches/quirk-acer_aspire_hotkey.patch new file mode 100644 index 00000000..390fc7fe --- /dev/null +++ b/source/l/hal-info/patches/quirk-acer_aspire_hotkey.patch @@ -0,0 +1,25 @@ +commit 16e1c1921e089a4b53940b6b265fc72446d28254 +Author: Keng-Yu Lin <keng-yu.lin@canonical.com> +Date: Wed Sep 16 15:08:05 2009 +0800 + + Add hotkey quirk for Acer Aspire One (AO531h/AO751h) + + To prevent the brightness adjustment OSD from showing when disabling the bluetooth. + + Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com> + +diff --git a/fdi/information/10freedesktop/30-keymap-acer.fdi b/fdi/information/10freedesktop/30-keymap-acer.fdi +index a2cf8d8..4511bff 100644 +--- a/fdi/information/10freedesktop/30-keymap-acer.fdi ++++ b/fdi/information/10freedesktop/30-keymap-acer.fdi +@@ -61,6 +61,10 @@ + <append key="input.keymap.data" type="strlist">e012:prog2</append> + <append key="input.keymap.data" type="strlist">e059:bluetooth</append> <!-- Bluetooth (toggle) on-to-off --> + </match> ++ <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains_outof="AO751h;AO531h"> ++ <remove key="input.keymap.data" type="strlist">e059:brightnessup</remove> ++ <append key="input.keymap.data" type="strlist">e059:bluetooth</append> <!-- Bluetooth (toggle) on-to-off --> ++ </match> + </match> + </match> + </device> |