[Bug 1956914] Re: Can't resume from suspend on some specific systems using fwts 21.12

2022-01-26 Thread Alex Hung
** Changed in: fwts
   Status: Fix Committed => Fix Released

** Changed in: fwts (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1956914

Title:
  Can't resume from suspend on some specific systems using fwts 21.12

To manage notifications about this bug go to:
https://bugs.launchpad.net/fwts/+bug/1956914/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1956914] Re: Can't resume from suspend on some specific systems using fwts 21.12

2022-01-17 Thread Alex Hung
** Changed in: fwts
   Status: In Progress => Fix Committed

** Changed in: fwts (Ubuntu)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1956914

Title:
  Can't resume from suspend on some specific systems using fwts 21.12

To manage notifications about this bug go to:
https://bugs.launchpad.net/fwts/+bug/1956914/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1956914] Re: Can't resume from suspend on some specific systems using fwts 21.12

2022-01-12 Thread Alex Hung
A fwts patch was sent for reviews:
https://patchwork.ozlabs.org/project/fwts/patch/20220112173507.947912-1-alex.h...@canonical.com/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1956914

Title:
  Can't resume from suspend on some specific systems using fwts 21.12

To manage notifications about this bug go to:
https://bugs.launchpad.net/fwts/+bug/1956914/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1956914] Re: Can't resume from suspend on some specific systems using fwts 21.12

2022-01-12 Thread Sylvain Pineau
After checking how checkbox run fwts and getting feedback from Kent, I think 
having fwts following the policy set in /sys/power/mem_sleep is a good idea. 
Defaulting to S3 will cause certification a lot of issues considering all new 
laptops will only come with support for s2idle.
What I'd like to avoid is telling via a checkbox manifest entry which suspend 
method to use, that won't scale.
My proposal is then to revert the commit from 
https://bugs.launchpad.net/fwts/+bug/1956914/comments/3

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1956914

Title:
  Can't resume from suspend on some specific systems using fwts 21.12

To manage notifications about this bug go to:
https://bugs.launchpad.net/fwts/+bug/1956914/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1956914] Re: Can't resume from suspend on some specific systems using fwts 21.12

2022-01-11 Thread Kevin Yeh
@Alex

an update for this issue:
I just tested running fwts with --s3-sleep-type=s3, it can resume normally,
and I heard from Kent Lin and SWE member, dell's laptop don't support s3 for 
now.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1956914

Title:
  Can't resume from suspend on some specific systems using fwts 21.12

To manage notifications about this bug go to:
https://bugs.launchpad.net/fwts/+bug/1956914/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1956914] Re: Can't resume from suspend on some specific systems using fwts 21.12

2022-01-11 Thread Alex Hung
** Changed in: fwts
   Status: Confirmed => In Progress

** Changed in: fwts
 Assignee: (unassigned) => Alex Hung (alexhung)

** Changed in: fwts (Ubuntu)
 Assignee: Alex Hung (alexhung) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1956914

Title:
  Can't resume from suspend on some specific systems using fwts 21.12

To manage notifications about this bug go to:
https://bugs.launchpad.net/fwts/+bug/1956914/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1956914] Re: Can't resume from suspend on some specific systems using fwts 21.12

2022-01-11 Thread Anthony Wong
** Changed in: fwts (Ubuntu)
   Importance: Undecided => High

** Changed in: fwts
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1956914

Title:
  Can't resume from suspend on some specific systems using fwts 21.12

To manage notifications about this bug go to:
https://bugs.launchpad.net/fwts/+bug/1956914/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1956914] Re: Can't resume from suspend on some specific systems using fwts 21.12

2022-01-11 Thread Kevin Yeh
@Alex, @Ivan

There are some systems' default sleep mode is deep.

Maybe I can ask @sylvain comment on this issue, for the fix is
appropriate to land in checkbox or not.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1956914

Title:
  Can't resume from suspend on some specific systems using fwts 21.12

To manage notifications about this bug go to:
https://bugs.launchpad.net/fwts/+bug/1956914/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1956914] Re: Can't resume from suspend on some specific systems using fwts 21.12

2022-01-11 Thread Kevin Yeh
@Ivan,

I just asked KC, he said if default sleep type is s2idle, it should test
with s2idle.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1956914

Title:
  Can't resume from suspend on some specific systems using fwts 21.12

To manage notifications about this bug go to:
https://bugs.launchpad.net/fwts/+bug/1956914/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1956914] Re: Can't resume from suspend on some specific systems using fwts 21.12

2022-01-11 Thread Ivan Hu
@Kevin,

Yes, the commit 713284e505287611c7e1e6ae61254de3035433b5 add the "--
s3-sleep-type" sleep type selection and make S3(deep) as default if not
specified.

for those failed platforms, don't they support S3?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1956914

Title:
  Can't resume from suspend on some specific systems using fwts 21.12

To manage notifications about this bug go to:
https://bugs.launchpad.net/fwts/+bug/1956914/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1956914] Re: Can't resume from suspend on some specific systems using fwts 21.12

2022-01-11 Thread Kevin Yeh
That means if I don't use --s3-sleep-type=s2idle, fwts will test with
s3.

What I can see is most of systems can wake from s3, only 4 systems can't
for now.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1956914

Title:
  Can't resume from suspend on some specific systems using fwts 21.12

To manage notifications about this bug go to:
https://bugs.launchpad.net/fwts/+bug/1956914/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1956914] Re: Can't resume from suspend on some specific systems using fwts 21.12

2022-01-11 Thread Ivan Hu
Is there any reason that "deep" cannot work? Shuuld it be an issue?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1956914

Title:
  Can't resume from suspend on some specific systems using fwts 21.12

To manage notifications about this bug go to:
https://bugs.launchpad.net/fwts/+bug/1956914/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1956914] Re: Can't resume from suspend on some specific systems using fwts 21.12

2022-01-11 Thread Alex Hung
It can be the result of the following commit which introduced "s3-sleep-
type" and used "deep" sleep as default in fwts 21.11.00. If 21.10.00
does not have the issue we can also certain this is the root cause.

commit 713284e505287611c7e1e6ae61254de3035433b5
Author: Ivan Hu 
Date:   Fri Nov 19 17:20:25 2021 +0800

s3: add sleep type setting for testing with s3 or s2idle

Add s3-sleep-type for select test with s3 or s2idle.
i.e. fwts s3 --s3-sleep-type=s2idle
If sleep type is not specified, test with s3 by default.
And it will restore system sleep type settings after testing.

Signed-off-by: Ivan Hu 
Acked-by: Alex Hung 


If 713284e50528 is the root cause, a solution can land in either fwts or 
checkbox (i.e run "sudo fwts s3 --s3-sleep-type=s2idle --s3-sleep-delay=30"). 
We can start a conversation for a appropriate fix.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1956914

Title:
  Can't resume from suspend on some specific systems using fwts 21.12

To manage notifications about this bug go to:
https://bugs.launchpad.net/fwts/+bug/1956914/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1956914] Re: Can't resume from suspend on some specific systems using fwts 21.12

2022-01-11 Thread Kevin Yeh
Hi Alex,

I use dell system(202001-27665) to test your step.

1.default sleep type is [s2idle] deep

2.use rtcwake to trigger a sleep, and dmesg shows the message ""PM:
suspend entry (s2idle)"

3.if force fwts use s2idle, system can wake.

there is additional information, if I use fwts-21.09 on impish, I won't
meet this issue.

thanks for your help.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1956914

Title:
  Can't resume from suspend on some specific systems using fwts 21.12

To manage notifications about this bug go to:
https://bugs.launchpad.net/fwts/+bug/1956914/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1956914] Re: Can't resume from suspend on some specific systems using fwts 21.12

2022-01-11 Thread Alex Hung
There can be either s3 or s2idle:

1. let's first identify the default sleep type such as

$ cat /sys/power/mem_sleep
[s2idle] deep

2. use rtcwake to trigger a sleep, if this works, dmesg will show "PM:
suspend entry (s2idle)" or "PM: suspend entry (deep)"

$ sudo rtcwake -m mem -s 30

3. If s2idle is the default, let's force fwts to use it and verify
whether the bug persists

$ sudo fwts s3 --s3-sleep-type=s2idle --s3-sleep-delay=30

Note: fwts may use "deep" as default"

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1956914

Title:
  Can't resume from suspend on some specific systems using fwts 21.12

To manage notifications about this bug go to:
https://bugs.launchpad.net/fwts/+bug/1956914/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1956914] Re: Can't resume from suspend on some specific systems using fwts 21.12

2022-01-11 Thread Alex Hung
** Changed in: fwts (Ubuntu)
   Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1956914

Title:
  Can't resume from suspend on some specific systems using fwts 21.12

To manage notifications about this bug go to:
https://bugs.launchpad.net/fwts/+bug/1956914/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1956914] Re: Can't resume from suspend on some specific systems using fwts 21.12

2022-01-10 Thread Kevin Yeh
** Changed in: fwts (Ubuntu)
 Assignee: (unassigned) => Alex Hung (alexhung)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1956914

Title:
  Can't resume from suspend on some specific systems using fwts 21.12

To manage notifications about this bug go to:
https://bugs.launchpad.net/fwts/+bug/1956914/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1956914] Re: Can't resume from suspend on some specific systems using fwts 21.12

2022-01-10 Thread Kevin Yeh
** Changed in: fwts
   Status: New => Confirmed

** Also affects: fwts (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1956914

Title:
  Can't resume from suspend on some specific systems using fwts 21.12

To manage notifications about this bug go to:
https://bugs.launchpad.net/fwts/+bug/1956914/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs