[ltp] x301 resume problem

xun wang linux-thinkpad@linux-thinkpad.org
Thu, 1 Jan 2009 06:42:58 -0500


------=_Part_154665_22204974.1230810178674
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

hi you tried this work around? I found it on ubuntu forum and it worked for
my t400:

> #!/bin/sh
> # Workaround for concurrency bug in xserver-xorg-video-intel
> 2:2.4.1-1ubuntu10.
> # Save this as /etc/pm/sleep.d/00CPU
>
> . "${PM_FUNCTIONS}" # also try . "/usr/lib/pm-utils/functions" if that
> doesn't work
>
> case "$1" in
>     hibernate|suspend)
>         for i in /sys/devices/system/cpu/cpu*/online ; do
>             echo 0 >$i
>         done
>         ;;
>     thaw|resume)
>         sleep 10    # run with one core for 10 secs
>         for i in /sys/devices/system/cpu/cpu*/online ; do
>             echo 1 >$i
>         done
>         ;;
>     *)
>         ;;
> esac
>

On Thu, Jan 1, 2009 at 6:35 AM, Lou Burnard <lou.burnard@gmail.com> wrote:

> On Wed, Dec 31, 2008 at 4:57 PM, axp <axp@shacknet.at> wrote:
> > Hi List,
> >
> > i've got my x301 for a while now, and every time i suspend my machine, it
> > comes back up and freezes. Anyone also expierience this behavior with
> this
> > machine?
> >
> >
>
> Yep. I have the same problem. What's even more annoying is that when
> it's in suspend mode, it gets hotter and hotter, thus causing the
> battery to run down faster than it should.
>
>
> >
> > mfg
> > axp
> > --
> > The linux-thinkpad mailing list home page is at:
> > http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
> >
> --
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>

------=_Part_154665_22204974.1230810178674
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

hi you tried this work around? I found it on ubuntu forum and it worked for my t400:<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">#!/bin/sh<br>
# Workaround for concurrency bug in xserver-xorg-video-intel 2:2.4.1-1ubuntu10.<br># Save this as /etc/pm/sleep.d/00CPU<br><br>. &quot;${PM_FUNCTIONS}&quot; # also try . &quot;/usr/lib/pm-utils/functions&quot; if that doesn&#39;t work<br>
<br>case &quot;$1&quot; in<br>&nbsp;&nbsp;&nbsp; hibernate|suspend)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; for i in /sys/devices/system/cpu/cpu*/online ; do<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; echo 0 &gt;$i<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; done<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ;;<br>&nbsp;&nbsp;&nbsp; thaw|resume) <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; sleep 10&nbsp;&nbsp;&nbsp; # run with one core for 10 secs<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; for i in /sys/devices/system/cpu/cpu*/online ; do<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; echo 1 &gt;$i<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; done<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ;;<br>&nbsp;&nbsp;&nbsp; *)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ;;<br>esac<br></blockquote><br><div class="gmail_quote">On Thu, Jan 1, 2009 at 6:35 AM, Lou Burnard <span dir="ltr">&lt;<a href="mailto:lou.burnard@gmail.com">lou.burnard@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Wed, Dec 31, 2008 at 4:57 PM, axp &lt;<a href="mailto:axp@shacknet.at">axp@shacknet.at</a>&gt; wrote:<br>

&gt; Hi List,<br>
&gt;<br>
&gt; i&#39;ve got my x301 for a while now, and every time i suspend my machine, it<br>
&gt; comes back up and freezes. Anyone also expierience this behavior with this<br>
&gt; machine?<br>
&gt;<br>
&gt;<br>
<br>
</div>Yep. I have the same problem. What&#39;s even more annoying is that when<br>
it&#39;s in suspend mode, it gets hotter and hotter, thus causing the<br>
battery to run down faster than it should.<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
&gt;<br>
&gt; mfg<br>
&gt; axp<br>
&gt; --<br>
&gt; The linux-thinkpad mailing list home page is at:<br>
&gt; <a href="http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad" target="_blank">http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad</a><br>
&gt;<br>
--<br>
The linux-thinkpad mailing list home page is at:<br>
<a href="http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad" target="_blank">http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad</a><br>
</div></div></blockquote></div><br>

------=_Part_154665_22204974.1230810178674--