<?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 to make Android to go deep sleep using echo mem command ?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-make-Android-to-go-deep-sleep-using-echo-mem-command/m-p/1062945#M156229</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems the OS gets waked up with some signal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Jul 2020 05:07:19 GMT</pubDate>
    <dc:creator>b36401</dc:creator>
    <dc:date>2020-07-06T05:07:19Z</dc:date>
    <item>
      <title>How to make Android to go deep sleep using echo mem command ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-make-Android-to-go-deep-sleep-using-echo-mem-command/m-p/1062944#M156228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using imx8qm-mek Android9 Auto. As per my understanding we can put Android in deep sleep using below command:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;echo mem &amp;gt; /sys/power/state&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;But we are not able to put system in deep sleep. I mean it tries to enter in the deep sleep but it wakes up again. The time for which system stays in deep sleep is different every time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could be the reason ?&amp;nbsp; How to debug this ? What's ideal behavior ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have tested same command in Linux images, we could see that system stays in deep sleep mode until we press wakeup key on the board.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find below logs&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;STRONG&gt;mek_8q:/ # echo mem &amp;gt; /sys/power/state&lt;/STRONG&gt;&lt;BR /&gt;[ 33.180693] &lt;STRONG&gt;PM: suspend entry (deep)&lt;/STRONG&gt;&lt;BR /&gt;[ 33.186886] Freezing user space processes ... (elapsed 0.003 seconds) done.&lt;BR /&gt;[ 33.197281] OOM killer disabled.&lt;BR /&gt;[ 33.200533] Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done.&lt;BR /&gt;[ 33.210238] Suspending console(s) (use no_console_suspend to debug)&lt;BR /&gt;[ 33.224097] IOCTL failed: ffff8008ebd33800 id=0x10000, sub_id=0x10003 action=1, status_code=0x80000007&lt;BR /&gt;[ 33.232382] Suspend not allowed and retry again&lt;BR /&gt;[ 33.866933] PM: suspend devices took 0.648 seconds&lt;BR /&gt;[ 33.882602] Disabling non-boot CPUs ...&lt;BR /&gt;[ 33.897230] CPU1: shutdown&lt;BR /&gt;[ 33.900353] CPU0: update max cpu_capacity 1024&lt;BR /&gt;[ 33.916356] psci: Retrying again to check for CPU kill&lt;BR /&gt;[ 33.916359] psci: CPU1 killed.&lt;BR /&gt;[ 33.933003] CPU2: shutdown&lt;BR /&gt;[ 33.936350] CPU0: update max cpu_capacity 1024&lt;BR /&gt;[ 33.952353] psci: Retrying again to check for CPU kill&lt;BR /&gt;[ 33.952356] psci: CPU2 killed.&lt;BR /&gt;[ 33.968881] CPU3: shutdown&lt;BR /&gt;[ 33.972350] CPU0: update max cpu_capacity 1024&lt;BR /&gt;[ 33.988396] psci: Retrying again to check for CPU kill&lt;BR /&gt;[ 33.988400] psci: CPU3 killed.&lt;BR /&gt;[ 34.004744] CPU4: shutdown&lt;BR /&gt;[ 34.008351] CPU0: update max cpu_capacity 1024&lt;BR /&gt;[ 34.024350] psci: Retrying again to check for CPU kill&lt;BR /&gt;[ 34.024354] psci: CPU4 killed.&lt;BR /&gt;[ 34.040608] CPU5: shutdown&lt;BR /&gt;[ 34.060347] psci: Retrying again to check for CPU kill&lt;BR /&gt;[ 34.060353] psci: CPU5 killed.&lt;BR /&gt;[ 34.060865] fail to power on resource 289&lt;BR /&gt;[ 34.060865] fail to power on resource 309&lt;BR /&gt;[ 34.061243] Enabling non-boot CPUs ...&lt;BR /&gt;[ 34.062548] Detected VIPT I-cache on CPU1&lt;BR /&gt;[ 34.062576] GICv3: CPU1: found redistributor 1 region 0:0x0000000051b20000&lt;BR /&gt;[ 34.062622] CPU1: Booted secondary processor [410fd034]&lt;BR /&gt;[ 34.063169] cache: parent cpu1 should not be sleeping&lt;BR /&gt;[ 34.063465] CPU1 is up&lt;BR /&gt;[ 34.064861] Detected VIPT I-cache on CPU2&lt;BR /&gt;[ 34.064874] GICv3: CPU2: found redistributor 2 region 0:0x0000000051b40000&lt;BR /&gt;[ 34.064897] CPU2: Booted secondary processor [410fd034]&lt;BR /&gt;[ 34.065138] cache: parent cpu2 should not be sleeping&lt;BR /&gt;[ 34.065387] CPU2 is up&lt;BR /&gt;[ 34.066699] Detected VIPT I-cache on CPU3&lt;BR /&gt;[ 34.066713] GICv3: CPU3: found redistributor 3 region 0:0x0000000051b60000&lt;BR /&gt;[ 34.066735] CPU3: Booted secondary processor [410fd034]&lt;BR /&gt;[ 34.066983] cache: parent cpu3 should not be sleeping&lt;BR /&gt;[ 34.067265] CPU3 is up&lt;BR /&gt;[ 34.070116] CPU0: update max cpu_capacity 1024&lt;BR /&gt;[ 34.070156] Detected PIPT I-cache on CPU4&lt;BR /&gt;[ 34.070173] GICv3: CPU4: found redistributor 100 region 0:0x0000000051b80000&lt;BR /&gt;[ 34.070198] CPU4: Booted secondary processor [410fd082]&lt;BR /&gt;[ 34.070452] cache: parent cpu4 should not be sleeping&lt;BR /&gt;[ 34.070526] imx8_cpufreq_init: cluster 1 running at freq 1596 MHz, suspend freq 1596 MHz&lt;BR /&gt;[ 34.070823] CPU4 is up&lt;BR /&gt;[ 34.072144] Detected PIPT I-cache on CPU5&lt;BR /&gt;[ 34.072155] GICv3: CPU5: found redistributor 101 region 0:0x0000000051ba0000&lt;BR /&gt;[ 34.072172] CPU5: Booted secondary processor [410fd082]&lt;BR /&gt;[ 34.072299] CPU3: update max cpu_capacity 1024&lt;BR /&gt;[ 34.072386] cache: parent cpu5 should not be sleeping&lt;BR /&gt;[ 34.072693] CPU5 is up&lt;BR /&gt;[ 34.076295] CPU4: update max cpu_capacity 1024&lt;BR /&gt;[ 34.093825] imx6q-pcie 5f000000.pcie: pcie phy pll is locked.&lt;BR /&gt;[ 34.957678] PM: resume devices took 0.776 seconds&lt;BR /&gt;[ 35.218023] OOM killer enabled.&lt;BR /&gt;[ 35.221164] Restarting tasks ... done.&lt;BR /&gt;&lt;STRONG&gt;[ 35.229559] PM: suspend exit&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2020 11:08:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-make-Android-to-go-deep-sleep-using-echo-mem-command/m-p/1062944#M156228</guid>
      <dc:creator>amit251291</dc:creator>
      <dc:date>2020-07-03T11:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to make Android to go deep sleep using echo mem command ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-make-Android-to-go-deep-sleep-using-echo-mem-command/m-p/1062945#M156229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems the OS gets waked up with some signal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2020 05:07:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-make-Android-to-go-deep-sleep-using-echo-mem-command/m-p/1062945#M156229</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2020-07-06T05:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to make Android to go deep sleep using echo mem command ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-make-Android-to-go-deep-sleep-using-echo-mem-command/m-p/1062946#M156230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Victor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your input.&amp;nbsp;How do we debug on this ?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2020 06:01:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-make-Android-to-go-deep-sleep-using-echo-mem-command/m-p/1062946#M156230</guid>
      <dc:creator>amit251291</dc:creator>
      <dc:date>2020-07-06T06:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to make Android to go deep sleep using echo mem command ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-make-Android-to-go-deep-sleep-using-echo-mem-command/m-p/1062947#M156231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The ADB command like this:&lt;BR /&gt;adb shell dumpsys batterystats --checkin&lt;BR /&gt;provides a statistic for wakeups, including the reasons.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2020 03:00:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-make-Android-to-go-deep-sleep-using-echo-mem-command/m-p/1062947#M156231</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2020-07-16T03:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to make Android to go deep sleep using echo mem command ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-make-Android-to-go-deep-sleep-using-echo-mem-command/m-p/1062948#M156232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Victor I'll check with this command.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2020 04:45:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-make-Android-to-go-deep-sleep-using-echo-mem-command/m-p/1062948#M156232</guid>
      <dc:creator>amit251291</dc:creator>
      <dc:date>2020-07-16T04:45:49Z</dc:date>
    </item>
  </channel>
</rss>

