Saturday, 5 October 2013

adding devices to udev blacklist

Hi,

Sorry if this is a totally noob question, but I'm wondering what the
process is to get something permanently added to the udev rules?

The background to this question is that I'm a contributor to a number of
FOSS hardware projects that use USB CDC as their main interface, and I'd
like to add them to the modem manager blacklist as they are not modems,
and the manager interferes with their proper operation.

For example, one of the projects is the proxmark3:

https://code.google.com/p/proxmark3/wiki/HomePage?tm=6

in the installation instructions, we tell users to add:

# proxmark3 - http://www.proxmark.org/
ATTRS{idVendor}=="2d2d" ATTRS{idProduct}=="504d",
ENV{ID_MM_DEVICE_IGNORE}="1"

to the file:

/lib/udev/rules.d/77-mm-usb-device-blacklist.rules

but of course this may get clobbered by an update.

cheers,
Adam
--
Adam Laurie Tel: +44 (0) 20 7993 2690
Aperture Labs Ltd. Fax: +44 (0) 20 8972 9377
Suite 117, Pegaxis House
61 Victoria Road
Surbiton
Surrey mailto:[email protected]
KT6 4JX http://aperturelabs.com
UNITED KINGDOM

--
ubuntu-devel mailing list
[email protected]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel