chiark / gitweb /
keymap: Add Fujitsu Amilo 1848+u force-release quirk
authorAndy Whitcroft <apw@canonical.com>
Tue, 2 Mar 2010 13:00:32 +0000 (14:00 +0100)
committerMartin Pitt <martin.pitt@ubuntu.com>
Tue, 2 Mar 2010 13:00:32 +0000 (14:00 +0100)
The Fujitsu Amilo Si 1848+u laptop requires the volume and mute keys
quirking.

https://launchpad.net/bugs/530089

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Makefile.am
extras/keymap/95-keyboard-force-release.rules
extras/keymap/force-release-maps/fujitsu-amilo-si1848 [new file with mode: 0644]

index 3780f50..471c5dd 100644 (file)
@@ -543,6 +543,7 @@ dist_udevkeymap_DATA = \
 udevkeymapforcereldir = $(libexecdir)/keymaps/force-release
 dist_udevkeymapforcerel_DATA = \
        extras/keymap/force-release-maps/samsung-other \
+       extras/keymap/force-release-maps/fujitsu-amilo-si1848 \
        extras/keymap/force-release-maps/dell-studio-1557
 
 extras/keymap/keys.txt: $(INCLUDE_PREFIX)/linux/input.h
index 48b896d..28639a5 100644 (file)
@@ -23,4 +23,6 @@ ENV{DMI_VENDOR}=="[sS][aA][mM][sS][uU][nN][gG]*", ATTR{[dmi/id]product_name}=="*
 
 ENV{DMI_VENDOR}=="Dell Inc.", ATTR{[dmi/id]product_name}=="Studio 1557", RUN+="keyboard-force-release.sh $devpath dell-studio-1557"
 
+ENV{DMI_VENDOR}=="FUJITSU SIEMENS", ATTR{[dmi/id]product_name}=="AMILO Si 1848+u", RUN+="keyboard-force-release.sh $devpath fujitsu-amilo-si1848"
+
 LABEL="force_release_end"
diff --git a/extras/keymap/force-release-maps/fujitsu-amilo-si1848 b/extras/keymap/force-release-maps/fujitsu-amilo-si1848
new file mode 100644 (file)
index 0000000..1718673
--- /dev/null
@@ -0,0 +1,3 @@
+0xa0 #mute
+0xae #volume up
+0xb0 #volume down