File: udev.rules.template

package info (click to toggle)
razercfg 0.43-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 860 kB
  • sloc: ansic: 12,178; python: 1,825; sh: 183; makefile: 26
file content (7 lines) | stat: -rw-r--r-- 376 bytes parent folder | download | duplicates (3)
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"