diff --git a/99-js-block.rules b/99-js-block.rules new file mode 100644 index 0000000..da1ef16 --- /dev/null +++ b/99-js-block.rules @@ -0,0 +1 @@ +KERNEL=="js[0-9]*|event[0-9]*", SUBSYSTEM=="input", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="028e", MODE="000", GROUP="root", TAG="", RUN+="/bin/chmod 000 /dev/input/%k" \ No newline at end of file diff --git a/99-xbox360-block.rules b/99-xbox360-block.rules new file mode 100644 index 0000000..b4e576a --- /dev/null +++ b/99-xbox360-block.rules @@ -0,0 +1 @@ +ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="045E", ATTRS{idProduct}=="028E", RUN+="/bin/sh -c 'echo 0 > /sys$DEVPATH/authorized'" \ No newline at end of file