diff options
author | Michal Suchanek <msuchanek@suse.de> | 2017-06-12 13:43:05 +0200 |
---|---|---|
committer | Michal Suchanek <msuchanek@suse.de> | 2017-06-27 13:28:10 +0200 |
commit | 38887d1bd5eb037a532279b2b75d6a87ce381419 (patch) | |
tree | 37ae5788cabdae5f3e52be63e837920ed5f6caa6 /rules/60-evdev.rules | |
parent | 3ee4e61b11e825760afee92cfcfef95df854f18e (diff) | |
download | systemd-38887d1bd5eb037a532279b2b75d6a87ce381419.tar.gz systemd-38887d1bd5eb037a532279b2b75d6a87ce381419.tar.bz2 systemd-38887d1bd5eb037a532279b2b75d6a87ce381419.zip |
rules: move input_id rule to a separate file
This places the input_id call after the evdev hwdb calls. With this the
hwdb fixups in evdev can affect the device capabilities assigned in
input_id.
Remove the ID_INPUT_KEY dependency in atkbd rule because it is now not
assigned at this point.
Diffstat (limited to 'rules/60-evdev.rules')
-rw-r--r-- | rules/60-evdev.rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/60-evdev.rules b/rules/60-evdev.rules index f5d5ba6a5f..e5e608acd3 100644 --- a/rules/60-evdev.rules +++ b/rules/60-evdev.rules @@ -8,7 +8,7 @@ IMPORT{builtin}="hwdb --subsystem=input --lookup-prefix=evdev:", \ RUN{builtin}+="keyboard", GOTO="evdev_end" # AT keyboard matching by the machine's DMI data -ENV{ID_INPUT_KEY}=="?*", DRIVERS=="atkbd", \ +DRIVERS=="atkbd", \ IMPORT{builtin}="hwdb 'evdev:atkbd:$attr{[dmi/id]modalias}'", \ RUN{builtin}+="keyboard", GOTO="evdev_end" |