toinsson / pyrealsense

Cross-platform ctypes/Cython wrapper to the librealsense library (v1.x)
http://pyrealsense.readthedocs.io
Apache License 2.0
121 stars 46 forks source link

Can't use on Linux kernel version after 4.4 #64

Closed kazoo-kmt closed 6 years ago

kazoo-kmt commented 6 years ago
Required Info
Camera Model SR300
Firmware Version
Operating System & Version Ubuntu 16.04 LTS (kernel version 4.10)
librealsense version v1.12.1
pyrealsense version 2.2

When I tried to install pyrealsense with the legacy librealsense (v1.12.1, the latest version that we can use with pyrealsense) based on the manual (https://github.com/IntelRealSense/librealsense/blob/v1.12.1/doc/installation.md), the installation fails when patching uvcvideo module (when running ./scripts/patch-uvcvideo-16.04.simple.sh). This is because this patch isn't applicable for the kernel after 4.4 version.

I think this is a known issue, but what is the recommendation when having this issue? Use the old kernel version or use pyrealsense2 from the latest librealsense?

toinsson commented 6 years ago

This sounds like an issue for librealsense, not pyrealsense. Better head to their repo for troubleshooting.

svarnypetr commented 6 years ago

I can confirm, this is a librealsense problem. Had to change my kernel also back to 4.4.