Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1655069

Re: [PATCH 0/3] ACPI / sleep: Support power button wakeup from S2I on recent Dell laptops

From Tom Lanyon <tom@oneshoeco.com>
Newsgroups linux.kernel
Subject Re: [PATCH 0/3] ACPI / sleep: Support power button wakeup from S2I on recent Dell laptops
Date 2017-06-01 14:00 +0200
Message-ID <tNwVI-24Q-19@gated-at.bofh.it> (permalink)
References <tACPf-7UA-5@gated-at.bofh.it> <tNlnz-3cu-3@gated-at.bofh.it> <tNvPX-1sb-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[resend as text/plain]

On Thu, 2017-06-01 at 01:23 +0200, Rafael J. Wysocki wrote:
> Hi All,
>
> This is a follow-up for a patch series posted some time ago:
>
> http://marc.info/?l=linux-kernel&m=149324246701378&w=2

I've applied Rafael's s2idle-dell-test branch to 4.12.0-rc3 and tested
on a Dell 9365 and, whilst it's significantly improved, it's not yet
working correctly.

Previously I could suspend (s2idle and deep), but it took an awkward
~8 second press of the power button to get it to resume, and I could
never get resume to work when triggering suspend/resume via close/open
of the lid.

With this patchset applied, I can suspend (s2idle) and a momentary
press of the power button resumes successfully.  I can also use the
lid switch to both suspend and resume successfully.

However, the EC events appear to trigger the machine to wake very
frequently whilst it's supposed to be suspended. This is visible via
the kernel messages at the end of this mail (leaving it in a suspended
state for a few hours resulted in many thousands of these messages),
and the high power draw witnessed.

Let me know if there's anything I can do to help debug further.

Tom

[   43.669798] PM: Syncing filesystems ... done.
[   43.675412] PM: Preparing system for sleep (freeze)
[   43.695469] Freezing user space processes ... (elapsed 0.001 seconds) done.
[   43.696769] OOM killer disabled.
[   43.696770] Freezing remaining freezable tasks ... (elapsed 0.001
seconds) done.
[   43.697914] PM: Suspending system (freeze)
[   43.910325] wlan0: deauthenticating from 9c:1c:12:c7:c2:f1 by local
choice (Reason: 3=DEAUTH_LEAVING)
[   44.112944] psmouse serio1: Failed to disable mouse on isa0060/serio1
[   45.721790] PM: suspend of devices complete after 1811.701 msecs
[   45.739769] PM: late suspend of devices complete after 17.956 msecs
[   45.742599] ACPI : EC: interrupt blocked
[   45.744774] xhci_hcd 0000:00:14.0: System wakeup enabled by ACPI
[   45.776254] PM: noirq suspend of devices complete after 34.702 msecs
[   45.776256] PM: suspend-to-idle
[   47.029237] Suspended for 0.327 seconds
[   47.029335] PM: resume from suspend-to-idle
[   47.029587] ACPI : EC: interrupt unblocked
[   47.064470] xhci_hcd 0000:00:14.0: System wakeup disabled by ACPI
[   47.065268] PM: noirq resume of devices complete after 35.894 msecs
[   47.066264] ACPI : EC: interrupt blocked
[   47.079210] xhci_hcd 0000:00:14.0: System wakeup enabled by ACPI
[   47.112461] PM: noirq suspend of devices complete after 47.019 msecs
[   47.112538] ACPI : EC: interrupt unblocked
[   47.147672] xhci_hcd 0000:00:14.0: System wakeup disabled by ACPI
[   47.148516] PM: noirq resume of devices complete after 36.051 msecs
[   47.149610] ACPI : EC: interrupt blocked
[   47.161002] xhci_hcd 0000:00:14.0: System wakeup enabled by ACPI
[   47.192546] PM: noirq suspend of devices complete after 43.955 msecs
[   47.192551] PM: suspend-to-idle
[   48.374756] Suspended for 1.836 seconds
[   48.374870] PM: resume from suspend-to-idle
[   48.375284] ACPI : EC: interrupt unblocked

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] ACPI / sleep: Support power button wakeup from S2I on recent Dell laptops "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2017-06-01 01:40 +0200
  [PATCH 3/3] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent Dell systems "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2017-06-01 01:40 +0200
    RE: [PATCH 3/3] ACPI / sleep: EC-based wakeup from suspend-to-idle on  recent Dell systems <Mario.Limonciello@dell.com> - 2017-06-05 17:20 +0200
      Re: [PATCH 3/3] ACPI / sleep: EC-based wakeup from suspend-to-idle on  recent Dell systems "Rafael J. Wysocki" <rafael@kernel.org> - 2017-06-05 23:00 +0200
  Re: [PATCH 0/3] ACPI / sleep: Support power button wakeup from S2I  on recent Dell laptops Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2017-06-01 12:50 +0200
    Re: [PATCH 0/3] ACPI / sleep: Support power button wakeup from S2I on  recent Dell laptops Tom Lanyon <tom@oneshoeco.com> - 2017-06-01 14:00 +0200
      Re: [PATCH 0/3] ACPI / sleep: Support power button wakeup from S2I on  recent Dell laptops "Rafael J. Wysocki" <rafael@kernel.org> - 2017-06-01 17:10 +0200
        Re: [PATCH 0/3] ACPI / sleep: Support power button wakeup from S2I on  recent Dell laptops Tom Lanyon <tom@oneshoeco.com> - 2017-06-02 03:10 +0200
          Re: [PATCH 0/3] ACPI / sleep: Support power button wakeup from S2I on recent Dell laptops "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2017-06-03 01:30 +0200
    Re: [PATCH 0/3] ACPI / sleep: Support power button wakeup from S2I on  recent Dell laptops "Rafael J. Wysocki" <rafael@kernel.org> - 2017-06-01 17:10 +0200

csiph-web