-
Notifications
You must be signed in to change notification settings - Fork 398
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
non-root access? #10
Comments
is this for QDMA? |
Yes |
So my application starts as a non root user and I faced the same issue of not being able to access the /Dev/QDMa queues. I changed the access to chmod 777 for those /Dev/QDMa and it works for me. |
doing chmod is fine if you, the developer are using your own machine. but it is quite annoying to tell others to do it. |
Yes I agree. Its a very good suggestion to allow non-root access |
It would be great to add it to the repository, since it appears that there used to be something like that (see 8d603ef). What I ended up going with was creating a "/etc/udev/rules.d/60-xdma.rules" which was just:
|
Was the above suggesions worked? |
We've used the solution I listed on my team without issue for the past several months. |
@dfreese can you comfirm if you are using this line of code for |
xdma, so qdma may be different. |
Are you accepting PRs that would enable non-root access to the device driver?
Seems like we should be able to setup a rule with
udev
to assign the devices to belong to a certain group.The text was updated successfully, but these errors were encountered: