IntelRealSense / librealsense

Intel® RealSense™ SDK
https://www.intelrealsense.com/
Apache License 2.0
7.6k stars 4.83k forks source link

How to patch V4L, legacy SDK for R200 and UP Board #4436

Closed k3nden closed 5 years ago

k3nden commented 5 years ago

I purchased the Realsense R200 development kit and having problems with installing and using the camera. Installed on the UP Board is Ubuntu16.04.6, kernel is 14.15-37, and Kinetic ROS. I followed the instructions for the legacy builds. https://github.com/IntelRealSense/librealsense/blob/v1.12.1/doc/installation.md

All was well until step 3: I do not know what to do regarding Video4Linux backend. Do I need patches? if so which ones? cpp-config-ui - No device found.

At present I am not sure if I am chasing an install issue or a camera that does not work. Any advice would be appreciated. TIA

dorodnic commented 5 years ago

Hi @k3nden There is no need to patch modern kernels for R200. I suspect it is not detecting the device due to missing UDEV rules (see the remainder of the guide). Check if you can see the device using lsusb and dmesg. Let us know if you still encounter problems.

k3nden commented 5 years ago

Thank you for your quick reply. I have provided the output of both the dmesg and lsusb. For some reason the camera is not outputting correctly ? Only output is streams and everything throws the majic number error. Do i need some sort of patch?

dmesg.txt

LSUSB Bus 002 Device 006: ID 8086:0a80 Intel Corp. Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 0424:2530 Standard Microsystems Corp. Bus 001 Device 003: ID 0424:4603 Standard Microsystems Corp. Bus 001 Device 002: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

c-tutorial-3-pointcloud There are 1 connected RealSense devices.

Using device 0, an Intel RealSense R200 Serial number: 2521007997 Firmware version: 1.0.72.10 rs.warn: Subdevice 1 bad magic number 0x0 rs.warn: Subdevice 1 bad magic number 0x0 rs.warn: Subdevice 1 bad magic number 0x0 rs.warn: Subdevice 1 bad magic number 0x0

RealSenseCustomerSupport commented 5 years ago

In case this issue still persists, please check the #195. https://github.com/IntelRealSense/librealsense/issues/195