<?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 did `echo mem &amp;gt; /sys/power/state ` do ? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-did-echo-mem-gt-sys-power-state-do/m-p/746466#M116132</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: #943634;"&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: #943634;"&gt;I'm using i.MX6 sabresd for my board and ubuntu 16.04 for my os system.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: #943634;"&gt;When I go into the sleeping mode I will run `&lt;SPAN style="font-size: 12.0pt; color: #943634;"&gt;echo mem &amp;gt; /sys/power/state&lt;/SPAN&gt; `.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: #943634;"&gt;And the back light will turn off.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: #943634;"&gt;Here I got some questions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: #943634;"&gt;1. Where will it turned off the back light when I run `&lt;SPAN style="font-size: 12.0pt; color: #943634;"&gt;echo mem &amp;gt; /sys/power/state&lt;/SPAN&gt; ` and how do it know which back light pin I've defined.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: #943634;"&gt;2. Which device will it turned off ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: #943634;"&gt;Any answers or documents can provide me to understand it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: #943634;"&gt;Thanks in Advanced!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Nov 2017 06:58:38 GMT</pubDate>
    <dc:creator>wangvictor</dc:creator>
    <dc:date>2017-11-29T06:58:38Z</dc:date>
    <item>
      <title>How did `echo mem &gt; /sys/power/state ` do ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-did-echo-mem-gt-sys-power-state-do/m-p/746466#M116132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: #943634;"&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: #943634;"&gt;I'm using i.MX6 sabresd for my board and ubuntu 16.04 for my os system.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: #943634;"&gt;When I go into the sleeping mode I will run `&lt;SPAN style="font-size: 12.0pt; color: #943634;"&gt;echo mem &amp;gt; /sys/power/state&lt;/SPAN&gt; `.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: #943634;"&gt;And the back light will turn off.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: #943634;"&gt;Here I got some questions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: #943634;"&gt;1. Where will it turned off the back light when I run `&lt;SPAN style="font-size: 12.0pt; color: #943634;"&gt;echo mem &amp;gt; /sys/power/state&lt;/SPAN&gt; ` and how do it know which back light pin I've defined.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: #943634;"&gt;2. Which device will it turned off ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: #943634;"&gt;Any answers or documents can provide me to understand it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; color: #943634;"&gt;Thanks in Advanced!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 06:58:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-did-echo-mem-gt-sys-power-state-do/m-p/746466#M116132</guid>
      <dc:creator>wangvictor</dc:creator>
      <dc:date>2017-11-29T06:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: How did `echo mem &gt; /sys/power/state ` do ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-did-echo-mem-gt-sys-power-state-do/m-p/746467#M116133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi victor,&lt;/P&gt;&lt;P&gt;1) This is direct syscall. it will call the kernel functions and it will do the respective operation.&lt;/P&gt;&lt;P&gt;2) In kernel it will fetch pin details from dts. In dts configured device it get to off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aravinth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 13:00:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-did-echo-mem-gt-sys-power-state-do/m-p/746467#M116133</guid>
      <dc:creator>aravinthkumarja</dc:creator>
      <dc:date>2017-11-29T13:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: How did `echo mem &gt; /sys/power/state ` do ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-did-echo-mem-gt-sys-power-state-do/m-p/746468#M116134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="253791" data-username="aravinthkumarjayaprakasam" href="https://community.nxp.com/people/aravinthkumarjayaprakasam" style="color: #5e89c1; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: none; font-size: 1.286rem;"&gt;aravinthkumar jayaprakasam&lt;/A&gt;&lt;/P&gt;&lt;P&gt;1) Which kernel driver will it call could you give me a hint?&lt;/P&gt;&lt;P&gt;2) So if I defined it in the dts then it will be all set in the pmic detect?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2017 02:30:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-did-echo-mem-gt-sys-power-state-do/m-p/746468#M116134</guid>
      <dc:creator>wangvictor</dc:creator>
      <dc:date>2017-11-30T02:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: How did `echo mem &gt; /sys/power/state ` do ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-did-echo-mem-gt-sys-power-state-do/m-p/746469#M116135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, when you execute the 'echo mem &amp;gt; /sys/power/state' command, the system goes to the "suspend-to-memory" power saving mode, turning most of the SoC IPs off. The display backlight is controlled by the backlight driver, you can check its definitions in the system .dts file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find more information in the BSP documentation, please find it attached.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Artur&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Thu, 30 Nov 2017 09:31:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-did-echo-mem-gt-sys-power-state-do/m-p/746469#M116135</guid>
      <dc:creator>art</dc:creator>
      <dc:date>2017-11-30T09:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: How did `echo mem &gt; /sys/power/state ` do ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-did-echo-mem-gt-sys-power-state-do/m-p/746470#M116136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="14795" data-username="art" href="https://community.nxp.com/people/art" style="color: #5e89c1; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: none; font-size: 1.286rem;"&gt;Artur Petukhov&lt;/A&gt;&lt;SPAN style="color: #5e89c1; background-color: #ffffff; font-weight: 500;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="&amp;amp;#21729;&amp;amp;#24037;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/123210iEEE20759E9671C58/image-size/large?v=v2&amp;amp;px=999" role="button" title="&amp;amp;#21729;&amp;amp;#24037;" alt="&amp;amp;#21729;&amp;amp;#24037;" /&gt;&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;Is the Soc IPs need the voltage which is from pmic?&lt;/P&gt;&lt;P&gt;I'm not quite sure what is the Soc IPs stand for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2017 10:16:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-did-echo-mem-gt-sys-power-state-do/m-p/746470#M116136</guid>
      <dc:creator>wangvictor</dc:creator>
      <dc:date>2017-11-30T10:16:11Z</dc:date>
    </item>
  </channel>
</rss>

