Open ethanc8 opened 2 days ago
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, 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.