Segmentation fault when using multicam in 14.04.03
When connecting multiple cameras and runing multicam example file, I get the following output:
Segmentation fault (core dumped) 2016-01-25 13:23:45 INFO: UVC device detected with VID = 0x8086 PID = 0xa66 2016-01-25 13:23:45 INFO: Connecting to Intel RealSense F200 2016-01-25 13:23:45 INFO: UVC device detected with VID = 0x8086 PID = 0xa66
It seems like the devices aren't being registered separately.
Do you have an updated 4.4 kernel? Can you print out the firmware versions of the individual cameras?
Yes, I'm running the updated 4.4 kernel. Do you know how I would check/update the firmware versions on linux?
cpp-tutorial-1-depth has a statement to print out firmware version. Also, could you check that librealsense can properly stream data from individual cameras?
I updated my cameras to version 2.60.0.0, but am still getting the segmentation fault. Both cameras can properly stream data when plugged in individually.
I've pushed a commit (bbf9e73a43eb0d38eb982dea2dd94cf8f55511b2) which should fix this issue.
The problem is that our Video4Linux backend was not correctly determining which USB device corresponds to which /dev/video* file. It was only looking for a VID/PID match, which meant that multiple instances of the same device on Linux would be incorrectly associated. The new code matches based on USB bus number and device number, which should work regardless of number and combination of devices are plugged in.