TheImagingSource / tiscamera

The Linux SDK for The Imaging Source cameras.
https://www.theimagingsource.com
Apache License 2.0
299 stars 148 forks source link

A solution for DMK 21BUC03? #557

Open quantumm opened 2 months ago

quantumm commented 2 months ago

Hi everyone,

First, thank you for your work to maintain an open-source package for Linux. If only all suppliers would do like you ;)

I have found a probably quite old model DMK 21BUC03 connected with USB. Do you have a solution for this model?

By the way, i am part of the team maintaining the PyMoDAQ project, which is an open-source framework to develop data acquisition programs. Could be interesting for you. Especially since we want to promote suppliers like you among the scientific community.

All the best!

TIS-Kevin commented 2 months ago

Hello quantumm, as you can see in our Supported Device List: https://www.theimagingsource.com/en-us/documentation/tiscamera/supported-devices.html the 21 Series is not supported.

A possible way to use the camera with tiscamera could be to disable the Blacklist. The camera is not supported thus the functionality is not guaranteed. https://www.theimagingsource.com/en-us/documentation/tiscamera/environment.html#tcam-disable-device-blacklist

quantumm commented 2 months ago

Ok I will have a look at that.

Thanks for your reactive response.

TIS-Edgar commented 2 months ago

A bit further information:

Older cameras like 21,31,41,61 etc are not supported by tiscamera. Never have, never will be. They are just. to. old.

They are in theory v4l2 compatible. They do not notify the system that they are UVC devices, so you need to tell the system yourself.

You can do that with udev rules, documented here: https://github.com/TheImagingSource/tiscamera/blob/7da8da1938f47a8d38d285175d92508f0de9533b/data/udev/80-theimagingsource-cameras.rules.in#L5-L28

Only the legacy section, nothing more. If the video formats do not work properly then that is all the camera will deliver in that mode and you are on your own.

quantumm commented 2 months ago

Thanks for all those informations. I will see what I can do.

Best