<?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>i.MX ProcessorsのトピックRe: v4l2 capture: slave not found</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599775#M90056</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please check gray camera bring-up steps on&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fcommunity.freescale.com%2Fmessage%2F309833%23309833" rel="nofollow" target="_blank"&gt;https://community.freescale.com/message/309833#309833&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.freescale.com/message/331888"&gt;https://community.freescale.com/message/331888&lt;/A&gt;&lt;/P&gt;&lt;P&gt;first please try with imx-test (.test/mxc_v4l2_test)&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.4.tar.gz"&gt;www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.4.tar.gz&lt;/A&gt;&lt;/P&gt;&lt;P&gt;camera connections can be checked with Table 66. Camera Input Signal Cross&lt;/P&gt;&lt;P&gt;Reference, Format, and Bits Per Cycle i.MX6DQ Datasheet&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fcache.freescale.com%2Ffiles%2F32bit%2Fdoc%2Fdata_sheet%2FIMX6DQCEC.pdf" rel="nofollow" target="_blank"&gt;http://cache.freescale.com/files/32bit/doc/data_sheet/IMX6DQCEC.pdf&lt;/A&gt;&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>Sun, 02 Oct 2016 23:54:28 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2016-10-02T23:54:28Z</dc:date>
    <item>
      <title>v4l2 capture: slave not found</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599774#M90055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am developing a driver for our custom in house sensor. The sensor only supports grayscale color formatting and I somehow managed to get CSI port start pumping data into /dev/video0.&lt;/P&gt;&lt;P&gt;But the problem is when I try to use V4L with say gstreamer command&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;gst-launch-1.0 imxv4l2src num-buffers=1 device=/dev/video0 ! filesink location=/home/root/sample.raw&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The answer is as below:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;MT6415CA: ioctl_g_ifparm()&lt;BR /&gt; clock=mclk=40000000&lt;BR /&gt; MT6415CA: ioctl_g_fmt_cap()&lt;BR /&gt; MT6415CA: ioctl_s_power(2130787148, 1)&lt;BR /&gt; MT6415CA: ioctl_init()&lt;BR /&gt; MT6415CA: ioctl_dev_init()&lt;BR /&gt;Sending CMD = e1 to slave = 0a&lt;BR /&gt; Error Notifier: received but ignored 0&lt;BR /&gt; MT6415CA: ioctl_g_chip_indent()&lt;BR /&gt; MT6415CA: ioctl_s_power(2130787148, 0)&lt;BR /&gt;ERROR: v4l2 capture: slave not found!&lt;BR /&gt;Can't get caps from capture device, use the default setting.&lt;BR /&gt;Perhaps haven't capture device.&lt;BR /&gt;====== IMXV4L2SRC: 4.0.9 build on Jul 11 2016 15:47:15. ======&lt;BR /&gt;Setting pipeline to PAUSED ...&lt;BR /&gt; MT6415CA: ioctl_g_ifparm()&lt;BR /&gt; clock=mclk=40000000&lt;BR /&gt; MT6415CA: ioctl_g_fmt_cap()&lt;BR /&gt; MT6415CA: ioctl_s_power(2130787148, 1)&lt;BR /&gt; MT6415CA: ioctl_init()&lt;BR /&gt; MT6415CA: ioctl_dev_init()&lt;BR /&gt;Sending CMD = e1 to slave = 0a&lt;BR /&gt; Error Notifier: received but ignored 0&lt;BR /&gt; MT6415CA: ioctl_g_chip_indent()&lt;BR /&gt; MT6415CA: ioctl_s_power(2130787148, 0)&lt;BR /&gt;ERROR: Pipeline doesn't want to pause.&lt;BR /&gt;Setting pipeline to NULL ...&lt;BR /&gt;Freeing pipeline ...&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Most of the messages are my debug messages. I am making sure that I register my device with&amp;nbsp;v4l2_int_device_register and result is not negative when the function is called within my _probe function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed&amp;nbsp;mxc_v4l_open in order to see which of the statement below returns true.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;if(cam-&amp;gt;sensor==NULL||&amp;nbsp;cam-&amp;gt;sensor-&amp;gt;type!=v4l2_int_type_slave)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;and it seems cam-&amp;gt;sensor is NULL and that's why mxc_v4l_open function prints slave not found message.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am now digging to see where this struct is registered to see what's wrong. Any ideas are welcome.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Oct 2016 12:08:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599774#M90055</guid>
      <dc:creator>mcergun</dc:creator>
      <dc:date>2016-10-02T12:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: v4l2 capture: slave not found</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599775#M90056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please check gray camera bring-up steps on&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fcommunity.freescale.com%2Fmessage%2F309833%23309833" rel="nofollow" target="_blank"&gt;https://community.freescale.com/message/309833#309833&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.freescale.com/message/331888"&gt;https://community.freescale.com/message/331888&lt;/A&gt;&lt;/P&gt;&lt;P&gt;first please try with imx-test (.test/mxc_v4l2_test)&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.4.tar.gz"&gt;www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.4.tar.gz&lt;/A&gt;&lt;/P&gt;&lt;P&gt;camera connections can be checked with Table 66. Camera Input Signal Cross&lt;/P&gt;&lt;P&gt;Reference, Format, and Bits Per Cycle i.MX6DQ Datasheet&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fcache.freescale.com%2Ffiles%2F32bit%2Fdoc%2Fdata_sheet%2FIMX6DQCEC.pdf" rel="nofollow" target="_blank"&gt;http://cache.freescale.com/files/32bit/doc/data_sheet/IMX6DQCEC.pdf&lt;/A&gt;&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>Sun, 02 Oct 2016 23:54:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599775#M90056</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-10-02T23:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: v4l2 capture: slave not found</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599776#M90057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;I&amp;nbsp;checked the links you have posted, sadly most of them don't help to someone in my position &lt;STRONG&gt;as I am able to capture byte stream but not video stream&lt;/STRONG&gt;. I can get bytes put into memory and see them with simple viewers such as 'cat'. The bytes and synchronization are not perfect but that'll have to do until I figure out how to get a "video data" out of those bytes.&lt;/P&gt;&lt;P&gt;Today I activated all debug messages and below is the result:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;gst-launch-1.0 imxv4l2src ! fakesink&lt;BR /&gt;[INFO] Product Info: i.MX6Q/D/S&lt;BR /&gt;display(/dev/fb0) resolution is (1024x768).&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, file = -1466735680&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, dev = -1468566528&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, cam = -1471340544&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug1 = 2130787116&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug2 = -1471338184&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug3 = -1463829632&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug21 = 2130787116&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug22 = 0&lt;/P&gt;&lt;P&gt;In MVC: mxc_v4l_open&lt;BR /&gt; device name is Mxc Camera&lt;BR /&gt; MT6415CA: ioctl_g_ifparm()&lt;BR /&gt; clock=mclk=40000000&lt;BR /&gt; MT6415CA: ioctl_g_fmt_cap()&lt;BR /&gt;End of mxc_v4l_open: v2f pix widthxheight 64 x 64&lt;BR /&gt;End of mxc_v4l_open: crop_bounds widthxheight 64 x 64&lt;BR /&gt;End of mxc_v4l_open: crop_defrect widthxheight 64 x 64&lt;BR /&gt;End of mxc_v4l_open: crop_current widthxheight 64 x 64&lt;BR /&gt;On Open: Input to ipu size is 64 x 64&lt;BR /&gt; MT6415CA: ioctl_s_power(2130787116, 1)&lt;BR /&gt; MT6415CA: ioctl_init()&lt;BR /&gt; MT6415CA: ioctl_dev_init()&lt;BR /&gt;Sending CMD = e1 to slave = 0a&lt;BR /&gt;v4l2_debug: in mxc_v4l_open oops&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl 80685600&lt;BR /&gt; case VIDIOC_QUERYCAP&lt;BR /&gt;In MVC:mxc_v4l_close&lt;BR /&gt; MT6415CA: ioctl_s_power(2130787116, 0)&lt;BR /&gt;mxc_v4l_close: release resource&lt;BR /&gt;MVC: In mxc_free_frame_buf&lt;BR /&gt;In MVC:mxc_free_frames&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, file = -1466734912&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, dev = -1468565504&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, cam = -1464659968&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug1 = 0&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug2 = -1464657608&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug3 = -1466216832&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug21 = 0&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug22 = 0&lt;/P&gt;&lt;P&gt;In MVC: mxc_v4l_open&lt;BR /&gt; device name is Mxc Camera&lt;BR /&gt;cam-&amp;gt;sensor == NULL&lt;BR /&gt;ERROR: v4l2 capture: slave not found!&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, file = -1466110400&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, dev = -1468566528&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, cam = -1471340544&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug1 = 2130787116&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug2 = -1471338184&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug3 = -1463829632&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug21 = 2130787116&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug22 = 0&lt;/P&gt;&lt;P&gt;In MVC: mxc_v4l_open&lt;BR /&gt; device name is Mxc Camera&lt;BR /&gt; MT6415CA: ioctl_g_ifparm()&lt;BR /&gt; clock=mclk=40000000&lt;BR /&gt; MT6415CA: ioctl_g_fmt_cap()&lt;BR /&gt;End of mxc_v4l_open: v2f pix widthxheight 64 x 64&lt;BR /&gt;End of mxc_v4l_open: crop_bounds widthxheight 64 x 64&lt;BR /&gt;End of mxc_v4l_open: crop_defrect widthxheight 64 x 64&lt;BR /&gt;End of mxc_v4l_open: crop_current widthxheight 64 x 64&lt;BR /&gt;On Open: Input to ipu size is 64 x 64&lt;BR /&gt; MT6415CA: ioctl_s_power(2130787116, 1)&lt;BR /&gt; MT6415CA: ioctl_init()&lt;BR /&gt; MT6415CA: ioctl_dev_init()&lt;BR /&gt;Sending CMD = e1 to slave = 0a&lt;BR /&gt;v4l2_debug: in mxc_v4l_open oops&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl 80685600&lt;BR /&gt; case VIDIOC_QUERYCAP&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl 80685600&lt;BR /&gt; case VIDIOC_QUERYCAP&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c02c5651&lt;BR /&gt; MT6415CA: ioctl_g_chip_indent()&lt;BR /&gt;In MVC:mxc_v4l_close&lt;BR /&gt; MT6415CA: ioctl_s_power(2130787116, 0)&lt;BR /&gt;mxc_v4l_close: release resource&lt;BR /&gt;MVC: In mxc_free_frame_buf&lt;BR /&gt;In MVC:mxc_free_frames&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, file = -1466113856&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, dev = -1468565504&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, cam = -1464659968&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug1 = 0&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug2 = -1464657608&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug3 = -1466216832&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug21 = 0&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug22 = 0&lt;/P&gt;&lt;P&gt;In MVC: mxc_v4l_open&lt;BR /&gt; device name is Mxc Camera&lt;BR /&gt;cam-&amp;gt;sensor == NULL&lt;BR /&gt;ERROR: v4l2 capture: slave not found!&lt;BR /&gt;Can't get caps from capture device, use the default setting.&lt;BR /&gt;Perhaps haven't capture device.&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, file = -1466084032&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, dev = -1468566528&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, cam = -1471340544&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug1 = 2130787116&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug2 = -1471338184&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug3 = -1463829632&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug21 = 2130787116&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug22 = 0&lt;/P&gt;&lt;P&gt;In MVC: mxc_v4l_open&lt;BR /&gt; device name is Mxc Camera&lt;BR /&gt; MT6415CA: ioctl_g_ifparm()&lt;BR /&gt; clock=mclk=40000000&lt;BR /&gt; MT6415CA: ioctl_g_fmt_cap()&lt;BR /&gt;End of mxc_v4l_open: v2f pix widthxheight 64 x 64&lt;BR /&gt;End of mxc_v4l_open: crop_bounds widthxheight 64 x 64&lt;BR /&gt;End of mxc_v4l_open: crop_defrect widthxheight 64 x 64&lt;BR /&gt;End of mxc_v4l_open: crop_current widthxheight 64 x 64&lt;BR /&gt;On Open: Input to ipu size is 64 x 64&lt;BR /&gt; MT6415CA: ioctl_s_power(2130787116, 1)&lt;BR /&gt; MT6415CA: ioctl_init()&lt;BR /&gt; MT6415CA: ioctl_dev_init()&lt;BR /&gt;Sending CMD = e1 to slave = 0a&lt;BR /&gt;v4l2_debug: in mxc_v4l_open oops&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl 80685600&lt;BR /&gt; case VIDIOC_QUERYCAP&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl 80685600&lt;BR /&gt; case VIDIOC_QUERYCAP&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c02c5651&lt;BR /&gt; MT6415CA: ioctl_g_chip_indent()&lt;BR /&gt;In MVC:mxc_v4l_close&lt;BR /&gt; MT6415CA: ioctl_s_power(2130787116, 0)&lt;BR /&gt;mxc_v4l_close: release resource&lt;BR /&gt;MVC: In mxc_free_frame_buf&lt;BR /&gt;In MVC:mxc_free_frames&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, file = -1466082112&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, dev = -1468565504&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, cam = -1464659968&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug1 = 0&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug2 = -1464657608&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug3 = -1466216832&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug21 = 0&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug22 = 0&lt;/P&gt;&lt;P&gt;In MVC: mxc_v4l_open&lt;BR /&gt; device name is Mxc Camera&lt;BR /&gt;cam-&amp;gt;sensor == NULL&lt;BR /&gt;ERROR: v4l2 capture: slave not found!&lt;BR /&gt;Can't get caps from capture device, use the default setting.&lt;BR /&gt;Perhaps haven't capture device.&lt;BR /&gt;====== IMXV4L2SRC: 4.0.9 build on Jul 11 2016 15:47:15. ======&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, file = -1466765120&lt;BR /&gt;Setting pipeline to PAUSED ...&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, dev = -1468566528&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, cam = -1471340544&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug1 = 2130787116&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug2 = -1471338184&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug3 = -1463829632&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug21 = 2130787116&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug22 = 0&lt;/P&gt;&lt;P&gt;In MVC: mxc_v4l_open&lt;BR /&gt; device name is Mxc Camera&lt;BR /&gt; MT6415CA: ioctl_g_ifparm()&lt;BR /&gt; clock=mclk=40000000&lt;BR /&gt; MT6415CA: ioctl_g_fmt_cap()&lt;BR /&gt;End of mxc_v4l_open: v2f pix widthxheight 64 x 64&lt;BR /&gt;End of mxc_v4l_open: crop_bounds widthxheight 64 x 64&lt;BR /&gt;End of mxc_v4l_open: crop_defrect widthxheight 64 x 64&lt;BR /&gt;End of mxc_v4l_open: crop_current widthxheight 64 x 64&lt;BR /&gt;On Open: Input to ipu size is 64 x 64&lt;BR /&gt; MT6415CA: ioctl_s_power(2130787116, 1)&lt;BR /&gt; MT6415CA: ioctl_init()&lt;BR /&gt; MT6415CA: ioctl_dev_init()&lt;BR /&gt;Sending CMD = e1 to slave = 0a&lt;BR /&gt;v4l2_debug: in mxc_v4l_open oops&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl 80685600&lt;BR /&gt; case VIDIOC_QUERYCAP&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl 80685600&lt;BR /&gt; case VIDIOC_QUERYCAP&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c02c5651&lt;BR /&gt; MT6415CA: ioctl_g_chip_indent()&lt;BR /&gt;In MVC:mxc_v4l_close&lt;BR /&gt; MT6415CA: ioctl_s_power(2130787116, 0)&lt;BR /&gt;mxc_v4l_close: release resource&lt;BR /&gt;MVC: In mxc_free_frame_buf&lt;BR /&gt;In MVC:mxc_free_frames&lt;BR /&gt;ERROR: Pipeline doesn't want to pause.&lt;BR /&gt;Setting pipeline to NULL ...&lt;BR /&gt;Freeing pipeline ...&lt;BR /&gt;root@imx6qpsabresd:~#&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I still can't figure out why it closes the communication and tries to reopen it with wrong file pointer. Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: I forgot to add what those "debug1 2 3" variables are. They are added to check pointers to v4l2_int_device variables.&lt;/P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;struct v4l2_int_device *debug1 = cam-&amp;gt;sensor;&lt;/P&gt;&lt;P&gt;pr_info("v4l2_debug: in mxc_v4l_open, debug1 = %d\n", debug1);&lt;/P&gt;&lt;P&gt;struct v4l2_int_device **debug2 = cam-&amp;gt;all_sensors;&lt;/P&gt;&lt;P&gt;pr_info("v4l2_debug: in mxc_v4l_open, debug2 = %d\n", debug2);&lt;/P&gt;&lt;P&gt;struct v4l2_int_device *debug3 = cam-&amp;gt;self;&lt;/P&gt;&lt;P&gt;pr_info("v4l2_debug: in mxc_v4l_open, debug3 = %d\n", debug3);&lt;/P&gt;&lt;P&gt;pr_info("v4l2_debug: in mxc_v4l_open, debug21 = %d\n", *debug2);&lt;/P&gt;&lt;P&gt;pr_info("v4l2_debug: in mxc_v4l_open, debug22 = %d\n", *(debug2 + 1));&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2016 14:50:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599776#M90057</guid>
      <dc:creator>mcergun</dc:creator>
      <dc:date>2016-10-03T14:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: v4l2 capture: slave not found</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599777#M90058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is imx-test working for you ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2016 00:55:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599777#M90058</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-10-04T00:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: v4l2 capture: slave not found</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599778#M90059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Today I tried to compile it, but instructions were for ltib and I use Yocto. So I had no success at getting it compiled.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2016 10:57:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599778#M90059</guid>
      <dc:creator>mcergun</dc:creator>
      <dc:date>2016-10-04T10:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: v4l2 capture: slave not found</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599779#M90060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it compiles fine with yocto too :&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fpatches.openembedded.org%2Fpatch%2F110753%2F" rel="nofollow" target="_blank"&gt;http://patches.openembedded.org/patch/110753/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2016 11:18:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599779#M90060</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-10-04T11:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: v4l2 capture: slave not found</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599780#M90061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good news Igor,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found out that there is an image for imx-test tools and I compiled it with&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;bitbake imx-test&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;After running&amp;nbsp;&lt;STRONG&gt;mxc_v4l2_capture.out&lt;/STRONG&gt; and &lt;STRONG&gt;mxc_v4l2_still.out&lt;/STRONG&gt; tests I am getting some data recorded in "still.yuv" and extensionless "64" files. Their hexdump shows somewhat sensible data to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;root@imx6qpsabresd:/unit_tests# ./mxc_v4l2_capture.out -iw 64 -ih 64 -ow 64 -oh 64&lt;BR /&gt;in_width = 64, in_height = 64&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, file = -1466610304&lt;BR /&gt;out_width = 64, out_height = 64&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, dev = -1465298944&lt;BR /&gt;top = 0, left = 0&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, cam = -1465274368&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug1 = 2130787116&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug2 = -1465272008&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug3 = -1462941120&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug21 = 2130787116&lt;BR /&gt;v4l2_debug: in mxc_v4l_open, debug22 = 0&lt;/P&gt;&lt;P&gt;In MVC: mxc_v4l_open&lt;BR /&gt; device name is Mxc Camera&lt;BR /&gt; MT6415CA: ioctl_g_ifparm()&lt;BR /&gt; clock=mclk=40000000&lt;BR /&gt; MT6415CA: ioctl_g_fmt_cap()&lt;BR /&gt;End of mxc_v4l_open: v2f pix widthxheight 64 x 64&lt;BR /&gt;End of mxc_v4l_open: crop_bounds widthxheight 64 x 64&lt;BR /&gt;End of mxc_v4l_open: crop_defrect widthxheight 64 x 64&lt;BR /&gt;End of mxc_v4l_open: crop_current widthxheight 64 x 64&lt;BR /&gt;On Open: Input to ipu size is 64 x 64&lt;BR /&gt; MT6415CA: ioctl_s_power(2130787116, 1)&lt;BR /&gt; MT6415CA: ioctl_init()&lt;BR /&gt; MT6415CA: ioctl_dev_init()&lt;BR /&gt;Sending CMD = e1 to slave = 0a&lt;BR /&gt;v4l2_debug: in mxc_v4l_open oops&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c02c5651&lt;BR /&gt; MT6415CA: ioctl_g_chip_indent()&lt;BR /&gt;sensor chip is mt6415ca_camera&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;sensor supported frame size:&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c02c564a&lt;BR /&gt; MT6415CA: ioctl_enum_framesizes()&lt;BR /&gt; 64x64&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c02c564a&lt;BR /&gt; MT6415CA: ioctl_enum_framesizes()&lt;BR /&gt; 64x64&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c02c564a&lt;BR /&gt; MT6415CA: ioctl_enum_framesizes()&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c0405602&lt;BR /&gt; MT6415CA: ioctl_enum_fmt_cap()&lt;BR /&gt;sensor frame format: GREY&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c0405602&lt;BR /&gt; MT6415CA: ioctl_enum_fmt_cap()&lt;BR /&gt;sensor frame format: GREY&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c0405602&lt;BR /&gt; MT6415CA: ioctl_enum_fmt_cap()&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c0cc5616&lt;BR /&gt; case VIDIOC_S_PARM&lt;BR /&gt;In mxc_v4l2_s_param&lt;BR /&gt; MT6415CA: ioctl_g_parm()&lt;BR /&gt; Current capabilities are 1001&lt;BR /&gt; Current capturemode is 0 change to 0&lt;BR /&gt; Current framerate is 30 change to 30&lt;BR /&gt; MT6415CA: ioctl_s_parm()&lt;BR /&gt;frame rate is not supported!&lt;BR /&gt; MT6415CA: ioctl_g_ifparm()&lt;BR /&gt; clock=mclk=40000000&lt;BR /&gt; clock_curr=mclk=40000000&lt;BR /&gt; MT6415CA: ioctl_g_fmt_cap()&lt;BR /&gt; g_fmt_cap returns widthxheight of input as 64 x 64&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c0045627&lt;BR /&gt; case VIDIOC_S_INPUT&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c014563b&lt;BR /&gt; case VIDIOC_G_CROP&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl 4014563c&lt;BR /&gt; case VIDIOC_S_CROP&lt;BR /&gt; Cropping Input to ipu size 64 x 64&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c00c56c3&lt;BR /&gt; case VIDIOC_S_DEST_CROP&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c0cc5605&lt;BR /&gt; case VIDIOC_S_FMT&lt;BR /&gt;In MVC: mxc_v4l2_s_fmt&lt;BR /&gt; type=V4L2_BUF_TYPE_VIDEO_CAPTURE&lt;BR /&gt;End of mxc_v4l2_s_fmt: v2f pix widthxheight 64 x 64&lt;BR /&gt;End of mxc_v4l2_s_fmt: crop_bounds widthxheight 64 x 64&lt;BR /&gt;End of mxc_v4l2_s_fmt: crop_defrect widthxheight 64 x 64&lt;BR /&gt;End of mxc_v4l2_s_fmt: crop_current widthxheight 64 x 64&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c008561c&lt;BR /&gt; case VIDIOC_S_CTRL&lt;BR /&gt;In MVC:mxc_v4l2_s_ctrl&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c0145608&lt;BR /&gt; case VIDIOC_REQBUFS&lt;BR /&gt;In MVC:mxc_streamoff&lt;BR /&gt;MVC: In mxc_free_frame_buf&lt;BR /&gt;In MVC:mxc_allocate_frame_buf - size=4096&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c0cc5604&lt;BR /&gt; case VIDIOC_G_FMT&lt;BR /&gt;In MVC: mxc_v4l2_g_fmt type=1&lt;BR /&gt; type is V4L2_BUF_TYPE_VIDEO_CAPTURE&lt;BR /&gt;End of mxc_v4l2_g_fmt: v2f pix widthxheight 64 x 64&lt;BR /&gt;End of mxc_v4l2_g_fmt: crop_bounds widthxheight 64 x 64&lt;BR /&gt;End of mxc_v4l2_g_fmt: crop_defrect widthxheight 64 x 64&lt;BR /&gt;End of mxc_v4l2_g_fmt: crop_current widthxheight 64 x 64&lt;BR /&gt; Width = 64 Height = 64 In MVC:mxc_v4l_ioctl&lt;BR /&gt; Image size = 4096&lt;BR /&gt;pixelformat: In MVC: mxc_v4l_do_ioctl c0445609&lt;BR /&gt;GREY&lt;BR /&gt; case VIDIOC_QUERYBUF&lt;BR /&gt;In MVC:mxc_v4l2_buffer_status&lt;BR /&gt;In MVC:mxc_mmap&lt;BR /&gt; pgoff=0x3c17c, start=0x76f4c000, end=0x76f4d000&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c0445609&lt;BR /&gt; case VIDIOC_QUERYBUF&lt;BR /&gt;In MVC:mxc_v4l2_buffer_status&lt;BR /&gt;In MVC:mxc_mmap&lt;BR /&gt; pgoff=0x3c17f, start=0x76f4b000, end=0x76f4c000&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c0445609&lt;BR /&gt; case VIDIOC_QUERYBUF&lt;BR /&gt;In MVC:mxc_v4l2_buffer_status&lt;BR /&gt;In MVC:mxc_mmap&lt;BR /&gt; pgoff=0x3c180, start=0x76f4a000, end=0x76f4b000&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c044560f&lt;BR /&gt; case VIDIOC_QBUF&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c044560f&lt;BR /&gt; case VIDIOC_QBUF&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c044560f&lt;BR /&gt; case VIDIOC_QBUF&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl 40045612&lt;BR /&gt; case VIDIOC_STREAMON&lt;BR /&gt;In MVC:mxc_streamon&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c0445611&lt;BR /&gt;In MVC:camera_callback&lt;BR /&gt; case VIDIOC_DQBUF&lt;BR /&gt;In MVC:mxc_v4l_dqueue&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c044560f&lt;BR /&gt; case VIDIOC_QBUF&lt;BR /&gt;In MVC:camera_callback&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c0445611&lt;BR /&gt; case VIDIOC_DQBUF&lt;BR /&gt;In MVC:mxc_v4l_dqueue&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC:camera_callback&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c044560f&lt;BR /&gt; case VIDIOC_QBUF&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c0445611&lt;BR /&gt; case VIDIOC_DQBUF&lt;BR /&gt;In MVC:camera_callback&lt;BR /&gt;In MVC:mxc_v4l_dqueue&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c044560f&lt;BR /&gt;... more QBUF DQBUF Sequence ...&lt;BR /&gt; case VIDIOC_QBUF&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC:camera_callback&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c0445611&lt;BR /&gt; case VIDIOC_DQBUF&lt;BR /&gt;In MVC:mxc_v4l_dqueue&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c044560f&lt;BR /&gt;In MVC:camera_callback&lt;BR /&gt; case VIDIOC_QBUF&lt;BR /&gt;In MVC:mxc_v4l_ioctl&lt;BR /&gt;In MVC: mxc_v4l_do_ioctl c0445611&lt;BR /&gt; case VIDIOC_DQBUF&lt;BR /&gt;In MVC:mxc_v4l_dqueue&lt;BR /&gt;In MVC:camera_callback&lt;BR /&gt;buf.index 1In MVC:mxc_v4l_ioctl&lt;/P&gt;&lt;P&gt;In MVC: mxc_v4l_do_ioctl c0445611&lt;BR /&gt; case VIDIOC_DQBUF&lt;BR /&gt;In MVC:mxc_v4l_dqueue&lt;BR /&gt;In MVC:camera_callback&lt;BR /&gt;buf.index 2In MVC:mxc_v4l_ioctl&lt;/P&gt;&lt;P&gt;In MVC: mxc_v4l_do_ioctl c0445611&lt;BR /&gt; case VIDIOC_DQBUF&lt;BR /&gt;In MVC:mxc_v4l_dqueue&lt;BR /&gt;In MVC:camera_callback&lt;BR /&gt;buf.index 0In MVC:mxc_v4l_ioctl&lt;/P&gt;&lt;P&gt;In MVC: mxc_v4l_do_ioctl 40045613&lt;BR /&gt; case VIDIOC_STREAMOFF&lt;BR /&gt;In MVC:mxc_streamoff&lt;BR /&gt;In MVC:mxc_free_frames&lt;BR /&gt;In MVC:mxc_v4l_close&lt;BR /&gt;In MVC:mxc_streamoff&lt;BR /&gt; MT6415CA: ioctl_s_power(2130787116, 0)&lt;BR /&gt;mxc_v4l_close: release resource&lt;BR /&gt;MVC: In mxc_free_frame_buf&lt;BR /&gt;In MVC:mxc_free_frames&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am still getting no slave error on bootup and gst-launch commands&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2016 15:43:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599780#M90061</guid>
      <dc:creator>mcergun</dc:creator>
      <dc:date>2016-10-04T15:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: v4l2 capture: slave not found</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599781#M90062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please check sect.7.3.6 Video recording attached Linux Guide&lt;/P&gt;&lt;P&gt;and use L4.1.15&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/webapp/Download?colCode=L4.1.15_1.1.0_LINUX_DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType=product" title="http://www.nxp.com/webapp/Download?colCode=L4.1.15_1.1.0_LINUX_DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType=product"&gt;http://www.nxp.com/webapp/Download?colCode=L4.1.15_1.1.0_LINUX_DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 00:27:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599781#M90062</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-10-05T00:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: v4l2 capture: slave not found</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599782#M90063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pipeline launch string suggested in the document is similar to the one I use.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;$GSTL imxv4l2src device=$DEVICE num-buffers=300 ! $INPUT_CAPS ! queue ! vpuenc_h264&amp;nbsp;! $ $MUXER ! filesink location=output.$EXTENSION&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Still, I tried that launch string with corresponding input caps (grayscale 64x64 30fps). No success yet, Slave not found error persists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I'm on&amp;nbsp;Freescale i.MX Release Distro 4.1.15-1.2.0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 10:44:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599782#M90063</guid>
      <dc:creator>mcergun</dc:creator>
      <dc:date>2016-10-05T10:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: v4l2 capture: slave not found</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599783#M90064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After converting file pointers to file paths in mxc_v4l_open() in mxc_v4l2_capture.c it seems that when I use gst-launch pipelines like&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;gst-launch-1.0 imxv4l2src device=/dev/video0 ! fakesink&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;the system calls both /dev/video0 and /dev/video1, and since /dev/video1 is not populated, I get no slave found error. But that still does not solve my error. I should get a stream out of /dev/video0 in any case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 17:43:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599783#M90064</guid>
      <dc:creator>mcergun</dc:creator>
      <dc:date>2016-10-06T17:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: v4l2 capture: slave not found</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599784#M90065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in general one should be able to specify the camera or video device number to use &lt;BR /&gt;as default when loading the mxc_v4l2_capture driver - this should be done by the &lt;BR /&gt;kernel module parameter 'video_nr':&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; modprobe mxc_v4l2_capture video_nr=1&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.linuxtv.org%2Fdownloads%2Flegacy%2Fvideo4linux%2FAPI%2FV4L2_API%2Fspec%2Fch01s01.html" rel="nofollow" target="_blank"&gt;http://www.linuxtv.org/downloads/legacy/video4linux/API/V4L2_API/spec/ch01s01.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 23:37:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599784#M90065</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-10-06T23:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: v4l2 capture: slave not found</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599785#M90066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Changing video_nr parameter only changes starting number of the 2 channels. For example, if I write&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;modprobe mxc_v4l2_capture video_nr=1&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I get /dev/video1 and /dev/video2, and if I write&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;modprobe mxc_v4l2_capture video_nr=5&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I get /dev/video5 and /dev/video6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Today I discovered imxv4l2src was returning some errors but since gst-debug-level was not high enough I was not aware of them. The errors are as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;0:00:01.529042001 1105 0xcb7e80 ERROR imxv4l2 gstimxv4l2.c:1007:gst_imx_v4l2capture_set_function: can't identify capture sensor type.&lt;/P&gt;&lt;P&gt;0:00:01.529174667 1105 0xcb7e80 ERROR imxv4l2 gstimxv4l2.c:1152:gst_imx_v4l2_open_device: v4l2 capture set function failed.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;If I can get a lead on why these errors are returned, I may be able to fix them.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I have another question. Right now I am using fsl-image-multimedia-full mage with mostly default settings with some extra installs. I can't seem to decipher bblayers well enough to make sure gstreamer-imx is included in the image as with its latest release. Since its last releases have some fixes for grayscale captures. Can you give some information about this, too?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 11:37:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599785#M90066</guid>
      <dc:creator>mcergun</dc:creator>
      <dc:date>2016-10-07T11:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: v4l2 capture: slave not found</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599786#M90067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest to check linux documentation (Freescale_Yocto_Project_User's_Guide.pdf)&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/webapp/Download?colCode=L4.1.15_1.1.0_LINUX_DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType=product" title="http://www.nxp.com/webapp/Download?colCode=L4.1.15_1.1.0_LINUX_DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType=product"&gt;http://www.nxp.com/webapp/Download?colCode=L4.1.15_1.1.0_LINUX_DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 11:51:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599786#M90067</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-10-07T11:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: v4l2 capture: slave not found</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599787#M90068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Replying to my own question; the errors mentioned are caused by some static string comparing inside imx-gstplugins.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;#define MXC_V4L2_CAPTURE_NAME "mxc_v4l2"&lt;BR /&gt;#define MXC_V4L2_CAPTURE_CAMERA_NAME "ov"&lt;BR /&gt;#define MXC_V4L2_CAPTURE_TVIN_NAME "adv"&lt;BR /&gt;#define MXC_V4L2_CAPTURE_TVIN_VADC_NAME "vadc"&lt;BR /&gt;#define PXP_V4L2_CAPTURE_NAME "csi_v4l2"&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;if (!strncmp (chip.match.name, MXC_V4L2_CAPTURE_CAMERA_NAME, 2)) {&lt;BR /&gt; handle-&amp;gt;dev_itf.v4l2capture_config = (V4l2captureConfig)gst_imx_v4l2capture_config_camera;&lt;BR /&gt; handle-&amp;gt;support_format_table = g_camera_format_IPU;&lt;BR /&gt; } else if (!strncmp (chip.match.name, MXC_V4L2_CAPTURE_TVIN_NAME, 3)) {&lt;BR /&gt; handle-&amp;gt;dev_itf.v4l2capture_config = (V4l2captureConfig)gst_imx_v4l2capture_config_camera;&lt;BR /&gt; handle-&amp;gt;support_format_table = g_camera_format_IPU;&lt;BR /&gt; handle-&amp;gt;is_tvin = TRUE;&lt;BR /&gt; if (gst_imx_v4l2capture_config_tvin_std (handle)) {&lt;BR /&gt; GST_ERROR ("can't set TV-In STD.\n");&lt;BR /&gt; return -1;&lt;BR /&gt; }&lt;BR /&gt; } else {&lt;BR /&gt; GST_ERROR ("can't identify capture sensor type.\n");&lt;BR /&gt; return -1;&lt;BR /&gt; }&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;So, module writes somehow had the weird idea that every capture device should be an omnivision made one, and every tvin device should be an adv made one.&lt;/P&gt;&lt;P&gt;Changed my camera name to "ovmt6415ca_camera" from "mt6415ca_camera" fixed those errors, but I still don't get a stream.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Oct 2016 14:36:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599787#M90068</guid>
      <dc:creator>mcergun</dc:creator>
      <dc:date>2016-10-08T14:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: v4l2 capture: slave not found</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599788#M90069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;probably reason is that&amp;nbsp;imx-gst plugins do not support grayscale&lt;BR /&gt;as valid format, also IPU/VPU doesn't make bayer conversion and&lt;BR /&gt;recognize bayer as a valid image format.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/302769"&gt;IPU - bayer pattern conversion&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/319780"&gt;https://community.nxp.com/thread/319780&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Oct 2016 10:18:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599788#M90069</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-10-09T10:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: v4l2 capture: slave not found</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599789#M90070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After switching to gstreamer-imx instead of imx-gst plugins, I was able to capture some data, but mostly gibberish. I somehow screwed up my build directory and accidentally compiled it with NONGATED clock mode settings and VOILA, I was able to capture frames from the camera. Now the only problem is sometimes mxc_capture gets into an endless loop of mxc_camera_callback function with no way out. If I can figure that out, too, the capture path is done.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Oct 2016 13:49:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/v4l2-capture-slave-not-found/m-p/599789#M90070</guid>
      <dc:creator>mcergun</dc:creator>
      <dc:date>2016-10-15T13:49:37Z</dc:date>
    </item>
  </channel>
</rss>

