<?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: Adding HID gadget support (g_hid)</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Adding-HID-gadget-support-g-hid/m-p/169871#M5318</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;CITE&gt;Wayne said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/adding-hid-gadget-support-g-hid?commentId=4103961%3AComment%3A40218#4103961Comment40218"&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;Just for the record, I solved this problem, turned out my dev board did not support this functionality out of the box, I created a patch to add the support, now my PC can see the dev board as a keyboard.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Aug 2012 21:02:19 GMT</pubDate>
    <dc:creator>walterbmarvin</dc:creator>
    <dc:date>2012-08-30T21:02:19Z</dc:date>
    <item>
      <title>Adding HID gadget support (g_hid)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-HID-gadget-support-g-hid/m-p/169867#M5314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to set my board to a USB device to replicate a keyboard, when I build g_hid and try to modprobe it I get the following error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;modprobe: can't load module g_hid (kernel/drivers/usb/gadget/g_hid.ko): No such device&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I came across this &lt;A href="http://www.linuxquestions.org/questions/showthread.php?p=4470507" target="_blank"&gt;forum post&lt;/A&gt;&amp;nbsp;which indicates a similar issue, but as you can see it does not elaborate on the solution I was hoping that someone here might understand where I must make the neccesary edits to the source for g_hid driver to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried pasting the example from the kernel documentation for USB HID gadgets into arch/arm/mach-mx5/devices/usb.c but it had no affect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;W&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 12:12:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-HID-gadget-support-g-hid/m-p/169867#M5314</guid>
      <dc:creator>wayne_ng</dc:creator>
      <dc:date>2011-09-13T12:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Adding HID gadget support (g_hid)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-HID-gadget-support-g-hid/m-p/169868#M5315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just for the record, I solved this problem, turned out my dev board did not support this functionality out of the box, I created a patch to add the support, now my PC can see the dev board as a keyboard.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 09:47:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-HID-gadget-support-g-hid/m-p/169868#M5315</guid>
      <dc:creator>wayne_ng</dc:creator>
      <dc:date>2011-10-26T09:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Adding HID gadget support (g_hid)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-HID-gadget-support-g-hid/m-p/169869#M5316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wayne,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm interested in setting up my application as a HID device as well, when it is plugged into a PC.&amp;nbsp; Could you please provide pointers to either examples or list the steps that you worked through to get a HID device application running?&amp;nbsp; I am using an i.MX233 with the Linux 2.6.31 Kernel.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure what you mean by "arch/arm/mach-mx5/devices/usb.c" - where can I find this example program?&amp;nbsp; I can find other examples like &lt;A href="https://www.kernel.org/doc/Documentation/usb/gadget_hid.txt"&gt;https://www.kernel.org/doc/Documentation/usb/gadget_hid.txt&lt;/A&gt;&amp;nbsp;but they require g_hid.h (as well as other includes &amp;amp; libraries) which are not in the&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like you need to Include HID support in the kernel build - I don't see this in ltib.&amp;nbsp; I have tried building with both the "USB" and "HID" options but the necessary USB files do not seem to appear.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any pointers or idea would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanx!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;mkye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2012 04:20:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-HID-gadget-support-g-hid/m-p/169869#M5316</guid>
      <dc:creator>myke_predko</dc:creator>
      <dc:date>2012-02-20T04:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adding HID gadget support (g_hid)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-HID-gadget-support-g-hid/m-p/169870#M5317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please provide me a detail that how could you create a patch and what it having. Awaiting for your prompt reply.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Abhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2012 20:25:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-HID-gadget-support-g-hid/m-p/169870#M5317</guid>
      <dc:creator>Abhi1z</dc:creator>
      <dc:date>2012-05-23T20:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adding HID gadget support (g_hid)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-HID-gadget-support-g-hid/m-p/169871#M5318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;CITE&gt;Wayne said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/adding-hid-gadget-support-g-hid?commentId=4103961%3AComment%3A40218#4103961Comment40218"&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;Just for the record, I solved this problem, turned out my dev board did not support this functionality out of the box, I created a patch to add the support, now my PC can see the dev board as a keyboard.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 21:02:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-HID-gadget-support-g-hid/m-p/169871#M5318</guid>
      <dc:creator>walterbmarvin</dc:creator>
      <dc:date>2012-08-30T21:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Adding HID gadget support (g_hid)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-HID-gadget-support-g-hid/m-p/169872#M5319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;CITE&gt;Wayne said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/adding-hid-gadget-support-g-hid?commentId=4103961%3AComment%3A40218#4103961Comment40218"&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;Just for the record, I solved this problem, turned out my dev board did not support this functionality out of the box, I created a patch to add the support, now my PC can see the dev board as a keyboard.&lt;/DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;/DIV&gt;&lt;DIV class="xg_user_generated"&gt;OK Could you detail your solution?&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 21:03:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-HID-gadget-support-g-hid/m-p/169872#M5319</guid>
      <dc:creator>walterbmarvin</dc:creator>
      <dc:date>2012-08-30T21:03:11Z</dc:date>
    </item>
  </channel>
</rss>

