Skip to content

Instantly share code, notes, and snippets.

@matthijskooijman
Created September 28, 2016 12:18
Show Gist options
  • Save matthijskooijman/d3bf45fe615589a1ec87a60632f9e99f to your computer and use it in GitHub Desktop.
Save matthijskooijman/d3bf45fe615589a1ec87a60632f9e99f to your computer and use it in GitHub Desktop.
# 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"
# Devoboard
ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0c5b", 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