<?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 imx7 Sim driver dead after suspend in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx7-Sim-driver-dead-after-suspend/m-p/1435562#M188742</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the SIM card driver in the kernel in my imx7 from Toradex. Until now it works perfectly until I do a suspend&lt;/P&gt;&lt;P&gt;I have noticed that the kernel driver stops functioning correctly after the device exits suspend mode.&lt;/P&gt;&lt;P&gt;After exiting suspend mode the SIM card signals are no longer visible, no more SIM clock and reset is low&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try this after exiting suspend:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i=ioctl(sim_fd, SIM_IOCTL_COLD_RESET);&lt;BR /&gt;if (i &amp;gt;= 0)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; printf("Cold Reset Pass\n");&lt;BR /&gt;&amp;nbsp; &amp;nbsp; usleep(100000);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; i=ioctl(sim_fd, SIM_IOCTL_GET_ATR, pAtr_data);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The final ioctl fails and I also see nothing on the SIM bus.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas about what could be wrong with the imx_sim.c driver?&lt;/P&gt;</description>
    <pubDate>Tue, 29 Mar 2022 12:54:14 GMT</pubDate>
    <dc:creator>eoin_oconnell</dc:creator>
    <dc:date>2022-03-29T12:54:14Z</dc:date>
    <item>
      <title>imx7 Sim driver dead after suspend</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx7-Sim-driver-dead-after-suspend/m-p/1435562#M188742</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the SIM card driver in the kernel in my imx7 from Toradex. Until now it works perfectly until I do a suspend&lt;/P&gt;&lt;P&gt;I have noticed that the kernel driver stops functioning correctly after the device exits suspend mode.&lt;/P&gt;&lt;P&gt;After exiting suspend mode the SIM card signals are no longer visible, no more SIM clock and reset is low&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try this after exiting suspend:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i=ioctl(sim_fd, SIM_IOCTL_COLD_RESET);&lt;BR /&gt;if (i &amp;gt;= 0)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; printf("Cold Reset Pass\n");&lt;BR /&gt;&amp;nbsp; &amp;nbsp; usleep(100000);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; i=ioctl(sim_fd, SIM_IOCTL_GET_ATR, pAtr_data);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The final ioctl fails and I also see nothing on the SIM bus.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas about what could be wrong with the imx_sim.c driver?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 12:54:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx7-Sim-driver-dead-after-suspend/m-p/1435562#M188742</guid>
      <dc:creator>eoin_oconnell</dc:creator>
      <dc:date>2022-03-29T12:54:14Z</dc:date>
    </item>
  </channel>
</rss>

