udev: String substitutions can be done in ENV, too
[systemd_ALT.git] / rules.d / 70-touchpad.rules
blob7bede02dec3849d77ceb4268ba1a415e0b09cd46
1 # do not edit this file, it will be overwritten on update
3 ACTION=="remove", GOTO="touchpad_end"
4 ENV{ID_INPUT}=="", GOTO="touchpad_end"
5 ENV{ID_INPUT_TOUCHPAD}=="", GOTO="touchpad_end"
6 KERNEL!="event*", GOTO="touchpad_end"
8 # touchpad:<subsystem>:v<vid>p<pid>:name:<name>:*
9 KERNELS=="input*", ENV{ID_BUS}!="", \
10         IMPORT{builtin}="hwdb 'touchpad:$env{ID_BUS}:v$attr{id/vendor}p$attr{id/product}:name:$attr{name}:'", \
11         GOTO="touchpad_end"
13 LABEL="touchpad_end"