Skip to content

Instantly share code, notes, and snippets.

@matthijskooijman
Created May 2, 2015 18:32
Show Gist options
  • Save matthijskooijman/3dfa6ab414cbbd5d6d16 to your computer and use it in GitHub Desktop.
Save matthijskooijman/3dfa6ab414cbbd5d6d16 to your computer and use it in GitHub Desktop.
/etc/udev/rules.d/77-local-mm-blacklist.rules
# Prevent ModemManager from probing Arduino boards...
ACTION!="add|change", GOTO="mm_usb_device_blacklist_end"
SUBSYSTEM!="usb", GOTO="mm_usb_device_blacklist_end"
ENV{DEVTYPE}!="usb_device", GOTO="mm_usb_device_blacklist_end"
# NXP devices (mbed)
ATTRS{idVendor}=="0d28", ENV{ID_MM_DEVICE_IGNORE}="1"
# FTDI devices
ATTRS{idVendor}=="0403", ENV{ID_MM_DEVICE_IGNORE}="1"
# Arduino devices
ATTRS{idVendor}=="2341", ENV{ID_MM_DEVICE_IGNORE}="1"
# Arduino.org devices
ATTRS{idVendor}=="2a03", ENV{ID_MM_DEVICE_IGNORE}="1"
# Pinoccio scout
ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="6051", ENV{ID_MM_DEVICE_IGNORE}="1"
LABEL="mm_usb_device_blacklist_end"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment