summarylogtreecommitdiffstats
path: root/99-jlink-cmsis-dap.rules
blob: a43178896fc007e75caf69026607a38e4c740ee9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copy this file to /etc/udev/rules.d/
# If rules fail to reload automatically, you can refresh udev rules
# with the command "udevadm control --reload"

# This rules are based on the udev rules from the OpenOCD project, with unsupported probes removed.
# See http://openocd.org/ for more details.
#
# This file is available under the GNU General Public License v2.0

ACTION!="add|change", GOTO="cmsis_dap_rules_end"

SUBSYSTEM=="gpio", MODE="0660", GROUP="uucp", TAG+="uaccess"

SUBSYSTEM!="usb|tty|hidraw", GOTO="cmsis_dap_rules_end"

# CMSIS-DAP compatible adapters
ATTRS{product}=="*CMSIS-DAP*", MODE="666", GROUP="uucp", TAG+="uaccess"

LABEL="cmsis_dap_rules_end"