-
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
Hunk #1 FAILED at 153. 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/uvc/uvcvideo.h.rej #8098
Comments
Hi @jindanChina Another RealSense user experienced this same set of errors and offered advice for how to correct it in the link below. |
@MartyG-RealSense Thank you very much, the above problem has been solved very well. But I encountered some other problems, I am trying to update the firmware of 435i to see if it can be solved, thank you again for your answers. |
@MartyG-RealSense After updating the firmware, many problems were solved, but another problem still exists. Can you help me solve it? |
Hi @jindanChina I suspect from those new error messages that there are still problems with the kernel patching. A way to confirm this would be to build librealsense with CMake using the RSUSB installation method. It requires an internet connection but is not dependent on Linux versions or kernel versions and does not require patching. Instructions for the RSUSB installation method can be found in the link below. I would recommend leaving out the term -DBUILD_WITH_CUDA:bool=true from the CMake build instruction in the above link, as you may not have an Nvidia GPU graphics chip in your computer. |
@jindanChina hello, instead of running the scripts manually you can use DKMS Debian: sudo apt install librealsense2-dkms As for the manual patch - it will be handled and update accordingly. |
@ev-mp @MartyG-RealSense Thank you, I will try your suggestions, you are really enthusiastic, thank you! |
Hi @jindanChina Do you require further assistance with this case, please? Thanks! |
Case closed due to no further comments received. |
Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):
All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)
Issue Description
<初始化空的 Git 仓库于 /home/jindan/librealsense/ubuntu-xenial-hwe/.git/
Fetching Ubuntu LTS tag Ubuntu-hwe-4.15.0-128.131_16.04.1 to the local kernel sources folder
remote: Counting objects: 5930029, done.
remote: Compressing objects: 100% (867979/867979), done.
remote: Total 5930029 (delta 5025768), reused 5919832 (delta 5018658)
接收对象中: 100% (5930029/5930029), 1.26 GiB | 386.00 KiB/s, 完成.
处理 delta 中: 100% (5025768/5025768), 完成.
来自 git://kernel.ubuntu.com/ubuntu/ubuntu-xenial
Switching to LTS tag Ubuntu-hwe-4.15.0-128.131_16.04.1
正在检出文件: 100% (63727/63727), 完成.
Note: checking out 'Ubuntu-hwe-4.15.0-128.131_16.04.1'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b
HEAD 目前位于 2c5bb3a... UBUNTU: Ubuntu-hwe-4.15.0-128.131~16.04.1
Applying patches for xenial-hwe line
Applying realsense-uvc patch
patching file drivers/media/usb/uvc/Makefile
patching file drivers/media/usb/uvc/uvc_driver.c
Hunk #1 succeeded at 208 with fuzz 2 (offset 5 lines).
patching file drivers/media/usb/uvc/uvcvideo.h
Hunk #1 FAILED at 153.
1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/uvc/uvcvideo.h.rej
patching file drivers/media/v4l2-core/v4l2-ioctl.c
Hunk #1 succeeded at 1248 (offset 2 lines).
patching file include/uapi/linux/videodev2.h
Hunk #1 succeeded at 680 (offset 12 lines).>
I've been puzzling this problem for a long time. I hope I can get help!
The text was updated successfully, but these errors were encountered: