]>
Commit | Line | Data |
---|---|---|
51c0c286 PH |
1 | # do not edit this file, it will be overwritten on update |
2 | ||
3 | ACTION=="remove", GOTO="evdev_end" | |
4 | KERNEL!="event*", GOTO="evdev_end" | |
5 | ||
6 | # skip later rules when we find something for this input device | |
7 | IMPORT{builtin}="hwdb --subsystem=input --lookup-prefix=evdev:", \ | |
8 | RUN{builtin}+="keyboard", GOTO="evdev_end" | |
9 | ||
10 | # AT keyboard matching by the machine's DMI data | |
11 | ENV{ID_INPUT_KEY}=="?*", DRIVERS=="atkbd", \ | |
12 | IMPORT{builtin}="hwdb 'evdev:atkbd:$attr{[dmi/id]modalias}'", \ | |
c7e3c3ec | 13 | RUN{builtin}+="keyboard", GOTO="evdev_end" |
51c0c286 | 14 | |
57bb707d HG |
15 | # device matching the input device name + properties + the machine's DMI data |
16 | KERNELS=="input*", IMPORT{builtin}="hwdb 'evdev:name:$attr{name}:phys:$attr{phys}:ev:$attr{capabilities/ev}:$attr{[dmi/id]modalias}'", \ | |
17 | RUN{builtin}+="keyboard", GOTO="evdev_end" | |
18 | ||
51c0c286 PH |
19 | # device matching the input device name and the machine's DMI data |
20 | KERNELS=="input*", IMPORT{builtin}="hwdb 'evdev:name:$attr{name}:$attr{[dmi/id]modalias}'", \ | |
21 | RUN{builtin}+="keyboard", GOTO="evdev_end" | |
22 | ||
23 | LABEL="evdev_end" |