Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update udev rules #572

Merged
merged 1 commit into from
Jun 13, 2024
Merged

Update udev rules #572

merged 1 commit into from
Jun 13, 2024

Conversation

nikgul
Copy link
Contributor

@nikgul nikgul commented Jun 8, 2024

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 nikgul requested a review from a team as a code owner June 8, 2024 15:30
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.
Copy link
Member

@BartMassey BartMassey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great. Thanks much!

Copy link
Member

@eldruin eldruin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@eldruin eldruin added this pull request to the merge queue Jun 13, 2024
Merged via the queue into rust-embedded:master with commit 7100443 Jun 13, 2024
17 checks passed
@nikgul
Copy link
Contributor Author

nikgul commented Jun 17, 2024

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

And can therefore be closed ?

@BartMassey
Copy link
Member

It is possible. We should look into it.

Again, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants