-
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
duplicate udev rules in /etc and /lib ? #6153
Comments
Which error does the RealSense Viewer give you, please? Also, which version of the RealSense SDK are you installing? |
Here is the message: Timestamp: 1585499111721.604492 |
There was a previous case of this error. In that user's case, the multiple udev rules error occurred after doing an apt install following an initial install where they had missing udev rules and tried to install the rules manually. They used this link for the apt installation: https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.md The eventual solution in their case was to install Librealsense the "manual" way, which I take to mean compiling from source. Compiling from source is recommendable for an installation on Jetson Nano. |
thanks for the info. We did not have missing udev rules at any point in time an definitely never installed any udev rules manually. Our main question is to determine which of these duplicates should be deleted, and of course it would be nice to know why the librealsense installation scripts install both of them in the first place |
I do not have the knowledge of the udev rules to advise on that subject, unfortunately. One of the other RealSense support team members may be able to help with that in the coming week. As there is more involved in a Jetson Nano installation process than the details in the standard installation guide, I would recommend removing the current install and following the guide on the JetsonHacks website for installing Librealsense on Nano. |
ok thank you so much for the pointers and the link to jetsonhacks it seems if we delete /lib/udev/rules.d/60-librealsense2-udev-rules.rules then it works with no error messages with the D435. Still have issues with D435i but we've given up on that one since simply swapping the D435 for the D435i makes it work... same system same cable same usb port same firmware and with only one udev rule file it would also be guaranteed to be the same udev rule |
I'm very glad I could be of help. Thanks for sharing your information about the rules in case somebody else experiences a similar problem! |
@weblackey , the file
or any other Librealsense Debian package (all packages rely on that one). On the other hand the udev file found under As the manually-installed file is a stand-alone entity it is recommended to remove that one. |
Done, and it works on D435 with no errors. D435i has issues, probably unrelated |
hi, is it possible to share the steps to remove the unnecessary udev rules? |
Hi @fabiang95 It is not a procedure that I have performed myself, but as far as I am aware it is simply a matter of navigating to the /etc/udev/rules.d/ folder in Linux and deleting a file called 99-realsense-libusb.rules This is the only udev file that should be deleted. Do not delete the rule at lib/udev/rules.d/60-librealsense2-udev-rules.rules |
When following all the instructions for installing the linux distribution with sources on a Jetson Nano with latest Jetpack, we end up with udev rules in both etc and lib and realsense-viewer complains about it.
why are the duplicates installed, and which one should be deleted ?
The text was updated successfully, but these errors were encountered: