From the last line of your log, I believe you are using kernel version 4.4. on Ubuntu 14.04 LTS. So you meet the absolute minimum Linux OS requirements for RealSense SDK 2.0. It sounds more like an issue with the USB.
I note though that the release notes for the ROS wrapper seem to recommend a specific version of SDK 2.0 for use with each version of the ROS wrapper. For example, the most recent wrapper, 2.0.3, recommends use with SDK 2.0 version 2.10.2 specifically. Which SDK 2.0 version are you using please?
This message was posted on behalf of Intel Corporation
Have you connected the camera to a different USB 3.0 port? Or to a diferent computer with Windows 10?
Connecting the Camera to a Windows 10 computer is very important for the camera to have a firmware update.
Are you using a USB 3.0 hub?
Thanks MartyG for your reply. I am using version 2.10.2. I also suspect its an issue with USB. is there a way to check if it is indeed a problem with USB. Outputs of some commands I found over internet to see if USB3.0 is working fine is:
indrajeet@indrajeet:~$ lspci | grep USB
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
indrajeet@indrajeet:~$ lsusb -t | grep xhci
/: Bus 02.Port 1: Dev 1, class="root_hub", Driver=xhci_hcd/6p, 5000M
/: Bus 01.Port 1: Dev 1, class="root_hub", Driver=xhci_hcd/12p, 480M
Bus 002 Device 003: ID 8086:0a66 Intel Corp.
Bus 002 Device 002: ID 8086:0ad3 Intel Corp.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0cf3:e360 Atheros Communications, Inc.
Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 002: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Will it be straightforward to reinstall everything with a previous version of ros wrapper+SDK. While installing this version I had to upgrade my cmake and gcc versions and had to rebuild the other ros packages installed in my laptop. I am now going to check with ubuntu 16.04 and see if the camera works.
Thanks for your help. I tried few more things since morning.
1. reinstalled latest ros wrapper 2.0 and SDK v2.10.2 on my ubuntu 14.04 machine but its the same thing again. I noticed command "./scripts/patch-realsense-ubuntu-xenial.sh0" fails and if I run modprobe I get this:
indrajeet@indrajeet:~$ sudo modprobe uvcvideo
modprobe: ERROR: could not insert 'uvcvideo': Required key not available
2. same machine has ubuntu 16.04 installed so I installed the same wrapper and SDK there and strangely it works. However, when I launch rs_camera.launch I get few warnings:
[ INFO] [1523477604.476116251]: infra1 stream is enabled - width: 640, height: 480, fps: 30
[ INFO] [1523477604.476734525]: infra2 stream is enabled - width: 640, height: 480, fps: 30
11/04 16:13:24,478 WARNING  (backend-v4l2.cpp:1098) Pixel format 36315752-1a66-a242-9065-d01814a likely requires patch for fourcc code RW16!
11/04 16:13:24,479 WARNING  (sensor.cpp:313) Unregistered Media formats : [ RW16 ]; Supported: [ ]
[ INFO] [1523477604.487809220]: color stream is enabled - width: 640, height: 480, fps: 30
[ INFO] [1523477604.503752611]: publishStaticTransforms...
[ INFO] [1523477604.507152058]: RealSense Node Is Up!
11/04 16:13:24,696 WARNING  (ds5-timestamp.cpp:64) UVC metadata payloads not available. Please refer to installation chapter for details.
[ WARN] [1523477604.699261566]: Frame metadata isn't available! (frame_timestamp_domain = RS2_TIMESTAMP_DOMAIN_SYSTEM_TIME)
11/04 16:13:24,738 WARNING  (ds5-timestamp.cpp:64) UVC metadata payloads not available. Please refer to installation chapter for details.
11/04 16:13:24,939 ERROR  (types.h:178) xioctl(VIDIOC_S_CTRL) failed Last Error: Numerical result out of range
[ WARN] [1523477604.943568594]: Reconfigure callback failed with exception xioctl(VIDIOC_S_CTRL) failed Last Error: Numerical result out of range:
I can launch all the other files in the launch folder with few warnings except rs_rgbd.launch. rgbd.launch gives the following error
full_path = _get_executable_path(rp.get_path(args), path)
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 203, in get_path
raise ResourceNotFound(name, ros_paths=self._ros_paths)
ROS path =/opt/ros/kinetic/share/ros
ROS path =/home/indrajeet/catkin_ws/src
ROS path =/opt/ros/kinetic/share
So apart from these issues the camera is working with windows/ubuntu16.04 but not with ubuntu14.04, is there something else I can try? I would be happy to use 16.04 but some other ros packages I use work great on 14.04 so trying to make it work there.
There was a case last month where a D415 user could launch ROS in default mode but not RGBD mode. Intel gave gave this advice:
In the original Librealsense 1, running the update patch process immediately after the SDK's installation was also recommended for Ubuntu 14.04.
The update process I was referring to was sudo apt get update.
For 14.04 instructions, see the 'Building Librealsense2 SDK' section on this page: