Skip to content

Commit

Permalink
Add STLink V3SET VID:PIDs to the udev rules (#789)
Browse files Browse the repository at this point in the history
  • Loading branch information
martonmiklos authored and xor-gate committed Apr 3, 2019
1 parent 4ff515e commit 224f6ee
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions etc/udev/rules.d/49-stlinkv3.rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# STLink V3SET in Dual CDC mode
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3752", \
MODE:="0666", \
SYMLINK+="stlinkv3_%n"

# STLink V3SET in Dual CDC mode
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3753", \
MODE:="0666", \
SYMLINK+="stlinkv3_%n"

# STLink V3SET
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374d", \
MODE:="0666", \
SYMLINK+="stlinkv3_%n"

# STLink V3SET
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374e", \
MODE:="0666", \
SYMLINK+="stlinkv3_%n"

# STLink V3SET in normal mode
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374f", \
MODE:="0666", \
SYMLINK+="stlinkv3_%n"

# If you share your linux system with other users, or just don't like the
# idea of write permission for everybody, you can replace MODE:="0666" with
# OWNER:="yourusername" to create the device owned by you, or with
# GROUP:="somegroupname" and mange access using standard unix groups.

0 comments on commit 224f6ee

Please sign in to comment.