<?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: Handling GPIO interrupts in userspace on Linux with UIO</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Handling-GPIO-interrupts-in-userspace-on-Linux-with-UIO/m-p/465709#M73318</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello I tried modprobe command.&lt;/P&gt;&lt;P&gt;And I have the error :&lt;/P&gt;&lt;P&gt;uio_pdrv_genirq: `mydevice,generic-uio,ui_pdrv' invalid for parameter `of_id'&lt;/P&gt;&lt;P&gt;modprobe: can't load module uio_pdrv_genirq (kernel/drivers/uio/uio_pdrv_genirq.ko): Invalid argument&lt;/P&gt;&lt;P&gt;Can you help me please.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;François. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Mar 2016 13:45:46 GMT</pubDate>
    <dc:creator>delauratfrançoi</dc:creator>
    <dc:date>2016-03-10T13:45:46Z</dc:date>
    <item>
      <title>Handling GPIO interrupts in userspace on Linux with UIO</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Handling-GPIO-interrupts-in-userspace-on-Linux-with-UIO/m-p/465707#M73316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello my name is François, &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;Currently I work with imx6dl sabre. I want handle GPIO interrupts in userspace on linux with UIO.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;I add in dts file &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;/ {&lt;/P&gt;&lt;P&gt;user_io {&lt;/P&gt;&lt;P&gt;&amp;nbsp; compatible = "generic-uio";&lt;/P&gt;&lt;P&gt;&amp;nbsp; status = "okay";&lt;/P&gt;&lt;P&gt;&amp;nbsp; interrupt-parent=&amp;lt;&amp;amp;gpio7&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; interrupts = &amp;lt;12 2&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pinctrl-names = "default";&lt;/P&gt;&lt;P&gt;&amp;nbsp; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_hog_3&amp;gt;; &lt;/P&gt;&lt;P&gt;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I add uio_pdrv_genirq.of_id=generic-uio in bootarg.&lt;/P&gt;&lt;P&gt;and I add config &lt;CODE style="font-family: Menlo, Monaco, 'Courier New', monospace; font-size: 16px; color: inherit;"&gt;CONFIG_UIO=y&lt;BR /&gt;CONFIG_UIO_PDRV_GENIRQ=y in my kernel.&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;But after boot my&amp;nbsp; /sys/class/uio directory is empty and I have not node /dev/uio0.&lt;/P&gt;&lt;P&gt;I don't understand why I have not node /dev/uio0.&lt;/P&gt;&lt;P&gt;Can you help me please.&lt;/P&gt;&lt;P&gt;Best Regards &lt;/P&gt;&lt;P&gt;François.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: I used the url &lt;A href="https://yurovsky.github.io/2014/10/10/linux-uio-gpio-interrupt/" title="https://yurovsky.github.io/2014/10/10/linux-uio-gpio-interrupt/"&gt;Handling GPIO interrupts in userspace on Linux with UIO · /var/log/andrey&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 16:56:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Handling-GPIO-interrupts-in-userspace-on-Linux-with-UIO/m-p/465707#M73316</guid>
      <dc:creator>delauratfrançoi</dc:creator>
      <dc:date>2016-03-09T16:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Handling GPIO interrupts in userspace on Linux with UIO</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Handling-GPIO-interrupts-in-userspace-on-Linux-with-UIO/m-p/465708#M73317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi François&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please try to load irq module as in example:&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;modprobe uio_pdrv_genirq of_id="mydevice,generic-uio,ui_pdrv"&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 08:41:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Handling-GPIO-interrupts-in-userspace-on-Linux-with-UIO/m-p/465708#M73317</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-03-10T08:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Handling GPIO interrupts in userspace on Linux with UIO</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Handling-GPIO-interrupts-in-userspace-on-Linux-with-UIO/m-p/465709#M73318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello I tried modprobe command.&lt;/P&gt;&lt;P&gt;And I have the error :&lt;/P&gt;&lt;P&gt;uio_pdrv_genirq: `mydevice,generic-uio,ui_pdrv' invalid for parameter `of_id'&lt;/P&gt;&lt;P&gt;modprobe: can't load module uio_pdrv_genirq (kernel/drivers/uio/uio_pdrv_genirq.ko): Invalid argument&lt;/P&gt;&lt;P&gt;Can you help me please.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;François. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 13:45:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Handling-GPIO-interrupts-in-userspace-on-Linux-with-UIO/m-p/465709#M73318</guid>
      <dc:creator>delauratfrançoi</dc:creator>
      <dc:date>2016-03-10T13:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Handling GPIO interrupts in userspace on Linux with UIO</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Handling-GPIO-interrupts-in-userspace-on-Linux-with-UIO/m-p/465710#M73319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add following bootargs in bootloader args or dts file:&lt;/P&gt;&lt;P&gt;uio_pdrv_genirq.of_id=&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;mydevice,generic-uio,ui_pdrv&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 10:08:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Handling-GPIO-interrupts-in-userspace-on-Linux-with-UIO/m-p/465710#M73319</guid>
      <dc:creator>lingku</dc:creator>
      <dc:date>2017-02-20T10:08:07Z</dc:date>
    </item>
  </channel>
</rss>

