Closed otaku42 closed 1 year ago
Debugging this issue took me by far longer than the short timespan between issue and this comment may suggest... :-)
This problem is caused by using V4L2_CTRL_TYPE_CTRL_CLASS in a bitmasking operation, although it's an integer (enum). As a result, iter_read_controls() skips all control classes except V4L2_CTRL_TYPE_INTEGER, V4L2_CTRL_TYPE_BITMASK and V4L2_CTRL_TYPE_INTEGER_MENU .
According to v4l2-ctl, my Microsoft LifeCam Studio HD has more controls than those that v4l2py makes available in Device.controls.
v4l2-ctl -d /dev/video4 -L :
whereas ...
... just gives:
Note the missing controls of type bool and menu.