diff --git a/doc/user/device-configuration-via-udev.rst b/doc/user/device-configuration-via-udev.rst index e6848b64..56bca24f 100644 --- a/doc/user/device-configuration-via-udev.rst +++ b/doc/user/device-configuration-via-udev.rst @@ -71,7 +71,7 @@ Below is an example udev rule to assign "seat1" to a device from vendor ``0x012a`` with the model ID of ``0x034b``. :: $ cat /etc/udev/rules.d/99-my-device-is-on-seat1.rules - ACTION=="add|change", KERNEL=="event[0-9]*", \ + ACTION!="remove", KERNEL=="event[0-9]*", \ ENV{ID_VENDOR_ID}=="012a", \ ENV{ID_MODEL_ID}=="034b", \ ENV{ID_SEAT}="seat1" @@ -102,7 +102,7 @@ and change it into an **ID_INPUT_TABLET** setting. This rule would apply for a device with the vendor/model ID of ``012a``/``034b``. :: $ cat /etc/udev/rules.d/99-my-device-is-a-tablet.rules - ACTION=="add|change", KERNEL=="event[0-9]*", \ + ACTION!="remove", KERNEL=="event[0-9]*", \ ENV{ID_VENDOR_ID}=="012a", \ ENV{ID_MODEL_ID}=="034b", \ ENV{ID_INPUT_TOUCHPAD}="", ENV{ID_INPUT_TABLET}="1"