Closed ssnover closed 3 years ago
Does it work with a rule like this?
ATTRS{idVendor}=="1366", ATTRS{idProduct}=="1015", MODE="664", GROUP="plugdev"
(and you have to be in the plugdev
group, of course)
Yes, that did it! Thanks for the very quick response.
I noted that the symlink udev was creating was /dev/ttyACM0
under the dialout
group, but this didn't seem all that suspicious to me since that's I'm used to seeing when working with serial ports on USB devices.
Describe the bug I have followed directions for setting up a toolchain with
probe-run
as specified in the knurling-rs session 2020-q4. However,probe-run
is not able to open the USB device.The probe's file permissions are set to allow access from non-root users (via
TAGS+="uaccess"
):To Reproduce Steps to reproduce the behavior:
Attempt to flash a binary with
probe-run
to the board connected to the probe (in my case the nRF52840 development kit):Expected and observed behavior A clear and concise description of what you expected to happen. Please include relevant console output.
probe-run
successfully runs the binary:Observed instead:
config.toml The contents of your project's
.cargo/config.toml
fileProbe details You can get this information from
probe-rs-cli
. Your microcontroller must be connected to your PC / laptop when you run the command below.Operating System: Linux, Ubuntu 20.04, kernel 5.4.0-73-generic
ELF file (attachment) Don't believe it's relevant in this case, but I've saved a copy of the current ELF file and can provide it if necessary.
Additional context Add any other context about the problem here.
This is the udev rule associated with the device:
probe-run version:
I have another system with the same versions of all the tools and same file permissions on the mounted USB device, but for which the command works so it appears there's another factor in play. If there's any additional debugging I can do to help determine the root cause and what's different I'm happy to do so. This doesn't block my developing since I can use the other system; it's only a minor inconvenience.