[Letux-kernel] [PATCH] letux: fix capture tool a bit
H. Nikolaus Schaller
hns at goldelico.com
Mon Jan 1 22:30:23 CET 2018
Hi Andreas,
> Am 27.12.2017 um 10:23 schrieb Andreas Kemnade <andreas at kemnade.info>:
>
> This fixes the capture tool to at least give no invalid
> format messages. But it does still not work stable
The key problem is elsewhere. Maybe the omap3isp driver.
I can start the mplayer based camera-demo only once. If
I start a second time, it reports select-timeouts, i.e.
no video stream. To make it working for one call needs
a reboot :(
>
> Signed-off-by: Andreas Kemnade <andreas at kemnade.info>
> ---
> Letux/root/capture.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Letux/root/capture.c b/Letux/root/capture.c
> index 03a798982fba..2a24c86766ac 100644
> --- a/Letux/root/capture.c
> +++ b/Letux/root/capture.c
> @@ -519,7 +519,7 @@ init_device (void)
> fmt.fmt.pix.height = 1024;
> // fmt.fmt.pix.pixelformat = V4L2_PIX_FMT_YUYV;
> fmt.fmt.pix.pixelformat = V4L2_PIX_FMT_UYVY;
Yes, there is some mixup with YUVY and UYVY... Maybe in the
ISP.
> - fmt.fmt.pix.field = V4L2_FIELD_INTERLACED;
> + //fmt.fmt.pix.field = V4L2_FIELD_INTERLACED;
Ah, yes.
I remember that the driver does not support interlaced mode.
But I am not even sure if the camera module can do that.
>
> if (-1 == xioctl (fd, VIDIOC_S_FMT, &fmt))
> errno_exit ("VIDIOC_S_FMT");
> --
> 2.11.0
I have added it to letux-4.15-rc6.
BR and thanks,
Nikolaus
More information about the Letux-kernel
mailing list