<?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: i.MX6sl evk button matrix access in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6sl-evk-button-matrix-access/m-p/262400#M26580</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;UPDATE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cat'ing &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;/dev/input/event0&lt;/SPAN&gt; does appear to spit out repetitive (though inconsistent) data upon a button press. This would lead me to believe that it thinks the button matrix is a HID. (Perhaps a keyboard?)&lt;/P&gt;&lt;P&gt;In the event that a /sys/class/gpio/ solution doesn't pan out, does anyone have any thoughts on how to make some kind of ineligible sense out of the data coming from /dev/input/ ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jan 2014 18:44:40 GMT</pubDate>
    <dc:creator>stephenharper</dc:creator>
    <dc:date>2014-01-28T18:44:40Z</dc:date>
    <item>
      <title>i.MX6sl evk button matrix access</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6sl-evk-button-matrix-access/m-p/262399#M26579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I seem to be having some issues regarding how to access the gpio's attached to the button matrix on the i.mx6sl-evk from within user-space.&lt;/P&gt;&lt;P&gt;The ultimate goal here being to run an arbitrary shell script when a button is pressed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running a 3.10.9 kernel built with Yocto and have sysfs enabled in my kernel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have read and tried the following directions: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-1459"&gt;https://community.freescale.com/docs/DOC-1459&lt;/A&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;(Everything seems to work fine and I can export gpio's but values never change.)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;I felt like this might shed some light on the problem: &lt;A _jive_internal="true" href="https://community.nxp.com/message/306257#306257"&gt;https://community.freescale.com/message/306257#306257&lt;/A&gt; but I'm not entirely sure if it is relevant to my situation.&lt;/P&gt;&lt;P&gt;Have read the i.MX_6SoloLite_Linux_Reference_Manual.pdf&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;(Particularly Chapter 3 in regards to General Purpose I/O and IOMUX.)&lt;/P&gt;&lt;P&gt;Have looked through the imx6slevk schematic.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;(Especially page 12 containing the button matrix sub-circuit and page 16 containing the IOMUX Table.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A bump in the right direction would be greatly appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 18:08:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6sl-evk-button-matrix-access/m-p/262399#M26579</guid>
      <dc:creator>stephenharper</dc:creator>
      <dc:date>2014-01-28T18:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6sl evk button matrix access</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6sl-evk-button-matrix-access/m-p/262400#M26580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;UPDATE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cat'ing &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;/dev/input/event0&lt;/SPAN&gt; does appear to spit out repetitive (though inconsistent) data upon a button press. This would lead me to believe that it thinks the button matrix is a HID. (Perhaps a keyboard?)&lt;/P&gt;&lt;P&gt;In the event that a /sys/class/gpio/ solution doesn't pan out, does anyone have any thoughts on how to make some kind of ineligible sense out of the data coming from /dev/input/ ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 18:44:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6sl-evk-button-matrix-access/m-p/262400#M26580</guid>
      <dc:creator>stephenharper</dc:creator>
      <dc:date>2014-01-28T18:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6sl evk button matrix access</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6sl-evk-button-matrix-access/m-p/262401#M26581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Stephen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For i.MX6SL EVK button matrix, its driver is the file drivers/input/keyboard/imx_keypad.c. Please check if the button is detected properly in the driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 09:13:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6sl-evk-button-matrix-access/m-p/262401#M26581</guid>
      <dc:creator>PeterChan</dc:creator>
      <dc:date>2014-01-29T09:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Re: i.MX6sl evk button matrix access</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6sl-evk-button-matrix-access/m-p/262402#M26582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter, thank you very much for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, that path/file does not seem to exist for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;root@linaro-ubuntu-desktop:/# find -name "*keypad*"&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;./etc/brltty/brl-ht-keypad.kti&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;./etc/brltty/kbd-keypad.ktb&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;./unit_tests/autorun-keypad.sh&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;./usr/share/X11/xkb/symbols/keypad&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;./usr/share/X11/xkb/compat/keypad&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;./sys/bus/platform/drivers/imx-keypad&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;The data is definitely getting there, as I can obtain meaningful output from hexdump/xxd/evtest.&lt;/P&gt;&lt;P&gt;As a fallback I can always pipe the data through one of these and parse out the relevant keycodes/ascii character, but a working driver sure would be a whole lot more convenient.&lt;/P&gt;&lt;P&gt;Thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 16:52:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6sl-evk-button-matrix-access/m-p/262402#M26582</guid>
      <dc:creator>stephenharper</dc:creator>
      <dc:date>2014-01-29T16:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6sl evk button matrix access</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6sl-evk-button-matrix-access/m-p/262403#M26583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stephen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The keypad pins on mx6slevk are configured as keypad functionality (using the built-in keypad controller), not GPIO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabio Estevam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 17:46:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6sl-evk-button-matrix-access/m-p/262403#M26583</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2014-01-29T17:46:09Z</dc:date>
    </item>
  </channel>
</rss>

