rust-embedded / discovery

Discover the world of microcontrollers through Rust!
https://docs.rust-embedded.org/discovery/
Apache License 2.0
1.47k stars 510 forks source link

Update udev rules #572

Closed nikgul closed 3 months ago

nikgul commented 3 months ago

Update udev rules to fit better with modern systems.

Updated the udev rules to use the uaccess tag instead of the MODE and GROUP modifiers, as that is deprecated.

Renamed the udev rule file to start with 69 instead of 99, so it gets loaded before user access rules are loaded for uaccess permissions, which is run in 73-seat-late.rules (provided by systemd).

Added text showing how to test for these uaccess permissions.

Attached the udev rules file: 69-microbit.txt

nikgul commented 3 months ago

Maybe this PR has fixed: Issue: #490 PR: #504 & #525

And can therefore be closed ?

BartMassey commented 3 months ago

It is possible. We should look into it.

Again, thanks.