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

Udev rules update #985

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MartinHerren
Copy link
Contributor

Hello,

This PR updates the udev rules. With recent systemd systems there is no need to be in the plugdev group anymore as long as you are the locally logged in user.

For this to work

  • i added the ENV{ID_SOFTWARE_RADIO}="1" tag
  • i had to rename the rules form 88-nuand-xxx to 60-nuand-xxx for the tag to be honored
    This way the systemd build-in mechanism will automatically grant the rights to the locally logged in user. This won't harm on older system not supporting this.

I also restricted the rules to the usb SUBSYSTEM to prevent potential id collisions.

This allows the rule to be processed by the uaccess rule and makes the
device accessible by the currently logged in user without needing to be
part of any specific group. For the uaccess rule to work the rules also
needed to be renamed from 88-nuand-xxx to 60-nuand-xxx.

For scripted use without logging the user still needs to be added to
a specific group (plugdev by default).

This is aligned with how it is now done on other SDR devices.

Signed-off-by: Martin Herren (HB9FXX) <[email protected]>
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.

1 participant