<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: MXC_V4L2 failure withour error in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/MXC-V4L2-failure-withour-error/m-p/788437#M122179</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already&amp;nbsp;program the v4l2 device and read the documentation that you linked.&lt;/P&gt;&lt;P&gt;It works most of the time but sometimes it does not. I suspect the v4l2 device opening cause I let run the fpga+sensor system and it continuoulsy acquire images. I have writting a test program that first initialize the v4l2 device, then start &amp;amp; stop stream during few times and repeat this action 5 times and then shutdown the v4l2 device. I repeat this actions several times and&amp;nbsp;most of the time&amp;nbsp;it works (I can start &amp;amp; stop stream multiplte times and still work) but sometimes it does not (and the multiple times I start and stop stream, it never works that's why I suspect the initialization). I have no error with ioctls that I use and I always use the same initialization.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jul 2018 12:14:34 GMT</pubDate>
    <dc:creator>alexisfronteau</dc:creator>
    <dc:date>2018-07-30T12:14:34Z</dc:date>
    <item>
      <title>MXC_V4L2 failure withour error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MXC-V4L2-failure-withour-error/m-p/788435#M122177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I&amp;nbsp;am currently developing a camera with a Video Sensor + FPGA + IMX6Q with linux 3.14.52 on it.&lt;/P&gt;&lt;P&gt;I wrote a program to acquire images and it often succeed but sometimes (~1/10) I have no v4l2 buffer filled... it seems that the problem is on imx6 cause&amp;nbsp;it appears even if i do not restart FPGA. I have no error, it acts like if there was no image received but I know the FPGA send ones. I use a MIPI connection. If I run the same simple program that just initialize v4l2 device multiple times, it will happens sometimes but works fine before and after, so I think the porblem is during v4l2 device intialization, maybe a scheduling isssue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2018 14:10:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MXC-V4L2-failure-withour-error/m-p/788435#M122177</guid>
      <dc:creator>alexisfronteau</dc:creator>
      <dc:date>2018-07-26T14:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: MXC_V4L2 failure withour error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MXC-V4L2-failure-withour-error/m-p/788436#M122178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally, programming a V4L2 device consists of these steps:&lt;BR /&gt;− Opening the device&lt;BR /&gt;− Changing device properties, selecting a video and audio input, video standard, picture brightness, etc.&lt;BR /&gt;− Negotiating a data format&lt;BR /&gt;− Negotiating an input/output method&lt;BR /&gt;− Executing the actual input/output loop&lt;BR /&gt;− Closing the device&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check Chapter 9 Video for Linux Two (V4L2) Driver attached Linux Manual and presentation on&lt;/P&gt;&lt;P&gt;&lt;A class="" data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fcommunity.freescale.com%2Fdocs%2FDOC-100482" rel="nofollow" target="_blank"&gt;A Deep Dive into Image Processing for i.MX 6 Se... | NXP Community&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2018 17:31:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MXC-V4L2-failure-withour-error/m-p/788436#M122178</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2018-07-26T17:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: MXC_V4L2 failure withour error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MXC-V4L2-failure-withour-error/m-p/788437#M122179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already&amp;nbsp;program the v4l2 device and read the documentation that you linked.&lt;/P&gt;&lt;P&gt;It works most of the time but sometimes it does not. I suspect the v4l2 device opening cause I let run the fpga+sensor system and it continuoulsy acquire images. I have writting a test program that first initialize the v4l2 device, then start &amp;amp; stop stream during few times and repeat this action 5 times and then shutdown the v4l2 device. I repeat this actions several times and&amp;nbsp;most of the time&amp;nbsp;it works (I can start &amp;amp; stop stream multiplte times and still work) but sometimes it does not (and the multiple times I start and stop stream, it never works that's why I suspect the initialization). I have no error with ioctls that I use and I always use the same initialization.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2018 12:14:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MXC-V4L2-failure-withour-error/m-p/788437#M122179</guid>
      <dc:creator>alexisfronteau</dc:creator>
      <dc:date>2018-07-30T12:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: MXC_V4L2 failure withour error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MXC-V4L2-failure-withour-error/m-p/788438#M122180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;it seems that the problem occurs more often when I launch another program&amp;nbsp;concurrently that use an uart to comunicate with a sensor. I don't know if it is related inside the kernel or if an interrupt may disturb the v4l2 driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 08:52:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MXC-V4L2-failure-withour-error/m-p/788438#M122180</guid>
      <dc:creator>alexisfronteau</dc:creator>
      <dc:date>2018-07-31T08:52:53Z</dc:date>
    </item>
  </channel>
</rss>

