<?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 kernel crashes when USB disconnected() is called in between usb_snd_msg() in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/kernel-crashes-when-USB-disconnected-is-called-in-between-usb/m-p/496583#M79935</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a sample USB driver with character device access from user space.&lt;/P&gt;&lt;P&gt;I write a user space program to access the kernel driver write() function where I call usb_bulk_msg() to write in BULK OUT endpoint.&lt;/P&gt;&lt;P&gt;When I removed the USB in-between write transfer it crashes where the disconnect() is being invoked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lyf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jan 2016 03:13:47 GMT</pubDate>
    <dc:creator>lyfsci</dc:creator>
    <dc:date>2016-01-18T03:13:47Z</dc:date>
    <item>
      <title>kernel crashes when USB disconnected() is called in between usb_snd_msg()</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/kernel-crashes-when-USB-disconnected-is-called-in-between-usb/m-p/496583#M79935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a sample USB driver with character device access from user space.&lt;/P&gt;&lt;P&gt;I write a user space program to access the kernel driver write() function where I call usb_bulk_msg() to write in BULK OUT endpoint.&lt;/P&gt;&lt;P&gt;When I removed the USB in-between write transfer it crashes where the disconnect() is being invoked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lyf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2016 03:13:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/kernel-crashes-when-USB-disconnected-is-called-in-between-usb/m-p/496583#M79935</guid>
      <dc:creator>lyfsci</dc:creator>
      <dc:date>2016-01-18T03:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: kernel crashes when USB disconnected() is called in between usb_snd_msg()</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/kernel-crashes-when-USB-disconnected-is-called-in-between-usb/m-p/496584#M79936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Lyf,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sorry to say it is not within the scope of our support on how to write a USB driver !&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Suggest you had better refer to some books on linux driver.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Weidong&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2016 09:05:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/kernel-crashes-when-USB-disconnected-is-called-in-between-usb/m-p/496584#M79936</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2016-01-18T09:05:58Z</dc:date>
    </item>
  </channel>
</rss>

