STLinkv3: UDEV rules in Debian not matching STLINK-V3MINIE #1358
Labels
code/compatibility
code/feature-request
code/feedback
component/stlink-lib
os/linux
programmer/STLINK/V3
V3SET / V3MODS / V3MINI / V3MINIE / V3E / V3EC
status/duplicate
status/resolved
status/resolved-verified
target/stm32h7
Milestone
Related Issues
#966
Description
In order to allow developers to isolate and target your respective issue, please take some time to select the check boxes below and fill out each of the following items appropriate to your specific problem.
v1.7.0
debian, however reading docs fromdevelop
on3e18d9d3b73ac954fca6ccc8419ce21dd65bd96f
Steps to reproduce
Commandline output:
Here is behavior with my STLink V3 connected via USB to my computer. The STM32H473 is not connected.
Now, you can run as root, and see it gets passed the
LIBUSB_ERROR_ACCESS
error, hinting to me the USB device did not have right permissionsNote below permissions are NOT
0666
as explained in the FAQ.Expected/description:
I would expect udev rules to be installed into the right directory such that I do not need to run my debugger as root.
Currently, in the debian, they are installed in
/lib/udev
, but the FAQ says they need to be in/etc/udev/rules.d/
Doing some further research with
man udev
, it seems the new directory is OK, however, it doesn't seem to help. Checking the rules, I found it was missing the specific rule for my device (0483:3754). Adding this solved it:The text was updated successfully, but these errors were encountered: