aboutsummaryrefslogtreecommitdiffstats
path: root/misc/90-logitech-g710-plus.rules
diff options
context:
space:
mode:
Diffstat (limited to 'misc/90-logitech-g710-plus.rules')
-rw-r--r--misc/90-logitech-g710-plus.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/90-logitech-g710-plus.rules b/misc/90-logitech-g710-plus.rules
new file mode 100644
index 0000000..ba43608
--- /dev/null
+++ b/misc/90-logitech-g710-plus.rules
@@ -0,0 +1 @@
+ACTION=="add", SUBSYSTEM=="hid", DRIVER=="hid-generic", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c24d", RUN+="/bin/sh -c '/sbin/modprobe hid-lg-g710-plus; if test -d /sys/bus/hid/drivers/hid-generic && test -d /sys/bus/hid/drivers/hid-lg-g710-plus; then /bin/echo -n %k > /sys/bus/hid/drivers/hid-generic/unbind; /bin/echo -n %k > /sys/bus/hid/drivers/hid-lg-g710-plus/bind;fi'" \ No newline at end of file