<?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: How do I establish 2 HID and 1 mass storage at same time ?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-do-I-establish-2-HID-and-1-mass-storage-at-same-time/m-p/825144#M126880</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi igor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use&amp;nbsp;2 device configuration as below, do I need to create usb driver?&lt;BR /&gt;- Interface 0, EP1 IN/OUT, interrupt: vendor specific HID&lt;BR /&gt;- Interface 1, EP2 IN/OUT, bulk: Mass Storage, bulk-only transfer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, it's too complex to create usb composite driver.&lt;/P&gt;&lt;P&gt;Does it have efficient way to&amp;nbsp;modify USB descriptor&amp;nbsp;for 1 HID and 1 Mass Storage at same time?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have trawled through many articles with no luck.&lt;BR /&gt;it's only way to create driver?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Aug 2018 03:08:00 GMT</pubDate>
    <dc:creator>alexkuo</dc:creator>
    <dc:date>2018-08-08T03:08:00Z</dc:date>
    <item>
      <title>How do I establish 2 HID and 1 mass storage at same time ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-do-I-establish-2-HID-and-1-mass-storage-at-same-time/m-p/825142#M126878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to establish 2 HID device and 1 mass storage using IMX6ULL14x14evk sample.&lt;/P&gt;&lt;P&gt;I already add some HID features from menuconfig. After using MFGTool, then I using&amp;nbsp;&amp;nbsp;"insmod" command to add HID features(g_hid.ko) and mass storage(g_mass_storage.ko), only 1 HID or 1 mass storage can be found. How do I establish 2 HID and 1 mass storage at same time ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Linux version: 4.9.11-1.0.0+gc27010d&lt;/P&gt;&lt;P&gt;EVK: imx6ull14x14evk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Command:&lt;/P&gt;&lt;P&gt;root@imx6ull14x14evk:/lib/modules/4.9.11-1.0.0+gc27010d/kernel/drivers/usb/gadget/&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;legacy/&lt;/SPAN&gt;#&amp;nbsp; insmod&amp;nbsp;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;g_hid.ko&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;root@imx6ull14x14evk:/lib/modules/4.9.11-1.0.0+gc27010d/kernel/drivers/usb/gadget/&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;legacy/&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;#&amp;nbsp; insmod&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;g_mass_storage.ko&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 02:20:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-do-I-establish-2-HID-and-1-mass-storage-at-same-time/m-p/825142#M126878</guid>
      <dc:creator>alexkuo</dc:creator>
      <dc:date>2018-08-07T02:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do I establish 2 HID and 1 mass storage at same time ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-do-I-establish-2-HID-and-1-mass-storage-at-same-time/m-p/825143#M126879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for such purpose it is necessary to create usb composite driver,&lt;/P&gt;&lt;P&gt;one can look at linux documentation and some examples&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/282200"&gt;Creating a Linux Gadget USB Composite Device for i.MX28&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.kernel.org/doc/html/v4.13/driver-api/usb/gadget.html" title="https://www.kernel.org/doc/html/v4.13/driver-api/usb/gadget.html"&gt;USB Gadget API for Linux — The Linux Kernel documentation&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, 07 Aug 2018 09:49:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-do-I-establish-2-HID-and-1-mass-storage-at-same-time/m-p/825143#M126879</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-08-07T09:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I establish 2 HID and 1 mass storage at same time ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-do-I-establish-2-HID-and-1-mass-storage-at-same-time/m-p/825144#M126880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi igor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use&amp;nbsp;2 device configuration as below, do I need to create usb driver?&lt;BR /&gt;- Interface 0, EP1 IN/OUT, interrupt: vendor specific HID&lt;BR /&gt;- Interface 1, EP2 IN/OUT, bulk: Mass Storage, bulk-only transfer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, it's too complex to create usb composite driver.&lt;/P&gt;&lt;P&gt;Does it have efficient way to&amp;nbsp;modify USB descriptor&amp;nbsp;for 1 HID and 1 Mass Storage at same time?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have trawled through many articles with no luck.&lt;BR /&gt;it's only way to create driver?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 03:08:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-do-I-establish-2-HID-and-1-mass-storage-at-same-time/m-p/825144#M126880</guid>
      <dc:creator>alexkuo</dc:creator>
      <dc:date>2018-08-08T03:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do I establish 2 HID and 1 mass storage at same time ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-do-I-establish-2-HID-and-1-mass-storage-at-same-time/m-p/825145#M126881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hi igor&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;If I use&amp;nbsp;2 devices configuration as below, do I need to create usb driver?&lt;BR /&gt;- Interface 0, EP1 IN/OUT, interrupt: vendor specific HID&lt;BR /&gt;- Interface 1, EP2 IN/OUT, bulk: Mass Storage, bulk-only transfer&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Actually, it's too complex to create usb composite driver.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Does it have efficient way to&amp;nbsp;modify USB descriptor&amp;nbsp;for 1 HID and 1 Mass Storage at same time?&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I have trawled through many articles with no luck.&lt;BR /&gt;it's only way to create driver?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 03:09:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-do-I-establish-2-HID-and-1-mass-storage-at-same-time/m-p/825145#M126881</guid>
      <dc:creator>alexkuo</dc:creator>
      <dc:date>2018-08-08T03:09:36Z</dc:date>
    </item>
  </channel>
</rss>

