diff --git a/etc/udev/rules.d/49-stlinkv3.rules b/etc/udev/rules.d/49-stlinkv3.rules new file mode 100644 index 000000000..5161947a9 --- /dev/null +++ b/etc/udev/rules.d/49-stlinkv3.rules @@ -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.