From: Martin Pitt Date: Wed, 28 Mar 2012 09:44:19 +0000 (+0200) Subject: keymap: Add Dell XPS force-release quirk X-Git-Tag: v183~330 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84f4fc4215bb6ddaa0b640e731242dd8517a3a79;p=systemd keymap: Add Dell XPS force-release quirk https://launchpad.net/bugs/910911 --- diff --git a/Makefile.am b/Makefile.am index ebbee042..d0c82812 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1873,6 +1873,7 @@ dist_udevkeymap_DATA = \ udevkeymapforcereldir = $(libexecdir)/udev/keymaps/force-release dist_udevkeymapforcerel_DATA = \ src/udev/keymap/force-release-maps/dell-touchpad \ + src/udev/keymap/force-release-maps/dell-xps \ src/udev/keymap/force-release-maps/hp-other \ src/udev/keymap/force-release-maps/samsung-other \ src/udev/keymap/force-release-maps/samsung-90x3a \ diff --git a/src/udev/keymap/95-keyboard-force-release.rules b/src/udev/keymap/95-keyboard-force-release.rules index 03d56e8a..fd0dabf6 100644 --- a/src/udev/keymap/95-keyboard-force-release.rules +++ b/src/udev/keymap/95-keyboard-force-release.rules @@ -23,6 +23,7 @@ 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|Studio 1558", RUN+="keyboard-force-release.sh $devpath common-volume-keys" ENV{DMI_VENDOR}=="Dell Inc.", ATTR{[dmi/id]product_name}=="Latitude E*|Precision M*", RUN+="keyboard-force-release.sh $devpath dell-touchpad" +ENV{DMI_VENDOR}=="Dell Inc.", ATTR{[dmi/id]product_name}=="XPS*", RUN+="keyboard-force-release.sh $devpath dell-xps" ENV{DMI_VENDOR}=="FUJITSU SIEMENS", ATTR{[dmi/id]product_name}=="AMILO Si 1848+u|AMILO Xi 2428", RUN+="keyboard-force-release.sh $devpath common-volume-keys" diff --git a/src/udev/keymap/force-release-maps/dell-xps b/src/udev/keymap/force-release-maps/dell-xps new file mode 100644 index 00000000..69f7899a --- /dev/null +++ b/src/udev/keymap/force-release-maps/dell-xps @@ -0,0 +1 @@ +0x8C