I've had some instability with V4L2 sometimes. (Before and after this patch) I haven't tracked it down.
Nothing the patch does should have caused that unless there's an assumption about pixel size. (Which wouldn't be the problem in the logs above, since it went with the default. So as far as the code, the only difference is the message. )
I appreciate your work, and just pushed a few more, that I don't know if they work, and added a tested option, so that things can be added, and if they work, they can be marked as tested.
INDI as far as I know doesn't have an easy way to get that information, or any surveys. I know I am ambivalent on them, but maybe add an option in Kstars to generate a report of data that could be posted somewhere could be something looked at? Because sometimes it's hard to tell if people are using something or if it was working years ago, but got broken. (Any way it's done, it's imperfect.)
It seems the reported name in the post above is the same for several generic camera boards using the Sony IMX290 color version. I have a version purchased on Aliexpress with a product name of "2mp Camera module"
Reported Name In Indi using V4l2 driver: USB 2.0 Camera: USB Camera Common Name: Generic USB Camera Module IMX290
Pixel size 2.9um x 2.9um
Using the INDI webcam driver, there is no access to adjust this cameras settings (brightness, contrast, gamma, gain, etc.) but will give a looping feed in Ekos for guiding. If selecting V4L2 CCD the settings are available but there is no image when trying to use it under Ekos.
I am relatively new here, but my driver spat out this message and I am here to say that it works!
2020-12-27T21:48:42: [INFO] Please report that the camera worked: Name: NexImage 10/NexImage 10 Detected and working, to bit.ly/2S1Vxjq
2020-12-27T21:48:42: [INFO] Setting pixel size correctly for NexImage 10
I am not sure what information you will need, but its the first time I am seeing this mesage, and yet not the first time it has been plugged in.
2021-01-07T02:03:11: [INFO] For future autodetection of pixel size, please report the following: Reported Name: Microsoft® LifeCam Cinema(TM):, Common Name (Eg: NexImage 10), Pixel Size to the following thread:
2021-01-18T16:55:12: [INFO] World Coordinate System is enabled.
2021-01-18T16:55:12: [INFO] Device configuration applied.
2021-01-18T16:55:12: [INFO] Upload settings set to client only.
2021-01-18T16:55:12: [INFO] Loading device configuration...
2021-01-18T16:55:11: [INFO] For future autodetection of pixel size, please report the following: Reported Name: HD WebCam: HD WebCam, Common Name (Eg: NexImage 10), Pixel Size to the following thread: bit.ly/2S1Vxjq
2021-01-18T16:55:11: [INFO] Setting pixel size to default of 5.60
2021-01-18T16:55:11: [WARNING] Manual/auto exposure control is not possible on the device!
2021-01-18T16:55:11: [WARNING] Absolute exposure duration control is not possible on the device!
2021-01-18T16:55:11: [INFO] Found initial Input "Camera 1", Format "YUYV 4:2:2", Size 640x480, Frame interval 1/30s
2021-01-18T16:55:11: [INFO] V4L2 CCD Device is online. Initializing properties.
It's good, I could follow the documentation, and program the streaming as best I could.
To be tested in real life...
2021-01-18T22:45:38 Reçu une image 2 de 2.
2021-01-18T22:45:38 Download Time: 0.07 s, New Download Time Estimate: 0.09 s.
2021-01-18T22:45:28 Capturing 10,000-second image...
2021-01-18T22:45:28 Reçu une image 1 de 2.
2021-01-18T22:45:28 Download Time: 0.09 s, New Download Time Estimate: 0.10 s.
2021-01-18T22:45:18 Capturing 10,000-second image...
2021-01-18T22:45:18 Job requires 10,000-second images, has 0/2 frames captured and will be processed.
2021-01-18T22:45:18 Warning: option "Always Reset Sequence When Starting" is enabled and resets the sequence counts.
2021-01-18T22:43:48 Reçu une image 1 de 1.
2021-01-18T22:43:48 Download Time: 0.12 s, New Download Time Estimate: 0.12 s.
2021-01-18T22:43:47 Capturing 1,000-second image...
2021-01-18T22:43:47 Job requires 1,000-second images, has 0/1 frames captured and will be processed.
2021-01-18T22:43:47 Warning: option "Always Reset Sequence When Starting" is enabled and resets the sequence counts.