Items with no label
3335 Discussions

UVCIOC_CTRL_QUERY:UVC_SET_CUR error 5, Input/output error

TKirv1
New Contributor II
3,294 Views

Hello,

I just installed librealsense on my UP-board running the 4.4.0-040400-generic kernel, but I can't run any of the examples in the librealsense/build/examples folder

I get the error

rs::error was thrown when calling rs_create_context(api_version:11201):

UVCIOC_CTRL_QUERY:UVC_SET_CUR error 5, Input/output error

when I try to run any of the examples. Could anyone help me with this?

Thanks,

Thomas

0 Kudos
5 Replies
MartyG
Honored Contributor III
1,592 Views

A few people have had this error in the past year.

February 2016.

https://github.com/IntelRealSense/librealsense/issues/43 Ubuntu 12.04, Kernel 3.19 - UVCIOC_CTRL_QUERY:UVC_SET_CUR error 5 · Issue # 43 · IntelRealSense/librealsense · GitHub

April 2016.

https://github.com/IntelRealSense/librealsense/issues/97 cpp-config-ui crashes when changing some parameters. · Issue # 97 · IntelRealSense/librealsense · GitHub

September 2016.

https://github.com/IntelRealSense/librealsense/issues/269 UVCIOC_CTRL_QUERY:UVC_SET_CUR error for SR300 when set F200_ACCURACY to 0 · Issue # 269 · IntelRealSense/librealsense · G…

0 Kudos
TKirv1
New Contributor II
1,592 Views

I am unable to find a clear solution in those posts. I downloaded the patch provided by ddiakopoulos, but I am not sure how to apply it correctly. I tried patch p1 < UVC-Remove-extra-commit-on-resume.patch, which gives me the error "can't find file to patch at input line 5" and then asks me to provide a file, which tells me there's simply no way I am doing this right.

I also tried to run the script patch-uvcvideo-ubuntu-mainline.sh provided in the scripts folder, but it fails at sudo apt-get build-dep linux-image-$(uname -r) with the error

Picking 'linux-ubilinux' as source package instead of 'linux-image-4.4.0-ubi4-amd64'

E: Build-Depends dependency for linux-ubilinux cannot be satisfied because candidate version of package kernel-wedge can't satisfy version requirements

I tried googling this error but I haven't found anything useful.

Is there any more detail you could provide me with to solve this probelm? I am running ubilinux 3.0 for the up-board with kernel version 4.4.0-ubi4-amd64.

Best,

Thomas

0 Kudos
TKirv1
New Contributor II
1,592 Views

Ok I tried using a different realsense r200 camera and it just works. So it seems like there is a hardware problem with the other camera.. Does this sound like a fixable problem?

Thanks,

Thomas

0 Kudos
idata
Employee
1,592 Views

Hi Thomas,

 

 

I'd recommend you to look at the Intel RealSense Robotic Development Kit https://01.org/developerjourney/recipe/intel-realsense-robotic-development-kit Quickstarted Guide, that is the official guide, in order to follow the instructions to install Ubuntu 16.04 LTS, add the open source Linux-up board kernel (provide the kernel video capture format necessary for the Intel RealSense camera), provide kernel source access, and install Librealsense.

 

 

Moreover, for this case as you have tested using another R200 camera and it works with your current set up, your other camera may have a hardware issue and I'd suggest you to contact mailto:%20click.support@intel.com Click Support or the place of purchase where you bought the camera to request a replacement.

 

 

Regards,

 

-Yermi A.

 

0 Kudos
TKirv1
New Contributor II
1,592 Views

Good to know there's a comprehensive guide out there! I think there must be a hardware issue, I will contact click support.

Thanks!

0 Kudos
Reply