Bug 639152

Summary: lenovo T61 suspends twice
Product: [openSUSE] openSUSE 11.3 Reporter: Harald Koenig <koenig>
Component: BasesystemAssignee: E-mail List <xorg-maintainer-bugs>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium CC: doerges
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: ps output for 1st suspend
ps output for 2nd s2ram call after resume

Description Harald Koenig 2010-09-14 08:34:56 UTC
since I've upgraded my T61 to 11.3 (using xfce4 desktop) suspend2ram has a new issue:

I trigger suspend with Fn-F4 which does suspend.  after resumning either by closing/opening the lid, or just by pressing Fn key, the system wakes up and immedately suspends again.  only the 2nd wakeup by Fn key then the notebook stays on.

this re-suspend is quite annoying as it takes quite some additional time, and if you forget to press Fn again I'm waiting "forever"

I've run "ps axjf" in a tight loop for the suspend/resume cycles which shows that both "s2ram" processes are started by upowerd (full ps outputs attached...)

 PPID   PID  PGID   SID TTY      TPGID STAT   UID   TIME COMMAND
    1  6169  2062  2062 ?           -1 S        0   1:21 /usr/lib/upower/upowerd
 6169 16079  2062  2062 ?           -1 S        0   0:00  \_ /bin/sh /usr/sbin/pm-suspend
16079 16979  2062  2062 ?           -1 D        0   0:00      \_ s2ram -f

and

 PPID   PID  PGID   SID TTY      TPGID STAT   UID   TIME COMMAND
    1  6169  2062  2062 ?           -1 S        0   1:21 /usr/lib/upower/upowerd
 6169 18904  2062  2062 ?           -1 S        0   0:00  \_ /bin/sh /usr/sbin/pm-suspend
18904 19576  2062  2062 ?           -1 D        0   0:00      \_ s2ram -f


if I trigger suspend by running "powersave -u" this re-suspend does not happen, 1st resume will remain running as expected, but it does not start the X screen lock:-(
Comment 1 Harald Koenig 2010-09-14 08:35:34 UTC
Created attachment 389413 [details]
ps output for 1st suspend
Comment 2 Harald Koenig 2010-09-14 08:36:32 UTC
Created attachment 389414 [details]
ps output for 2nd s2ram call after resume
Comment 4 Stefan Dirsch 2015-01-07 14:37:53 UTC
Product is no longer supported. In case the issue is still reproducable on a maintainerd product (at that momement: openSUSE 13.1 or later), feel free to reopen.