I see from the Analogue Camera Module HowTo guide that the video input selection is currently not supported in the kernel driver:
Apalis/Colibri iMX6
The kernel drivers for Apalis/Colibri iMX6 currently do no allow switching the VDACs channels.
For ADV7180, fix set to Channel 3
For ADV7280, fix set to Channel 0
For MAX9526, fix set to the Auto-Select feature
Can anyone tell me if there are plans to support switching of video inputs?
And if so, is there a timeline for adding this functionality?
Also when running the recommended gstreamer command from the HowTo document:-
However I am interested to know why imxipuvideosink is not working for me. I saw similar result when using imxipuvideosink in a example form the Freescale’s github page. Does anyone know why the imxipuvideosink sink isn’t working properly on my Apalis module?
Can anyone tell me if there are plans to support switching of video inputs? And if so, is there a timeline for adding this functionality?
Currently there are no plans to add the support for switching VDACS? Why do you this feature?
The resulting video display seems to loose horizontal sync
Could you explain this more? Maybe you can share an example video.
However I am interested to know why imxipuvideosink is not working for me. I saw similar result when using imxipuvideosink in a example form the Freescale’s github page. Does anyone know why the imxipuvideosink sink isn’t working properly on my Apalis module?
What exactly is not working? If you saw similar results on Github, then maybe the issue is linked to Gstreamer and we might not fix it?
Could you also please try the Bsp 2.8b3 and check if the issue is still present?
I am guessing you are asking why do I want this feature. Without arguing the merits of the requirements I have for my current project, I would point out that Toradex designed the board with 4 video inputs. Why would you design a board with multiple inputs if you didn’t intend on using more than one of them?
The feature of switching channels is integrated into the kernel driver for the T20/T30 based products using the standard V4L based ioctl.
For the i.MX 6 based products that ioctl is already taken to chose between the possible camera inputs of the i.MX 6. So there is no straightforward way on how to implement that interface to userspace.
So to answer your original question: We currently have no plans to implement this feature, at least not without a clear picture what our customers requirements would be for such a feature.
Note that nothing prevents you from switching channels from user space by directly write to the I2C bus. The INSEL bitfield is in register 0 bits 4:0, so to e.g. switch to Ain2: