<?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: g_hid unloading issue in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/g-hid-unloading-issue/m-p/697943#M108371</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krunal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please refer to sect.39.3.9 Loadable Module Support attached Linux Manual.&lt;/P&gt;&lt;P&gt;Non specific to nxp usb driver issues may be posted on kernel mail list:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://vger.kernel.org/vger-lists.html#linux-usb" title="http://vger.kernel.org/vger-lists.html#linux-usb"&gt;Majordomo Lists at VGER.KERNEL.ORG&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>Mon, 11 Sep 2017 09:49:23 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2017-09-11T09:49:23Z</dc:date>
    <item>
      <title>g_hid unloading issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/g-hid-unloading-issue/m-p/697942#M108370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am&amp;nbsp;trying to test g_hid driver but facing issues while removing g_hid using rmmod&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 9.0pt;"&gt;root@imx6ulnxpuiopb:~# modprobe g_hid&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 9.0pt;"&gt;root@imx6ulnxpuiopb:~# rmmod g_hid&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #c00000; font-size: 9.0pt;"&gt;root@imx6ulnxpuiopb:~# modprobe g_hid&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #c00000; font-size: 9.0pt;"&gt;Segmentation fault&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kernel: &lt;STRONG style="font-size: 9.0pt;"&gt;Linux imx6ulnxpuiopb 4.1.15-1.2.0+g77f6154 #82 SMP PREEMPT Fri Sep 1 17:24:23 IST 2017 armv7l GNU/Linux&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I split the loading of modules and I tried following commands, I think insmod in a particular scenario causing this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;insmod /lib/modules/4.1.15-1.2.0+g77f6154/kernel/fs/configfs/configfs.ko&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;rmmod /lib/modules/4.1.15-1.2.0+g77f6154/kernel/fs/configfs/configfs.ko&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I tried above commands for 3 times without any problem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;insmod /lib/modules/4.1.15-1.2.0+g77f6154/kernel/drivers/usb/gadget/libcomposite.ko&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;rmmod /lib/modules/4.1.15-1.2.0+g77f6154/kernel/drivers/usb/gadget/libcomposite.ko&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I tried above commands for 3 times without any problem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;insmod /lib/modules/4.1.15-1.2.0+g77f6154/kernel/drivers/usb/gadget/function/usb_f_hid.ko&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;rmmod /lib/modules/4.1.15-1.2.0+g77f6154/kernel/drivers/usb/gadget/function/usb_f_hid.ko&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I tried above commands for 3 times without any problem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #c00000;"&gt;insmod /lib/modules/4.1.15-1.2.0+g77f6154/kernel/drivers/usb/gadget/legacy/g_hid.ko&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #c00000;"&gt;rmmod /lib/modules/4.1.15-1.2.0+g77f6154/kernel/drivers/usb/gadget/legacy/g_hid.ko&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #c00000;"&gt;This is problematic part and dumps the core on second attempt.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it would have been a driver issue it should show kernel panic instead its dumping the core.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone please help me on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 05:37:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/g-hid-unloading-issue/m-p/697942#M108370</guid>
      <dc:creator>krunalkhetani</dc:creator>
      <dc:date>2017-09-08T05:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: g_hid unloading issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/g-hid-unloading-issue/m-p/697943#M108371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krunal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please refer to sect.39.3.9 Loadable Module Support attached Linux Manual.&lt;/P&gt;&lt;P&gt;Non specific to nxp usb driver issues may be posted on kernel mail list:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://vger.kernel.org/vger-lists.html#linux-usb" title="http://vger.kernel.org/vger-lists.html#linux-usb"&gt;Majordomo Lists at VGER.KERNEL.ORG&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>Mon, 11 Sep 2017 09:49:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/g-hid-unloading-issue/m-p/697943#M108371</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-09-11T09:49:23Z</dc:date>
    </item>
  </channel>
</rss>

