<?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のトピック[IMX6DL] KEY_EVT evtest problem</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6DL-KEY-EVT-evtest-problem/m-p/1572377#M199002</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;i'm trying to capture KEYS_EVT on a IMX6DL with Linux (kernel 4.9.11). I set two gpio input and configured gpio-keys from dtsi. Then I have a script that listen for evtest. the problem is that only one event is read correctly, while the second one never happens. The configuration is the same and I don't understand why only one event works.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Whitehouse112_1-1671525571659.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204976i9A79D3E48B1DAF1B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Whitehouse112_1-1671525571659.png" alt="Whitehouse112_1-1671525571659.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Whitehouse112_0-1671525537619.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204975iC6B4F919B8C9BFBF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Whitehouse112_0-1671525537619.png" alt="Whitehouse112_0-1671525537619.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Whitehouse112_2-1671525614098.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204977i3FC5E7CD85EE7E53/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Whitehouse112_2-1671525614098.png" alt="Whitehouse112_2-1671525614098.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The problem is on gpio1 13, on KEY_POWER event. I've already checked that this pin is not use by other peripherals. The PCB schematic is the following: I tested the AC_MISS signal and works correctly (high to low when ac miss)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Whitehouse112_0-1671525948182.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204978i4FD4FAACACF1E173/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Whitehouse112_0-1671525948182.png" alt="Whitehouse112_0-1671525948182.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Dec 2022 08:51:14 GMT</pubDate>
    <dc:creator>Whitehouse112</dc:creator>
    <dc:date>2022-12-20T08:51:14Z</dc:date>
    <item>
      <title>[IMX6DL] KEY_EVT evtest problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6DL-KEY-EVT-evtest-problem/m-p/1572377#M199002</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;i'm trying to capture KEYS_EVT on a IMX6DL with Linux (kernel 4.9.11). I set two gpio input and configured gpio-keys from dtsi. Then I have a script that listen for evtest. the problem is that only one event is read correctly, while the second one never happens. The configuration is the same and I don't understand why only one event works.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Whitehouse112_1-1671525571659.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204976i9A79D3E48B1DAF1B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Whitehouse112_1-1671525571659.png" alt="Whitehouse112_1-1671525571659.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Whitehouse112_0-1671525537619.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204975iC6B4F919B8C9BFBF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Whitehouse112_0-1671525537619.png" alt="Whitehouse112_0-1671525537619.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Whitehouse112_2-1671525614098.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204977i3FC5E7CD85EE7E53/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Whitehouse112_2-1671525614098.png" alt="Whitehouse112_2-1671525614098.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The problem is on gpio1 13, on KEY_POWER event. I've already checked that this pin is not use by other peripherals. The PCB schematic is the following: I tested the AC_MISS signal and works correctly (high to low when ac miss)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Whitehouse112_0-1671525948182.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204978i4FD4FAACACF1E173/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Whitehouse112_0-1671525948182.png" alt="Whitehouse112_0-1671525948182.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 08:51:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6DL-KEY-EVT-evtest-problem/m-p/1572377#M199002</guid>
      <dc:creator>Whitehouse112</dc:creator>
      <dc:date>2022-12-20T08:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: [IMX6DL] KEY_EVT evtest problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6DL-KEY-EVT-evtest-problem/m-p/1577870#M199585</link>
      <description>&lt;P&gt;Have you try to output 1 or 0 from this gpio pin?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 09:35:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6DL-KEY-EVT-evtest-problem/m-p/1577870#M199585</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2023-01-05T09:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: [IMX6DL] KEY_EVT evtest problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6DL-KEY-EVT-evtest-problem/m-p/1577874#M199586</link>
      <description>&lt;P&gt;Hi jimmy,&lt;/P&gt;&lt;P&gt;the problem is solved: i forgot to add "pinctrl-0 = &amp;lt;&amp;amp;pinctrl_gpio_keys&amp;gt;" in order to link the GPIO.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 09:41:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6DL-KEY-EVT-evtest-problem/m-p/1577874#M199586</guid>
      <dc:creator>Whitehouse112</dc:creator>
      <dc:date>2023-01-05T09:41:11Z</dc:date>
    </item>
  </channel>
</rss>

