2013-07-25 01:00:06 +07:00
|
|
|
# do not edit this file, it will be overwritten on update
|
|
|
|
|
2014-08-05 21:09:47 +07:00
|
|
|
ACTION=="remove", GOTO="keyboard_end"
|
2013-07-25 01:00:06 +07:00
|
|
|
KERNEL!="event*", GOTO="keyboard_end"
|
|
|
|
ENV{ID_INPUT_KEY}=="", GOTO="keyboard_end"
|
|
|
|
|
2015-03-19 03:15:27 +07:00
|
|
|
# skip later rules when we find something for this input device
|
|
|
|
IMPORT{builtin}="hwdb --subsystem=input --lookup-prefix=keyboard:", \
|
2013-07-25 01:00:06 +07:00
|
|
|
RUN{builtin}+="keyboard", GOTO="keyboard_end"
|
|
|
|
|
2015-03-19 03:15:27 +07:00
|
|
|
# AT keyboard matching by the machine's DMI data
|
2015-03-17 00:43:14 +07:00
|
|
|
DRIVERS=="atkbd", IMPORT{builtin}="hwdb 'keyboard:atkbd:$attr{[dmi/id]modalias}'", \
|
2013-07-25 01:00:06 +07:00
|
|
|
RUN{builtin}+="keyboard", GOTO="keyboard_end"
|
|
|
|
|
2015-03-19 03:15:27 +07:00
|
|
|
# device matching the input device name and the machine's DMI data
|
2015-03-16 18:05:36 +07:00
|
|
|
IMPORT{builtin}="hwdb 'keyboard:name:$attr{name}:$attr{[dmi/id]modalias}'", \
|
2013-07-25 01:00:06 +07:00
|
|
|
RUN{builtin}+="keyboard", GOTO="keyboard_end"
|
|
|
|
|
|
|
|
LABEL="keyboard_end"
|