[Bug 1832693] Re: System auto suspend again during resuming

2019-10-17 Thread Rex Tsai
** Changed in: oem-priority
   Importance: High => Low

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

Title:
  System auto suspend again during resuming

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1832693/+subscriptions

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

[Bug 1832693] Re: System auto suspend again during resuming

2019-06-27 Thread Rex Tsai
** Changed in: oem-priority
   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/1832693

Title:
  System auto suspend again during resuming

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1832693/+subscriptions

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

[Bug 1832693] Re: System auto suspend again during resuming

2019-06-26 Thread Rex Tsai
There are several versions of gsd in bionic archive, it would be more
clear for developer if you report the package version by "apport-cli -u
1832693 -p gnome-settings-daemon"

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

Title:
  System auto suspend again during resuming

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1832693/+subscriptions

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

[Bug 1832693] Re: System auto suspend again during resuming

2019-06-26 Thread Rex Tsai
** Changed in: oem-priority
 Assignee: (unassigned) => cktenn (cktenn)

** Tags added: originate-from-1830332

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

Title:
  System auto suspend again during resuming

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1832693/+subscriptions

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

[Bug 1832693] Re: System auto suspend again during resuming

2019-06-26 Thread Rex Tsai
** Tags added: oem-priority

** Also affects: linux-oem (Ubuntu)
   Importance: Undecided
   Status: New

** Package changed: linux-oem (Ubuntu) => oem-priority

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

Title:
  System auto suspend again during resuming

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1832693/+subscriptions

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

[Bug 1832693] Re: System auto suspend again during resuming

2019-06-23 Thread cktenn
** Attachment added: "workaround.log"
   
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1832693/+attachment/5272634/+files/workaround.log

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

Title:
  System auto suspend again during resuming

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1832693/+subscriptions

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

[Bug 1832693] Re: System auto suspend again during resuming

2019-06-23 Thread cktenn
@Sebastien

Thank you for your response. It is "Ubuntu 18.04.2".

I've found the root cause of this problem last week. In plugins/power
/gsd-power-manager.c, handle_wake_up_screen enables
temporary_unidle_done_cb to run after 15 seconds before system enters
suspend. In most cases, temporary_unidle_done_cb will be removed by
idle_became_active_cb right after resuming so it won't cause any
trouble.

In my case, after resuming, somehow temporary_unidle_done_cb is
triggered before idle_became_active_cb meanwhile previous_idle_mode is
still sleep mode, so it calls idle_set_mode to sleep again although has
been inhibited.

I've tried to put a workaround, letting temporary_unidle_done_cb to
check if inhibit_suspend_taken to be true and not to execute
idle_set_mode. It does solve this problem but seems not the right way to
fix it.

I added some wrapper to log the caller, hope it is easy to understand.


** Attachment added: "faillog7.log"
   
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1832693/+attachment/5272633/+files/faillog7.log

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

Title:
  System auto suspend again during resuming

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1832693/+subscriptions

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

[Bug 1832693] Re: System auto suspend again during resuming

2019-06-23 Thread cktenn
My workaround prints

gsd-power[3124]: temporary_unidle_done_cb is trying to do inhibited job

** Attachment added: "workaround.log"
   
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1832693/+attachment/5272635/+files/workaround.log

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

Title:
  System auto suspend again during resuming

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1832693/+subscriptions

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

[Bug 1832693] Re: System auto suspend again during resuming

2019-06-21 Thread Sebastien Bacher
Thank you for your bug report, what Ubuntu version and desktop environment do 
you use?
Could you add your journalctl log after triggering the issue?

** Changed in: gnome-settings-daemon (Ubuntu)
   Importance: Undecided => Low

** Changed in: gnome-settings-daemon (Ubuntu)
   Status: New => Incomplete

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

Title:
  System auto suspend again during resuming

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1832693/+subscriptions

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