Apalis TK1 and Intel RealSense R200 Depth Sensor

I have an early Apalis TK1 + Ixora board and recently received a Realsense R200. I tried to get it to run (after having applied the video format patches) but had no luck.

If I try one of the examples,

root@apalis-tk1:~/image/usr/bin# echo 4095 >/sys/module/uvcvideo/parameters/trace
root@apalis-tk1:~/image/usr/bin# ./cpp-headless
RealSense error calling rs_create_context(api_version:11201):
%|1650759218_1|%

I get this output in dmesg:

[  593.003783] uvcvideo: uvc_v4l2_open
[  593.059435] tegra-xhci tegra-xhci: Firmware timestamp: 2014-09-16 02:10:07 UTC, Falcon state 0x20
[  593.268099] uvcvideo: Resuming interface 0
[  593.268266] uvcvideo: Resuming interface 1
[  593.271988] uvcvideo: Failed to set UVC commit control : -32 (exp. 34).
[  593.285966] uvcvideo 3-1:1.1: resume error -5
[  593.292528] uvcvideo: Resuming interface 2
[  593.292542] uvcvideo: Resuming interface 3
[  593.294851] uvcvideo: Failed to set UVC commit control : -32 (exp. 34).
[  593.303073] uvcvideo 3-1:1.3: resume error -5
[  593.309617] uvcvideo: Resuming interface 4
[  593.309632] uvcvideo: Resuming interface 5
[  593.310576] uvcvideo: uvc_v4l2_ioctl(VIDIOC_QUERYCAP)
[  593.310604] uvcvideo: uvc_v4l2_ioctl(VIDIOC_CROPCAP)
[  593.310619] uvcvideo: uvc_v4l2_ioctl(VIDIOC_S_CROP)
[  593.311933] uvcvideo: uvc_v4l2_open
[  593.311995] uvcvideo: uvc_v4l2_ioctl(VIDIOC_QUERYCAP)
[  593.312015] uvcvideo: uvc_v4l2_ioctl(VIDIOC_CROPCAP)
[  593.312028] uvcvideo: uvc_v4l2_ioctl(VIDIOC_S_CROP)
[  593.312555] uvcvideo: uvc_v4l2_open
[  593.312593] uvcvideo: uvc_v4l2_ioctl(VIDIOC_QUERYCAP)
[  593.312608] uvcvideo: uvc_v4l2_ioctl(VIDIOC_CROPCAP)
[  593.312620] uvcvideo: uvc_v4l2_ioctl(VIDIOC_S_CROP)
[  593.313828] uvcvideo: uvc_v4l2_ioctl(unknown ioctl 'u', dir=rw, #33 (0xc00c7521))
[  593.314079] uvcvideo: Failed to query (GET_LEN) UVC control 1 on unit 2: -32 (exp. 2).
[  593.324076] uvcvideo: GET_LEN failed on control 18682d34-dd2c-4073-ad23-7214739a074c/1 (-5).
[  593.325082] uvcvideo: uvc_v4l2_release
[  593.325126] uvcvideo: uvc_v4l2_release
[  593.325150] uvcvideo: uvc_v4l2_release

Did anyone see a similar behavior? The USB3 port itself seems to work fine - tested with external storage and a TIS USB3 camera. I can poke into uvcvideo if necessary.

Simon

We are not familiar with Intel’s RealSense products but a quick googling revealed the following which suggests this being possible albeit probably requiring some advanced tinkering and re-compiling the kernel.