Monday, 7 October 2013

Re: adding devices to udev blacklist

Hello Adam,

Adam Laurie [2013-10-05 16:48 +0100]:
> in the installation instructions, we tell users to add:
> # proxmark3 -
> ATTRS{idVendor}=="2d2d" ATTRS{idProduct}=="504d",
> to the file:
> /lib/udev/rules.d/77-mm-usb-device-blacklist.rules
> but of course this may get clobbered by an update.

Right. It's better to copy the file to /etc with a different(!) file
name, take out all the actual rules and just add your own, so that you
get both the original rules and your new one. E. g. create
/etc/udev/rules.d/78-mm-usb-device-blacklist-local.rules with

------------- 8< --------------
ACTION!="add|change", GOTO="mm_usb_device_blacklist_local_end"
SUBSYSTEM!="usb", GOTO="mm_usb_device_blacklist_local_end"
ENV{DEVTYPE}!="usb_device", GOTO="mm_usb_device_blacklist_local_end"

ATTRS{idVendor}=="2d2d" ATTRS{idProduct}=="504d", ENV{ID_MM_DEVICE_IGNORE}="1"

------------- 8< --------------

(See "man udev" for where udev rules are searched and how overriding
existing rules works)


Martin Pitt |
Ubuntu Developer ( | Debian Developer (

ubuntu-devel mailing list
Modify settings or unsubscribe at: