Added ST-Link udev rules (#1246)

misc: Added udev rules for ST-Link probes
This commit is contained in:
Sid Price 2022-09-22 18:02:01 -06:00 committed by GitHub
parent 9f9d42861d
commit 0ae25a43e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
# ST-Link Debug Probes
#
# Copy this file to /etc/udev/rules.d/99-stlink-plugdev.rules
# and run sudo udevadm control -R
#
# ST-Link v1
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3744", TAG+=uaccess, MODE="0664", GROUP="plugdev"
#
# ST-Link v2
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3748", TAG+=uaccess, MODE="0664", GROUP="plugdev"
#
# ST-Link v2.1
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374a", MODE="0664", TAG+=uaccess, GROUP="plugdev"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374b", MODE="0664", TAG+=uaccess, GROUP="plugdev"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3752", MODE="0664", TAG+=uaccess, GROUP="plugdev"
#
# STLink V3SET in Dual CDC mode
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3752", TAG+=uaccess, MODE="0664", GROUP="plugdev"
#
# STLink V3SET in Dual CDC mode
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3753", TAG+=uaccess, MODE="0664", GROUP="plugdev"
#
# STLink V3SET
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374d", TAG+=uaccess, MODE="0664", GROUP="plugdev"
#
# STLink V3SET
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374e", TAG+=uaccess, MODE="0664", GROUP="plugdev"
#
# STLink V3SET in normal mode
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374f", TAG+=uaccess, MODE="0664", GROUP='plugdev"