<?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-ctrl is not listing the control control</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/V4l2-ctrl-is-not-listing-the-control-control/m-p/1957069#M228607</link>
    <description>&lt;P&gt;1) the sequence of your kernel driver&amp;nbsp; is imx8-media-dev-&amp;gt; camera? in fact, the kernel would load the imx8-media-dev automatically, did you load the driver manually?&lt;/P&gt;
&lt;P&gt;2) maybe you can refer to the link as below&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/v4l2-ctl-no-control-available-no-brightness-no-exposure-and-so/m-p/1578106" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/v4l2-ctl-no-control-available-no-brightness-no-exposure-and-so/m-p/1578106&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Sep 2024 02:04:42 GMT</pubDate>
    <dc:creator>joanxie</dc:creator>
    <dc:date>2024-09-19T02:04:42Z</dc:date>
    <item>
      <title>V4l2-ctrl is not listing the control control</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/V4l2-ctrl-is-not-listing-the-control-control/m-p/1954097#M228417</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working on custom v4l2 driver for IMX662 sensor. I have below points to be clarified.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Point 1.&lt;/STRONG&gt; While I am loading my driver modules, /dev/video3 is not creating, But after reloading imx8-media-dev.ko, I can see /dev/video3. I am not sure why it so. I need to find a way to get /dev/video3 node instantly when ever I am loading my driver.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Point 2.&lt;/STRONG&gt; When I am executing v4l2-ctrl -d /dev/video3 --list-ctrls, It is not listing the v4l2 controls that I have added. But when i am executing v4l2-ctrl -d /dev/v4l-subdev1 --list-ctrls, I can see the controls that I have added. Please help to understand why it is not listing the controls in /dev/video3&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Below are the outputs that might be helpful to answer.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;root@verdin-imx8mp-14777745:~# v4l2-ctl --list-device&lt;/STRONG&gt;&lt;BR /&gt;():&lt;BR /&gt;/dev/v4l-subdev0&lt;/P&gt;&lt;P&gt;mxc-isi-cap (platform:32e00000.isi:cap_devic):&lt;BR /&gt;/dev/video3&lt;/P&gt;&lt;P&gt;mxc-isi-m2m (platform:32e00000.isi:m2m_devic):&lt;BR /&gt;/dev/video2&lt;/P&gt;&lt;P&gt;FSL Capture Media Device (platform:mxc-md):&lt;BR /&gt;/dev/media0&lt;/P&gt;&lt;P&gt;vsi_v4l2dec (platform:vsi_v4l2dec):&lt;BR /&gt;/dev/video1&lt;/P&gt;&lt;P&gt;vsi_v4l2enc (platform:vsi_v4l2enc):&lt;BR /&gt;/dev/video0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;root@verdin-imx8mp-14777745:~# media-ctl -p&lt;/STRONG&gt;&lt;BR /&gt;Media controller API version 5.15.148&lt;/P&gt;&lt;P&gt;Media device information&lt;BR /&gt;------------------------&lt;BR /&gt;driver mxc-md&lt;BR /&gt;model FSL Capture Media Device&lt;BR /&gt;serial&lt;BR /&gt;bus info&lt;BR /&gt;hw revision 0x0&lt;BR /&gt;driver version 5.15.148&lt;/P&gt;&lt;P&gt;Device topology&lt;BR /&gt;- entity 1: mxc_isi.0 (16 pads, 2 links)&lt;BR /&gt;type V4L2 subdev subtype Unknown flags 0&lt;BR /&gt;pad0: Sink&lt;BR /&gt;&amp;lt;- "mxc-mipi-csi2.0":4 [ENABLED]&lt;BR /&gt;pad1: Sink&lt;BR /&gt;pad2: Sink&lt;BR /&gt;pad3: Sink&lt;BR /&gt;pad4: Sink&lt;BR /&gt;pad5: Sink&lt;BR /&gt;pad6: Sink&lt;BR /&gt;pad7: Sink&lt;BR /&gt;pad8: Sink&lt;BR /&gt;pad9: Sink&lt;BR /&gt;pad10: Sink&lt;BR /&gt;pad11: Sink&lt;BR /&gt;pad12: Source&lt;BR /&gt;-&amp;gt; "mxc_isi.0.capture":0 [ENABLED]&lt;BR /&gt;pad13: Source&lt;BR /&gt;pad14: Source&lt;BR /&gt;pad15: Sink&lt;/P&gt;&lt;P&gt;- entity 18: mxc_isi.0.capture (1 pad, 1 link)&lt;BR /&gt;type Node subtype V4L flags 0&lt;BR /&gt;device node name /dev/video3&lt;BR /&gt;pad0: Sink&lt;BR /&gt;&amp;lt;- "mxc_isi.0":12 [ENABLED]&lt;/P&gt;&lt;P&gt;- entity 22: mxc-mipi-csi2.0 (8 pads, 2 links)&lt;BR /&gt;type Node subtype V4L flags 0&lt;BR /&gt;device node name /dev/v4l-subdev0&lt;BR /&gt;pad0: Sink&lt;BR /&gt;&amp;lt;- "imx662 2-0042":0 [ENABLED,IMMUTABLE]&lt;BR /&gt;pad1: Sink&lt;BR /&gt;pad2: Sink&lt;BR /&gt;pad3: Sink&lt;BR /&gt;pad4: Source&lt;BR /&gt;-&amp;gt; "mxc_isi.0":0 [ENABLED]&lt;BR /&gt;pad5: Source&lt;BR /&gt;pad6: Source&lt;BR /&gt;pad7: Source&lt;/P&gt;&lt;P&gt;- entity 31: imx662 2-0042 (1 pad, 1 link)&lt;BR /&gt;type V4L2 subdev subtype Sensor flags 0&lt;BR /&gt;device node name /dev/v4l-subdev1&lt;BR /&gt;pad0: Source&lt;BR /&gt;[fmt:SRGGB10_1X10/1920x1080 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]&lt;BR /&gt;-&amp;gt; "mxc-mipi-csi2.0":0 [ENABLED,IMMUTABLE]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;root@verdin-imx8mp-14777745:~# v4l2-ctl -d /dev/video3 --list-ctrls&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;User Controls&lt;/P&gt;&lt;P&gt;horizontal_flip 0x00980914 (bool) : default=0 value=0&lt;BR /&gt;vertical_flip 0x00980915 (bool) : default=0 value=0&lt;BR /&gt;alpha_component 0x00980929 (int) : min=0 max=255 step=1 default=0 value=0&lt;/P&gt;&lt;P&gt;Image Processing Controls&lt;/P&gt;&lt;P&gt;test_pattern 0x009f0903 (menu) : min=0 max=4 default=0 value=0 (Disabled)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;root@verdin-imx8mp-14777745:~# v4l2-ctl -d /dev/video3 --list-ctrls&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;User Controls&lt;/P&gt;&lt;P&gt;horizontal_flip 0x00980914 (bool) : default=0 value=0&lt;BR /&gt;vertical_flip 0x00980915 (bool) : default=0 value=0&lt;BR /&gt;alpha_component 0x00980929 (int) : min=0 max=255 step=1 default=0 value=0&lt;/P&gt;&lt;P&gt;Image Processing Controls&lt;/P&gt;&lt;P&gt;test_pattern 0x009f0903 (menu) : min=0 max=4 default=0 value=0 (Disabled)&lt;BR /&gt;root@verdin-imx8mp-14777745:~# v4l2-ctl -d /dev/v4l-subdev1 --list-ctrls&lt;/P&gt;&lt;P&gt;User Controls&lt;/P&gt;&lt;P&gt;exposure 0x00980911 (int) : min=60 max=16600 step=1 default=8000 value=8000&lt;BR /&gt;gain 0x00980913 (int) : min=0 max=240 step=1 default=0 value=0&lt;/P&gt;&lt;P&gt;Camera Controls&lt;/P&gt;&lt;P&gt;exposure_time_absolute 0x009a0902 (int) : min=60 max=16600 step=1 default=8000 value=8000&lt;/P&gt;&lt;P&gt;Image Source Controls&lt;/P&gt;&lt;P&gt;vertical_blanking 0x009e0901 (int) : min=1250 max=1250 step=1 default=1250 value=1250 flags=read-only&lt;BR /&gt;horizontal_blanking 0x009e0902 (int) : min=990 max=990 step=1 default=990 value=990 flags=read-only&lt;BR /&gt;analogue_gain 0x009e0903 (int) : min=0 max=240 step=1 default=0 value=0&lt;/P&gt;&lt;P&gt;Image Processing Controls&lt;/P&gt;&lt;P&gt;link_frequency 0x009f0901 (intmenu): min=0 max=0 default=0 value=0 (456000000 0x1b2e0200) flags=read-only&lt;BR /&gt;pixel_rate 0x009f0902 (int64) : min=0 max=2147483647 step=1 default=182400000 value=182400000 flags=read-only&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 08:28:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/V4l2-ctrl-is-not-listing-the-control-control/m-p/1954097#M228417</guid>
      <dc:creator>jp4</dc:creator>
      <dc:date>2024-09-13T08:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: V4l2-ctrl is not listing the control control</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/V4l2-ctrl-is-not-listing-the-control-control/m-p/1957069#M228607</link>
      <description>&lt;P&gt;1) the sequence of your kernel driver&amp;nbsp; is imx8-media-dev-&amp;gt; camera? in fact, the kernel would load the imx8-media-dev automatically, did you load the driver manually?&lt;/P&gt;
&lt;P&gt;2) maybe you can refer to the link as below&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/v4l2-ctl-no-control-available-no-brightness-no-exposure-and-so/m-p/1578106" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/v4l2-ctl-no-control-available-no-brightness-no-exposure-and-so/m-p/1578106&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 02:04:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/V4l2-ctrl-is-not-listing-the-control-control/m-p/1957069#M228607</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2024-09-19T02:04:42Z</dc:date>
    </item>
  </channel>
</rss>

