-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Description
I followed the installation instructions and was able to run the capture and enumerate examples. The multicam example did not work (got UVCIOC_CTRL_QUERY:UVC_SET_CUR error 5, Input/output error) with 2 cameras plugged in.
However, there is a bigger problem now. I started writing my own example code just to get the hang of things, with only this in main:
rs::context ctx;
std::cout << "Found "<< ctx.get_device_count() << " devices" << std::endl;`
When run with 0 or 1 camera plugged in, the result was as expected. When I had 2 cameras plugged in, the program entered an uninterruptible sleep, so I had to reboot the system. After the reboot, I can't even get a single camera to function correctly. c-capture reports UVCIOC_CTRL_QUERY:UVC_SET_CUR error 2, No such file or directory, and dmesg shows
[ 79.060507] uvcvideo: Failed to set UVC commit control : -32 (exp. 34).
[ 79.060514] uvcvideo 4-2:1.1: resume error -5
[ 79.062588] uvcvideo: Failed to set UVC commit control : -32 (exp. 34).
[ 79.062594] uvcvideo 4-2:1.3: resume error -5
[ 79.063175] uvcvideo: Failed to query (GET_LEN) UVC control 1 on unit 2: -32 (exp. 2).
I have re-run the patch-uvcvideo-ko-generic.sh script followed by sudo modprobe uvcvideo, but the result is still the same. I'm using the 3.19.0-36-generic kernel.
Any idea what could have caused this?
Thanks,
Adam