[ltp] Re: T410s: suspend when close lid

Michel Filipe linux-thinkpad@linux-thinkpad.org
Wed, 19 Oct 2011 17:39:01 -0200


This is a multi-part message in MIME format.
--------------030709070804030804010303
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

I found the origin of problem: 
<https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/863834>https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/863834/comments/8

Thanks Rodolfo for your time! :)

Em 19-10-2011 16:56, Michel Filipe escreveu:
> With kernel module (suspend), it works through hotkey and menu but 
> only with lid close that it doesn't work.
>
> Sorry, I think that wasn't clarify. Suspend works but only with lid 
> close that nothing happen.
>
> Em 19-10-2011 16:27, Rodolfo kix Garcia escreveu:
>> On 19/10/2011 19:56, Michel Filipe wrote:
>>> No, I'm using pm-utils with default settings (SLEEP_MODE=kernel).
>> Try this first:
>>
>> echo mem>  /sys/power/state
>>
>>> Will the uswsusp solve my problem?
>> If the "echo mem>  /sys/power/state" do the trip, probably.
>>
>>> Em 19-10-2011 14:30, Rodolfo kix Garcia escreveu:
>>>> Are you using uswsusp?
>>>>
>>>> On Wed, 19 Oct 2011 11:22:32 -0200, Michel Filipe wrote:
>>>>> I get the events when close/open lid:
>>>>> http://pastebin.com/4nr7qvUB [2]
>>>>>
>>>>> So, it is a software problem, right?
>>>>>
>>>>> Em 18-10-2011 18:45, Michel Filipe escreveu:
>>>>>
>>>>>> Hi!
>>>>>>
>>>>>> I'm using Ubuntu-11.10 and when I close lid, my thinkpad
>>>>>> doesn't suspend. It stays running like if lid was opened. I
>>>>>> configured Gnome Energy to suspend when lid is closed.
>>>>>>
>>>>>> Anyone knows if there is some solution for that?
>>>>>>
>>>>>> I attached the xev event log when I close the lid.
>>>>>>
>>>>>> Thanks, -- Michel Filipe http://mfilipe.eti.br [1]
>>>>>
>>>>>
>>>>> Links: ------ [1] http://mfilipe.eti.br [2]
>>>>> http://pastebin.com/4nr7qvUB
>


--------------030709070804030804010303
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I found the origin of problem:
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <a
href="https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/863834">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <a
href="https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/863834/comments/8">https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/863834/comments/8</a></a><br>
    <br>
    Thanks Rodolfo for your time! :)<br>
    <br>
    Em 19-10-2011 16:56, Michel Filipe escreveu:
    <blockquote cite="mid:4E9F1D65.5000702@gmail.com" type="cite">With
      kernel module (suspend), it works through hotkey and menu but only
      with lid close that it doesn't work.
      <br>
      <br>
      Sorry, I think that wasn't clarify. Suspend works but only with
      lid close that nothing happen.
      <br>
      <br>
      Em 19-10-2011 16:27, Rodolfo kix Garcia escreveu:
      <br>
      <blockquote type="cite">On 19/10/2011 19:56, Michel Filipe wrote:
        <br>
        <blockquote type="cite">No, I'm using pm-utils with default
          settings (SLEEP_MODE=kernel).
          <br>
        </blockquote>
        Try this first:
        <br>
        <br>
        echo mem&gt;  /sys/power/state
        <br>
        <br>
        <blockquote type="cite">Will the uswsusp solve my problem?
          <br>
        </blockquote>
        If the "echo mem&gt;  /sys/power/state" do the trip, probably.
        <br>
        <br>
        <blockquote type="cite">Em 19-10-2011 14:30, Rodolfo kix Garcia
          escreveu:
          <br>
          <blockquote type="cite">Are you using uswsusp?
            <br>
            <br>
            On Wed, 19 Oct 2011 11:22:32 -0200, Michel Filipe wrote:
            <br>
            <blockquote type="cite">I get the events when close/open
              lid:
              <br>
              <a class="moz-txt-link-freetext" href="http://pastebin.com/4nr7qvUB">http://pastebin.com/4nr7qvUB</a> [2]
              <br>
              <br>
              So, it is a software problem, right?
              <br>
              <br>
              Em 18-10-2011 18:45, Michel Filipe escreveu:
              <br>
              <br>
              <blockquote type="cite">Hi!
                <br>
                <br>
                I'm using Ubuntu-11.10 and when I close lid, my thinkpad
                <br>
                doesn't suspend. It stays running like if lid was
                opened. I
                <br>
                configured Gnome Energy to suspend when lid is closed.
                <br>
                <br>
                Anyone knows if there is some solution for that?
                <br>
                <br>
                I attached the xev event log when I close the lid.
                <br>
                <br>
                Thanks, -- Michel Filipe <a class="moz-txt-link-freetext" href="http://mfilipe.eti.br">http://mfilipe.eti.br</a> [1]
                <br>
              </blockquote>
              <br>
              <br>
              Links: ------ [1] <a class="moz-txt-link-freetext" href="http://mfilipe.eti.br">http://mfilipe.eti.br</a> [2]
              <br>
              <a class="moz-txt-link-freetext" href="http://pastebin.com/4nr7qvUB">http://pastebin.com/4nr7qvUB</a>
              <br>
            </blockquote>
          </blockquote>
        </blockquote>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </body>
</html>

--------------030709070804030804010303--