<?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: keypad port doesn't show up in Linux in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/keypad-port-doesn-t-show-up-in-Linux/m-p/817368#M125938</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok i made a bit of progress. the device kpp now shows up in linux as a device, and i can see it listed as an event source in evtest.&amp;nbsp; however I notice when the lcd comes up, the letter p fills the screen and running evtest shows nonstop key press event with the key_p over and over, eventually it becomes key_enter over and over.&amp;nbsp; i dont have a key pad plugged in when i startup and when i plug in a keypad it doesnt register any key press.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. is it ok not to have the keypad connected.&lt;/P&gt;&lt;P&gt;2. is there a problem having a 1k series resistor in each row and column line?&lt;/P&gt;&lt;P&gt;3. why am i getting nonstop keypress event even with no keypad connected?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Oct 2018 23:29:56 GMT</pubDate>
    <dc:creator>dluberger</dc:creator>
    <dc:date>2018-10-03T23:29:56Z</dc:date>
    <item>
      <title>keypad port doesn't show up in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/keypad-port-doesn-t-show-up-in-Linux/m-p/817364#M125934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've setup my device tree, done all the mappings, i have a 5x8 matrix keyboard i have connected to the kpp, configured for letters a-z and 0-9 plus up down esc enter, but when the OS is running and i have the terminal on my lcd, pressing keys does nothing. I looked in /dev and /proc but i don't see anything anywhere that indicates the keypad is actively being scanned and no letters show up when i press a key.&amp;nbsp; if i run evtest it only shows the power button (tied to the onoff input, not a kpp button) and my touchscreen controller.&amp;nbsp; when the os is starting it does hang for a bit on the message "LSB: preliminary key mapping" but other than that i don't see any indication that the keypad port is setup as a keyboard device in linux.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My device tree dts file is attached, as well as the console output during bootup.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2018 21:00:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/keypad-port-doesn-t-show-up-in-Linux/m-p/817364#M125934</guid>
      <dc:creator>dluberger</dc:creator>
      <dc:date>2018-10-02T21:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: keypad port doesn't show up in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/keypad-port-doesn-t-show-up-in-Linux/m-p/817365#M125935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems you are using third party bsp, one can try with nxp official from&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_4.9.11_1.0.0_ga" title="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_4.9.11_1.0.0_ga"&gt;linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;keypad is used on i.MX6SL EVK and one can look at some examples:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6sl-evk.dts?h=imx_4.9.11_1.0.0_ga" title="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6sl-evk.dts?h=imx_4.9.11_1.0.0_ga"&gt;imx6sl-evk.dts\dts\boot\arm\arch - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6ul-tx6ul.dtsi?h=imx_4.9.11_1.0.0_ga" title="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6ul-tx6ul.dtsi?h=imx_4.9.11_1.0.0_ga"&gt;imx6ul-tx6ul.dtsi\dts\boot\arm\arch - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.toradex.com/community/questions/2652/4x4-matrix-keypad-interfacing-with-i-mx6.html" title="https://www.toradex.com/community/questions/2652/4x4-matrix-keypad-interfacing-with-i-mx6.html"&gt;4x4 Matrix keypad Interfacing with i-MX6 - Toradex Community&lt;/A&gt;&amp;nbsp;&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>Tue, 02 Oct 2018 23:44:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/keypad-port-doesn-t-show-up-in-Linux/m-p/817365#M125935</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-10-02T23:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: keypad port doesn't show up in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/keypad-port-doesn-t-show-up-in-Linux/m-p/817366#M125936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok I've already followed those examples, but do i have to use the matrix_key function for the keymap? and where are the keyname constants defined?&amp;nbsp; I couldn't find the linux standard key codes anywhere. also, do i need to define or set an interrupts parameter? ive seen some device trees that have interrupt setup on kpp. finally, am i correct in assuming that of setup correctly the kpp works exactly the same as if i was using a usb keyboard (for the mapped keys)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 02:57:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/keypad-port-doesn-t-show-up-in-Linux/m-p/817366#M125936</guid>
      <dc:creator>dluberger</dc:creator>
      <dc:date>2018-10-03T02:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: keypad port doesn't show up in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/keypad-port-doesn-t-show-up-in-Linux/m-p/817367#M125937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can try to analyze keypad driver imx_keypad.c :&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/input/keyboard/imx_keypad.c?h=imx_4.9.11_1.0.0_ga" title="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/input/keyboard/imx_keypad.c?h=imx_4.9.11_1.0.0_ga"&gt;imx_keypad.c\keyboard\input\drivers - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it is not showing up in Linux, one can start to debug it in probe function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 09:22:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/keypad-port-doesn-t-show-up-in-Linux/m-p/817367#M125937</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-10-03T09:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: keypad port doesn't show up in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/keypad-port-doesn-t-show-up-in-Linux/m-p/817368#M125938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok i made a bit of progress. the device kpp now shows up in linux as a device, and i can see it listed as an event source in evtest.&amp;nbsp; however I notice when the lcd comes up, the letter p fills the screen and running evtest shows nonstop key press event with the key_p over and over, eventually it becomes key_enter over and over.&amp;nbsp; i dont have a key pad plugged in when i startup and when i plug in a keypad it doesnt register any key press.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. is it ok not to have the keypad connected.&lt;/P&gt;&lt;P&gt;2. is there a problem having a 1k series resistor in each row and column line?&lt;/P&gt;&lt;P&gt;3. why am i getting nonstop keypress event even with no keypad connected?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 23:29:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/keypad-port-doesn-t-show-up-in-Linux/m-p/817368#M125938</guid>
      <dc:creator>dluberger</dc:creator>
      <dc:date>2018-10-03T23:29:56Z</dc:date>
    </item>
  </channel>
</rss>

