You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
583 B
14 lines
583 B
# Copy this file to the location of your distribution's udev rules, for example on Ubuntu:
|
|
# sudo cp 99-tinyusb.rules /etc/udev/rules.d/
|
|
# Then reload udev configuration by executing:
|
|
# sudo udevadm control --reload-rules
|
|
# sudo udevadm trigger
|
|
|
|
# Check SUBSYSTEM
|
|
SUBSYSTEMS=="hidraw", KERNEL=="hidraw*", MODE="0666", GROUP="dialout"
|
|
|
|
# Rule applies to all TinyUSB example
|
|
ATTRS{idVendor}=="cafe", MODE="0666", GROUP="dialout"
|
|
|
|
# Rule to blacklist TinyUSB example from being manipulated by ModemManager.
|
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="cafe", ENV{ID_MM_DEVICE_IGNORE}="1"
|
|
|