aboutsummaryrefslogtreecommitdiffstats
path: root/udev.rules.template
blob: 5fcbf906a7001ee029602c9035bdb074dc6fe0bd (plain)
1
2
3
4
5
6
7
# UDEV rules for razer devices
#
# We just send a rescan command to razerd.
# It will pick up new devices and forward information to the applications.

ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="1532", RUN+="@CMAKE_INSTALL_PREFIX@/bin/razercfg -B -S1 -s"
ACTION=="remove", SUBSYSTEM=="usb", ENV{PRODUCT}=="1532/*", RUN+="@CMAKE_INSTALL_PREFIX@/bin/razercfg -B -S1 -s"
bues.ch cgit interface