OpenThermal / libseek-thermal

SEEK thermal compact camera driver supporting the thermal Compact, thermal CompactXR and and thermal CompactPRO
MIT License
286 stars 99 forks source link

Using two seek compacts at once. #78

Open randyleram opened 11 months ago

randyleram commented 11 months ago

I’ve got one seek camera working, it’s brilliant. Thanks for the hard work!

Is there a way to run two instances into two select v4l2 loop back devices? I’m not sure where to begin with it.

I currently have a service on boot to start seek viewer streaming to one v4l2 loop back device.

Just unsure how to tell libseek which usb port to use etc.

Hope this made sense.

Bostwickenator commented 10 months ago

This isn't supported right now unfortunately. It should be possible to add. This https://github.com/OpenThermal/libseek-thermal/blob/master/src/SeekDevice.cpp#L154 is where we walk the devices. Does running your app a second time fail with "Error: failed to claim interface"?

randyleram commented 10 months ago

Ok thanks I’ll have a look. Throws a Libusb error trying to run a second time, device busy. Along those lines.