<?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 how does CONFIG_PM_AUTOSLEEP work? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/how-does-CONFIG-PM-AUTOSLEEP-work/m-p/345221#M47628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running Linux3.10.17 on imx6sl evk. I am trying to put imx6sl evk into a low power mode when the system become idle. when configuring the kernel, I enabled the following PM related options-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONFIG_SUSPEND=y&lt;/P&gt;&lt;P&gt;CONFIG_SUSPEND_FREEZER=y&lt;/P&gt;&lt;P&gt;CONFIG_PM_SLEEP=y&lt;/P&gt;&lt;P&gt;CONFIG_PM_SLEEP_SMP=y&lt;/P&gt;&lt;P&gt;CONFIG_PM_AUTOSLEEP=y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that Freescale provides unit tests for PM functions by "echo xxxx &amp;gt; /sys/power/state". But I need something working automatically, which I think "CONFIG_PM_AUTOSLEEP=y" sounds like does, but it seems&amp;nbsp; doing nothing. Do I need extra steps to enable auto-sleep mode on Linux3.10.17?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Xinsi Lin&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Feb 2015 16:20:42 GMT</pubDate>
    <dc:creator>xlin</dc:creator>
    <dc:date>2015-02-03T16:20:42Z</dc:date>
    <item>
      <title>how does CONFIG_PM_AUTOSLEEP work?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-does-CONFIG-PM-AUTOSLEEP-work/m-p/345221#M47628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running Linux3.10.17 on imx6sl evk. I am trying to put imx6sl evk into a low power mode when the system become idle. when configuring the kernel, I enabled the following PM related options-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONFIG_SUSPEND=y&lt;/P&gt;&lt;P&gt;CONFIG_SUSPEND_FREEZER=y&lt;/P&gt;&lt;P&gt;CONFIG_PM_SLEEP=y&lt;/P&gt;&lt;P&gt;CONFIG_PM_SLEEP_SMP=y&lt;/P&gt;&lt;P&gt;CONFIG_PM_AUTOSLEEP=y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that Freescale provides unit tests for PM functions by "echo xxxx &amp;gt; /sys/power/state". But I need something working automatically, which I think "CONFIG_PM_AUTOSLEEP=y" sounds like does, but it seems&amp;nbsp; doing nothing. Do I need extra steps to enable auto-sleep mode on Linux3.10.17?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Xinsi Lin&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 16:20:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-does-CONFIG-PM-AUTOSLEEP-work/m-p/345221#M47628</guid>
      <dc:creator>xlin</dc:creator>
      <dc:date>2015-02-03T16:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: how does CONFIG_PM_AUTOSLEEP work?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-does-CONFIG-PM-AUTOSLEEP-work/m-p/345222#M47629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Xinsi,&lt;/P&gt;&lt;P&gt;This article might help: &lt;A href="https://lwn.net/Articles/479841/" title="https://lwn.net/Articles/479841/"&gt;https://lwn.net/Articles/479841/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also this one: &lt;A href="https://events.linuxfoundation.org/images/stories/pdf/lcna_co2012_wysocki.pdf" title="https://events.linuxfoundation.org/images/stories/pdf/lcna_co2012_wysocki.pdf"&gt;https://events.linuxfoundation.org/images/stories/pdf/lcna_co2012_wysocki.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually the kernel facilities provide the mechanism and the policy is left to the user space. The user space can keep track of the activity level and decide to put the system to sleep when it deems justified. The autosleep feature was ported over from Android (and as far as I know, not used very often elsewhere) and relies on a kernel heuristic and the setup to do power management decisions. This will still require the user space to configure wakeup sources and suspend blockers properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe we test PM_SLEEP and some of the modules have PM_RUNTIME_SLEEP support but I don't think we test PM_AUTOSLEEP, So I cannot guarantee how well it'll work with i.mx6. Please remember that only the "mem" and "standby" states are supported by i.mx6.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 22:10:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-does-CONFIG-PM-AUTOSLEEP-work/m-p/345222#M47629</guid>
      <dc:creator>KursadOney</dc:creator>
      <dc:date>2015-02-03T22:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: how does CONFIG_PM_AUTOSLEEP work?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-does-CONFIG-PM-AUTOSLEEP-work/m-p/345223#M47630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Kursad, for your helpful pointers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 20:54:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-does-CONFIG-PM-AUTOSLEEP-work/m-p/345223#M47630</guid>
      <dc:creator>xlin</dc:creator>
      <dc:date>2015-02-04T20:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: how does CONFIG_PM_AUTOSLEEP work?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-does-CONFIG-PM-AUTOSLEEP-work/m-p/345224#M47631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On the i.MX6 side I would just like to add to Kursad's answer (which was very clear) that you may also want to look at the information on the BSP Linux Low-level Power Management Driver contained on chapter 16 of the i.MX 6Dual/6Quad Linux Reference Manual, available as part of the BSP document bundle.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 20:44:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-does-CONFIG-PM-AUTOSLEEP-work/m-p/345224#M47631</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2015-02-09T20:44:58Z</dc:date>
    </item>
  </channel>
</rss>

