Skip to content
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

Possible issue with patch-realsense-ubuntu-lts-hwe.sh #13521

Open
Mathlete-101 opened this issue Nov 19, 2024 · 5 comments
Open

Possible issue with patch-realsense-ubuntu-lts-hwe.sh #13521

Mathlete-101 opened this issue Nov 19, 2024 · 5 comments

Comments

@Mathlete-101
Copy link

Required Info
Camera Model { D435 }
Firmware Version actually not relevant
Operating System & Version Ubuntu 22
Kernel Version (Linux Only) e.g. 5.15.0-1063-raspi
Platform Raspberry Pi
SDK Version lastest git commit as of 11/18/2024 }
Language {n/a }
Segment {Robot }

Issue Description

I'm trying to build from source, but when I did so, the build script failed on line 178. The last two lines printed were as follows:
`Fetching Ubuntu LTS tag to the local kernel sources folder
fatal: You need to specify a tag name.'

To try to diagnose this, I get on to the github and look at the script. Eventually, I check this history, and what do you know? The very last commit to this file on September 8 modified this exact section of code to work differently.

@Mathlete-101
Copy link
Author

Upon further analysis of the script, I don't know what's happening anymore. I'll reopen if there is a real problem.

@Mathlete-101
Copy link
Author

I have determined that the real issue is, why is this version not supported or is there an issue with my os configuration?

@Mathlete-101 Mathlete-101 reopened this Nov 19, 2024
@MartyG-RealSense
Copy link
Collaborator

Hi @Mathlete-101 The most reliable way to build from source code on Raspberry Pi is to use the libuvc backend method, which provides a pre-made build script called 'libuvc_installation.sh'.

https://github.com/IntelRealSense/librealsense/blob/master/doc/libuvc_installation.md

This installation method bypasses the kernel, and so it is not dependent on use of a particular Linux version or kernel version and you do not need to apply the kernel patch script.

https://github.com/IntelRealSense/librealsense/blob/master/scripts/libuvc_installation.sh

@Mathlete-101
Copy link
Author

image
image
I'm getting these errors when I try that.

@MartyG-RealSense
Copy link
Collaborator

I reviewed the case again from the beginning. As you were attempting to apply the hwe patch script to a kernel on a Raspberry Pi, that likely explains your initial problems with the fatal: You need to specify a tag name message, as this patch script is intended for use on desktop and laptop PCs with x86 / x64 architecture rather than Arm architecture devices such as Pi.

If you are able to use CMake then instead of using the libuvc_installation.sh script, a similar installation method described at #9931 (comment) called RSUSB Backend can be used. Like libuvc backend, RSUSB does not require a kernel patch script to be applied.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants