Skip to content

Multicam issues on Ubuntu v4l2 backend w/ 3.19 kernel #1

@aharmat

Description

@aharmat

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions