<?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: imx6ul adv7181 problem in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-adv7181-problem/m-p/736551#M114628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems these are standard V4L2 VIDIOC_ENUM_xx ioctl structures.&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Nov 2017 11:32:36 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2017-11-02T11:32:36Z</dc:date>
    <item>
      <title>imx6ul adv7181 problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-adv7181-problem/m-p/736547#M114624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have troubled with my imx6ul camera for some days. I used adv7181 on my imx6ul custom board,&amp;nbsp; now ,I have already moved the 7181's driver to my 4.1.15 BSP. The driver is refer to the adv7180.c , and now , the device has been already registerd, the signal of clock and&amp;nbsp; adv7181's 8 output data signals are all right . But when I use '/unit_tests/mx6s_v4l2_capture.out -m 0 -d /dev/video0' to test my driver, there is a error log just like this&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'Found v4l2 capture device /dev/video0.&lt;BR /&gt;&amp;nbsp; VIDIOC_S_PARM failed'&lt;/P&gt;&lt;P&gt;I am not sure whether my test method is wrong or my driver have some other&amp;nbsp; problems. Someone could&amp;nbsp; give me some advices?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With my best regards&lt;/P&gt;&lt;P&gt;Jun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 09:06:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-adv7181-problem/m-p/736547#M114624</guid>
      <dc:creator>lemficb</dc:creator>
      <dc:date>2017-11-01T09:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ul adv7181 problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-adv7181-problem/m-p/736548#M114625</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;&lt;/P&gt;&lt;P&gt;could you try attached patch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 23:12:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-adv7181-problem/m-p/736548#M114625</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-11-01T23:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ul adv7181 problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-adv7181-problem/m-p/736549#M114626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class=""&gt;igorpadykov, thanks your quick reply .&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 02:15:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-adv7181-problem/m-p/736549#M114626</guid>
      <dc:creator>lemficb</dc:creator>
      <dc:date>2017-11-02T02:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ul adv7181 problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-adv7181-problem/m-p/736550#M114627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;igorpadykov, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have already put your patch to my kernel. But when I build the adv7180 driver , I found that&amp;nbsp; there is no definition of "enum_framesizes",''enum_frameintervals"&amp;nbsp; and "g_std"&amp;nbsp; in the "static struct v4l2_subdev_video_ops " and "static struct v4l2_subdev_core_ops " struct. So I remove these three member variable, and the driver can be complied by.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I used the&amp;nbsp; file "mx6s_v4l2_capture.c" to test ,and the camera have some problem. I don't know whether&amp;nbsp; the driver i removed may lead to this problem. I&amp;nbsp;&amp;nbsp; can detect the adv7181 device and&amp;nbsp; the adv7181's output data also have signal.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Here is the test result.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;root@imx6ulevk:~# ./camera_test -ow 320 -oh 240 -m 1 -d /dev/video0&lt;BR /&gt;Found v4l2 capture device /dev/viadv7180_s_parm: enter adv7180_s_parm&lt;BR /&gt;deo0.&lt;BR /&gt;pixelformat (output by camera): UYVY&lt;BR /&gt;get capture mode 1 framesize failed&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Jun&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 08:25:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-adv7181-problem/m-p/736550#M114627</guid>
      <dc:creator>lemficb</dc:creator>
      <dc:date>2017-11-02T08:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ul adv7181 problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-adv7181-problem/m-p/736551#M114628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems these are standard V4L2 VIDIOC_ENUM_xx ioctl structures.&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 11:32:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-adv7181-problem/m-p/736551#M114628</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-11-02T11:32:36Z</dc:date>
    </item>
  </channel>
</rss>

