diff options
Diffstat (limited to 'rules')
-rw-r--r-- | rules/70-touchpad.rules | 12 | ||||
-rw-r--r-- | rules/Makefile.am | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/rules/70-touchpad.rules b/rules/70-touchpad.rules new file mode 100644 index 0000000000..88e6fd2f25 --- /dev/null +++ b/rules/70-touchpad.rules @@ -0,0 +1,12 @@ +# do not edit this file, it will be overwritten on update + +ACTION=="remove", GOTO="touchpad_end" +KERNEL!="event*", GOTO="touchpad_end" +ENV{ID_INPUT_TOUCHPAD}=="", GOTO="touchpad_end" + +# touchpad:pnpid:<pnpid>:* +KERNELS=="serio1", \ + IMPORT{builtin}="hwdb 'touchpad:pnpid:$attr{firmware_id}:'", \ + GOTO="touchpad_end" + +LABEL="touchpad_end" diff --git a/rules/Makefile.am b/rules/Makefile.am index dfbda04684..1fae8b56ec 100644 --- a/rules/Makefile.am +++ b/rules/Makefile.am @@ -13,6 +13,7 @@ dist_udevrules_DATA = \ 61-accelerometer.rules \ 64-btrfs.rules \ 70-mouse.rules \ + 70-touchpad.rules \ 75-net-description.rules \ 75-probe_mtd.rules \ 75-tty-description.rules \ |