-
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
ubuntu2204 kernel patches combined with scripts for downloading, patching, and building kernel modules #10489
base: master
Are you sure you want to change the base?
ubuntu2204 kernel patches combined with scripts for downloading, patching, and building kernel modules #10489
Conversation
…4 Jammy for both rpi4 and x86_64
Hi @jpswensen! |
Hey @jpswensen, this would be wondeful to merge this so we can simply apt-install on ros rolling and humble. Thanks! |
…4 Jammy for both rpi4 and x86_64 Updates to the patch scripts fo fix some directory errors
…ub.com/jpswensen/librealsense into rpi4_ubuntu2204_kernel_patchescombined
I think I squashed those correctly. I am not a github expert, so I may have done that wrong. |
@jpswensen I tested on my pc and I think you need to:
Then you verify you have only one commit difference Also you can check the commit content with git diff origin/master If so you will need to git push force to this branch jp/rpi4_ubuntu2204_kernel_patchescombined once again. This will replace your 4 commits you currently have on it by a single one |
@dmipx Is this PR still relevant after we merged the Jammy patches? |
it seems that i need this driver to have my F200 camera work properly on Ubuntu 22.10...any luck with this for 22.04? can this be ported over to 22.10? |
# enough that it would be a good launching point for trying to adapt to your | ||
# distribution and your board. | ||
|
||
# Some background on the patched kernel modules. I had to go hunting for this information in a bunch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work here. I too had to hunt for this, and would love to share more in the documentation on installation.
This pull request includes two scripts and two patches. The scripts are for building the patched kernel modules on Ubuntu 22.04 (Jammy) for both Raspberry Pi 4 and for x86_64. The patches that are includes are a monolithic single patch for the baseline kernels on these two architectures, rather than the split up patches that are used for a lot of other platforms and Linux versions.
I also spent a considerably amount of time simplifying and commenting the patching scripts so that it could be used as a tutorial about what is actually going on during the patching process and included a preface that describes the differences between the RSUSB interface and the V4L interface. These are all details that are located at various places in the github Issues tracker, but though it would be a good idea to coalesce/distill them all in one place.
I also think that by not trying to target all versions of Ubuntu and all architectures that is makes the process a lot more simple and understandable to someone who is coming at this from scratch and might need to update it for a newer kernel. A lot of the stuff in the patch-realsense-ubuntu-lts.sh script is a bit confusing because some much of it is carryover from having to deal with very old kernels (e.g. pre 5.x kernels)