-
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
Provide deb package source #13436
Comments
Hi @ethanc8 The source code version of librealsense includes a package.xml file for building DKMS packages from the source. It is in the main 'root' folder of the source code. The source can be downloaded as a zipped file from the 'Assets' file list at the bottom of the release information for each librealsense version. https://github.com/intelrealsense/librealsense/releases If possible though I would recommend building librealsense from source code with CMake with the libuvc backend or the RSUSB backend installation methods, as these install methods bypass the Linux kernel and so are not dependent on a particular Linux type or kernel version and do not require the application of a patch script to the kernel. |
If I want to build deb packages, which took would I use to build the deb packages using the package.xml file? |
Also, what us the libuvc back end? I thought there was only RSYSB and V4L2. |
libuvc backend was the predecessor to RSUSB backend, but either method works and they both perform the same function of bypassing the kernel and so allowing any flavor of Linux to be used with a RealSense camera. The libuvc backend method is easier to perform than RSUSB backend as it has a pre-made build script called 'libuvc_installation.sh' https://github.com/IntelRealSense/librealsense/blob/master/doc/libuvc_installation.md https://github.com/IntelRealSense/librealsense/blob/master/scripts/libuvc_installation.sh I will consult with my Intel RealSense colleagues regarding how the package.xml file is used to build a Debian package. |
Ok. For now I will try to work with the RSUSB backend. However, it would be good to know more about what each of the kernel patches do and whether they rely on any of the patches Canonical applied to the mainline kernel to make the Ubuntu kernel, as knowing that would allow using the patches on other kernels (I'm specifically interested in the RK3588 BSP based on kernel 6.1). |
For installing librealsense on an RK (Rockchip) device it is recommended to build from source with libuvc or RSUSB backend. |
Ok, thanks. |
Hi @ethanc8 Do you require further assistance with this case, please? Thanks! |
@MartyG-RealSense I don't need more assistance at this time, but I need more time in order to attempt the librealsense build (I have been quite busy recently). |
It's no problem at all. I look forward to your next update when you are able to perform the build. Good luck! |
Hi, can you please provide the sources which are used to build the Debian packages, including the Debian metadata such as the
control
andrules
files? Then it would be easier to build DKMS packages for Debian-based distributions other than Canonical builds of Ubuntu.The text was updated successfully, but these errors were encountered: