summaryrefslogtreecommitdiff
path: root/rules/95-keymap.rules
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-11-20 14:44:47 -0500
committerAnthony G. Basile <blueness@gentoo.org>2012-11-20 14:44:47 -0500
commitbcc69ef934c9d14732e16551032242fa599b44e7 (patch)
treeacc183e5e4ba09ab8893a432514b9fc5a1d78736 /rules/95-keymap.rules
parent802d021d2e403862f4692ee67956e7e0160c1879 (diff)
Reintroduce keymaps build and test
This commit reintroduces code to 1) build src/keymap 2) test keymap/Makefile.am that it has all the key maps listed 3) test that all the key names in keymap/* are in <linux/input.h> 4) do a syntax check on rules/*.rules which now includes 95-keymap.rules and 95-keyboard-force-release.rules For #4, the regex expressions in rule-syntax-check.py had to be updated. They do not allow trailing comments via # comment, and I did not include that. A rule in 95-keymap.rules had to have its comment moved from the end to another line. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'rules/95-keymap.rules')
-rw-r--r--rules/95-keymap.rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules/95-keymap.rules b/rules/95-keymap.rules
index 506310ef70..0ae8522657 100644
--- a/rules/95-keymap.rules
+++ b/rules/95-keymap.rules
@@ -99,7 +99,8 @@ ENV{DMI_VENDOR}=="Hewlett-Packard", ATTR{[dmi/id]product_name}=="HP G62 Notebook
ENV{DMI_VENDOR}=="Hewlett-Packard", ATTR{[dmi/id]product_name}=="HP ProBook*", RUN+="keymap $name 0xF8 rfkill"
ENV{DMI_VENDOR}=="Hewlett-Packard", ATTR{[dmi/id]product_name}=="HP EliteBook 8440p", RUN+="keymap $name hewlett-packard_elitebook-8440p"
# HP Pavillion dv6315ea has empty DMI_VENDOR
-ATTR{[dmi/id]board_vendor}=="Quanta", ATTR{[dmi/id]board_name}=="30B7", ATTR{[dmi/id]board_version}=="65.2B", RUN+="keymap $name 0x88 media" # "quick play
+# quick play
+ATTR{[dmi/id]board_vendor}=="Quanta", ATTR{[dmi/id]board_name}=="30B7", ATTR{[dmi/id]board_version}=="65.2B", RUN+="keymap $name 0x88 media"
# Gateway clone of Acer Aspire One AOA110/AOA150
ENV{DMI_VENDOR}=="Gateway*", ATTR{[dmi/id]product_name}=="*AOA1*", RUN+="keymap $name acer"