You are not logged in.

#1 2009-01-29 02:56:23

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

On resume, laptop suspends again, then resumes normally

On a fresh install of Arch Linux (with a Gnome desktop), I followed the advice in this thread, putting this in /usr/share/PolicyKit/policy/org.freedesktop.hal.power-management.policy::

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
 "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">

<policyconfig>

  <action id="org.freedesktop.hal.power-management.suspend">
    <description>Suspend the system</description>
    <message>System policy prevents suspending the system</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.hal.power-management.hibernate">
    <description>Hibernate the system</description>
    <message>System policy prevents hibernating the system</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>


</policyconfig>

As expected, this gives me my suspend and hibernate options. However, on resuming from suspend, my Aspire 3680's screen blinks on for a second - and then the machine suspends again. Hitting the keyboard a second time causes it to resume normally.

This is a pretty minor inconvenicence, but I'd like to know if anyone else is experiencing it or other suspend problems lately? Could it be an issue with the latest kernel? What boot parameters might correct it, if any?

Offline

#2 2009-01-29 09:48:06

NeoXP
Member
From: MS Matrix
Registered: 2009-01-09
Posts: 206
Website

Re: On resume, laptop suspends again, then resumes normally

I have been playing around with Arch for some time. I encountered the same problem with pm-utils. I decided to make Arch my only OS so I removed XP and did a fresh install. I got my suspend working again, but did not test it thoroughly yet.

I'll keep following this thread and post my experience.


Arch x86_64 on HP 6820s and on HP nx9420. Registered Linux User 350155, since 24-03-2004
"Everyone said that it could not be done, until someone came along who didn't know that."

Offline

#3 2009-01-29 23:34:52

bwh1969
Member
Registered: 2008-01-05
Posts: 151

Re: On resume, laptop suspends again, then resumes normally

I noticed that my machines acpi scripts (asus) were conflicting with what my power manager wanted.

If you have anything in this directory

/etc/acpi

perhaps give this a try

http://bbs.archlinux.org/viewtopic.php?id=64180

Offline

#4 2009-01-29 23:56:34

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: On resume, laptop suspends again, then resumes normally

Nothing in /etc/acpi, acpid isn't installed. (I don't need it since I'm using gnome-power-manager.)

Offline

#5 2009-02-01 13:24:36

begray
Member
Registered: 2009-01-28
Posts: 5

Re: On resume, laptop suspends again, then resumes normally

It looks like xorg sends multiple key-pressed events for suspend/hibernate buttons and gnome-power-manager fails to handle that correctly.

https://bugs.launchpad.net/ubuntu/+sour … bug/261084

I temporarily solved this by using manual handling of hotkey events using acpid scripts in /etc/acpi and disabling hotkeys for suspend/hibernate in gnome-power-manager.

Offline

#6 2009-02-01 18:11:05

kjon
Member
From: Temuco, Chile
Registered: 2008-04-16
Posts: 398

Re: On resume, laptop suspends again, then resumes normally

I would recommend you to install acpi and handle all acpi evens through it. Your computer is suspending twice due to it recieves two suspend orders: One from bios and one from GPM.
In my case I disabled GPM suspend/hibernate support and let acpi handle everything through homebrew scripts. I found this is the simplest approach to give an end to the 'double suspending' issue.

But obviously, is up to you big_smile


They say that if you play a Win cd backward you hear satanic messages. That's nothing! 'cause if you play it forwards, it installs windows.

Offline

#7 2009-02-05 05:10:11

psybeer
Member
Registered: 2009-01-16
Posts: 14

Re: On resume, laptop suspends again, then resumes normally

I am in the same boat here... Dell Latitude D820
pm-utils installed, have read several posts and have not had any luck in resolving this issue. I am running xfce, pm-utils, and laptop mode tools. Any help would be appreciated.

Offline

#8 2009-02-06 08:37:21

webbrewer
Member
From: Eugene, OR USA
Registered: 2007-07-10
Posts: 25

Re: On resume, laptop suspends again, then resumes normally

I am having the same issue on my Lenovo Ideapad S10.  I ran acpi_listen, closed and opened the lid, and got two acpi lid events listed.  My acpi handler is set to listen for "button/lid" and run pm-suspend.  So it seems it is reacting to both events: resuming, seeing the lid event from opening, and then immediately suspending again.  Unfortunately, there is no way to distinctguish the two events, so the solution to this problem is not obvious to me.

Offline

#9 2009-07-01 22:58:37

szabo
Member
Registered: 2009-05-06
Posts: 8

Re: On resume, laptop suspends again, then resumes normally

Removing acpid solved it for me.
@bwh1969: thanks for the tip.

Offline

#10 2009-07-02 06:51:21

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: On resume, laptop suspends again, then resumes normally

There was the same issue with the NC10 and a solution can be found in the wiki.

Maybe this is useful for other notebooks, too?

Last edited by Barghest (2009-07-02 06:51:32)

Offline

#11 2009-07-17 13:17:08

Maroko
Member
From: Slovakia
Registered: 2009-06-23
Posts: 14

Re: On resume, laptop suspends again, then resumes normally

I had same problem. After long time I found that I have two files in /etc/acpi/events/ - anything and anything.pacsave . I removed pacsave file and now resume works fine.

Offline

Board footer

Powered by FluxBB