udev.rules.template 376 B

12345678
  1. # UDEV rules for razer devices
  2. #
  3. # We just send a rescan command to razerd.
  4. # It will pick up new devices and forward information to the applications.
  5. ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1532", RUN+="@CMAKE_INSTALL_PREFIX@/bin/razercfg -B -S1 -s"
  6. ACTION=="remove", SUBSYSTEM=="usb", ENV{PRODUCT}=="1532/*", RUN+="@CMAKE_INSTALL_PREFIX@/bin/razercfg -B -S1 -s"