udev.rules.template
raw| 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 | |
| 6 | ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1532", RUN+="@CMAKE_INSTALL_PREFIX@/bin/razercfg -B -S1 -s" |
| 7 | ACTION=="remove", SUBSYSTEM=="usb", ENV{PRODUCT}=="1532/*", RUN+="@CMAKE_INSTALL_PREFIX@/bin/razercfg -B -S1 -s" |