-
Notifications
You must be signed in to change notification settings - Fork 4.8k
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Realsense tools build with user level (-DFORCE_LIBUVC=ON), fail when executing. #1757
Comments
[Realsense Customer Engineering Team Comment] Please try below to see if this can resolve the USB access permission issue. |
1- I've installed the packages below, and avoided installing the dkms packages, and it works well for D415 camera. What I've noticed was that the executable rs-enumerate-devices compiled with source using
2- Afterwards I've applied the method mentioned above, and copy the rules for udev, and after executing rs-enumerate-devices, I still have the same error, maybe I have to be in some special user group that can access the device, cause I've tested using sudo, and with sudo rs-enumerate-devices, it outputs the properly ending with a core dump, check logs below. 3- in summa: 3.3 - log:
3.4 log:
Any clue of what's going on ? |
[Realsense Customer Engineering Team Comment]
|
Hi, 1- I understand the usage of LIBUVC, as it was suggested by @dorodnic, exactly to address the issue having a portable application across Linux, avoiding dkms modules. I still have some questions that are not clear to me on that regard.
Best, |
[Realsense Customer Engineering Team Comment] |
[Realsense Customer Engineering Team Comment] Is the issue resolved? |
yes, it is resolved. thanks. |
Issue Description
Installing dkms modules, implies that the user must have admin permissions on the system. After instaling latest dkms modules into ubuntu 16.04 and having the pc crashed, this raised some questions about distributing applications for realsense cameras (SR300/D400) that will build modules into users kernels and compromise the stability of the same.
(NOTE: after testing, without dkms modules, D400 works out of the box, but SR300 does not.)
So when trying to address the problem using user space drivers , compiling with:
cmake -DFORCE_LIBUVC=ON -DUSE_SYSTEM_LIBUSB=ON ../
Executing rs-enumerate-devices and other tools lead to an error that seems to be related to udev permissions, see log below.
using gdb with the core dump results in the following log:
1- Could someone provide some guidance, or just explain if indeed it is possible to distribute the drivers without depending on patching the kernel?
2- What udev permissions do I need to set ?
3- Do I still need admin to add udev rules/permissions to use user level drivers ?
Thanks in advance.
The text was updated successfully, but these errors were encountered: