]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
On another note; a nice udev-rule to have pm3 appear as /dev/pm3-1 (or /dev/pm3-2...
authorMartin Holst Swende <martin@swende.se>
Wed, 21 Jan 2015 23:33:49 +0000 (00:33 +0100)
committerMartin Holst Swende <martin@swende.se>
Wed, 21 Jan 2015 23:33:49 +0000 (00:33 +0100)
driver/77-mm-usb-device-blacklist.rules

index 986c94461052a9560ddeaf21477bf6495621f2f3..80086f49c3acf5521c148651f1fd142179095d60 100644 (file)
@@ -7,4 +7,12 @@
 #
 
 # proxmark3
 #
 
 # 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"
 ATTRS{idVendor}=="2d2d" ATTRS{idProduct}=="504d", ENV{ID_MM_DEVICE_IGNORE}="1"
+
+LABEL="mm_usb_device_blacklist_end"
Impressum, Datenschutz