X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=rules%2F60-keyboard.rules;h=fe616917da8569baad1412cc70e9d4f7ec1d6750;hb=9a2e1571c0d535ee784cd0401f1086d790c7650b;hp=fcb948ac028d69cc25e4724e148eee5696c38c5c;hpb=9a3d3aace311e85627115d89e4dfe1d71c01b7e3;p=elogind.git diff --git a/rules/60-keyboard.rules b/rules/60-keyboard.rules index fcb948ac0..fe616917d 100644 --- a/rules/60-keyboard.rules +++ b/rules/60-keyboard.rules @@ -13,7 +13,7 @@ DRIVERS=="atkbd", IMPORT{builtin}="hwdb 'keyboard:atkbd:$attr{[dmi/id]modalias}' RUN{builtin}+="keyboard", GOTO="keyboard_end" # device matching the input device name and the machine's DMI data -IMPORT{builtin}="hwdb 'keyboard:name:$attr{name}:$attr{[dmi/id]modalias}'", \ +KERNELS=="input*", IMPORT{builtin}="hwdb 'keyboard:name:$attr{name}:$attr{[dmi/id]modalias}'", \ RUN{builtin}+="keyboard", GOTO="keyboard_end" LABEL="keyboard_end"