Skip to content

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) <cq@hb9fxx.ch>
Signed-off-by: Martin Herren (HB9FXX) <cq@hb9fxx.ch>
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