51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer# do not edit this file, it will be overwritten on update
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer
51c0c2869845a058268d54c3111d55d0dd485704Peter HuttererACTION=="remove", GOTO="evdev_end"
51c0c2869845a058268d54c3111d55d0dd485704Peter HuttererKERNEL!="event*", GOTO="evdev_end"
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer# skip later rules when we find something for this input device
51c0c2869845a058268d54c3111d55d0dd485704Peter HuttererIMPORT{builtin}="hwdb --subsystem=input --lookup-prefix=evdev:", \
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer RUN{builtin}+="keyboard", GOTO="evdev_end"
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer# AT keyboard matching by the machine's DMI data
51c0c2869845a058268d54c3111d55d0dd485704Peter HuttererENV{ID_INPUT_KEY}=="?*", DRIVERS=="atkbd", \
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer IMPORT{builtin}="hwdb 'evdev:atkbd:$attr{[dmi/id]modalias}'", \
c7e3c3ecac63e772dab4f767b18b7574c496e56cZbigniew Jędrzejewski-Szmek RUN{builtin}+="keyboard", GOTO="evdev_end"
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer# device matching the input device name and the machine's DMI data
51c0c2869845a058268d54c3111d55d0dd485704Peter HuttererKERNELS=="input*", IMPORT{builtin}="hwdb 'evdev:name:$attr{name}:$attr{[dmi/id]modalias}'", \
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer RUN{builtin}+="keyboard", GOTO="evdev_end"
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer
51c0c2869845a058268d54c3111d55d0dd485704Peter HuttererLABEL="evdev_end"