forked from orbcode/orbuculum
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide a udev rules file that matches on vid/pid, so that we can grant access to the entire device. Default openocd rules won't recognise orbtrace as cmsis-dap, as we have the tag on the interface, not the product, and we need to grant access to the rest of the device as well, not just the cmsis-dap interface. Signed-off-by: Karl Palsson <[email protected]>
- Loading branch information
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Copy this to /etc/udev/rules.d | ||
# use "udevadm control --reload" if needed | ||
|
||
ACTION!="add|change", GOTO="orb_rules_end" | ||
SUBSYSTEM!="usb|tty|hidraw", GOTO="orb_rules_end" | ||
|
||
# Orbrace mini in bootloader mode | ||
ATTRS{idVendor}=="1209" ATTRS{idProduct}=="3442", GROUP="plugdev", TAG+="uaccess" | ||
# Orbrace mini | ||
ATTRS{idVendor}=="1209" ATTRS{idProduct}=="3443", GROUP="plugdev", TAG+="uaccess" | ||
|
||
LABEL="orb_rules_end" |