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

main: warn once about USB permissions on scan #532

Merged
merged 1 commit into from
Sep 8, 2021
Merged

Conversation

jonasdn
Copy link
Contributor

@jonasdn jonasdn commented Sep 8, 2021

When the user press the scan button and we get a Permissions Denied
error from the USB core then we know that the Crazyradio dongle is
present, but we cannot access it.

We will warn, once, about this with a message box that gives a link
to instructions on how to install the udev files.

messagebox

Closes #444

When the user press the scan button and we get a Permissions Denied
error from the USB core then we know that the Crazyradio dongle is
present, but we cannot access it.

We will warn, once, about this with a message box that gives a link
to instructions on how to install the udev files.

Closes #444
@jonasdn
Copy link
Contributor Author

jonasdn commented Sep 8, 2021

I prefer this to automagicly installing udev files. It feels icky to handle root powers in the client.

@jonasdn jonasdn requested a review from krichardsson September 8, 2021 07:41
Copy link
Member

@ataffanel ataffanel left a comment

Choose a reason for hiding this comment

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

I can agree that avoiding to handle root permission if we do not have to is good.

I like it and I think this is going to remove a huge paper-cut to the client on Linux!

The doc that is linked likely needs to be improved a bit: would be nice to provide a block that can be copy-pasted in a console. I can prepare a PR to the lib.

@jonasdn jonasdn merged commit 1a9f350 into master Sep 8, 2021
@jonasdn jonasdn deleted the jonasdn/444 branch September 8, 2021 10:10
@knmcguire knmcguire added this to the next-release milestone Dec 16, 2021
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.

Install Linux UDev files from the client GUI
3 participants