X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/0ae173ba235361fa8f6d73af1c43f2417da1f54a..4bf0f73d766d8c461d55a418e241b5bab432a6ab:/driver/77-mm-usb-device-blacklist.rules

diff --git a/driver/77-mm-usb-device-blacklist.rules b/driver/77-mm-usb-device-blacklist.rules
index 986c9446..80086f49 100644
--- a/driver/77-mm-usb-device-blacklist.rules
+++ b/driver/77-mm-usb-device-blacklist.rules
@@ -7,4 +7,12 @@
 #
 
 # proxmark3
+ACTION!="add|change", GOTO="mm_usb_device_blacklist_end"
+SUBSYSTEM!="tty", GOTO="mm_ignore"
+
+ATTRS{idVendor}=="2d2d" ATTRS{idProduct}=="504d", ENV{ID_MM_DEVICE_IGNORE}="1" SYMLINK+="pm3-%n"
+
+LABEL="mm_ignore"
 ATTRS{idVendor}=="2d2d" ATTRS{idProduct}=="504d", ENV{ID_MM_DEVICE_IGNORE}="1"
+
+LABEL="mm_usb_device_blacklist_end"