Discussion:
[Bug 196115] New: Power button doesn't suspend and 6s long press needed to resume from suspend-to-idle on Dell Latitude 7275
b***@bugzilla.kernel.org
2017-06-18 16:36:28 UTC
Permalink
https://bugzilla.kernel.org/show_bug.cgi?id=196115

Bug ID: 196115
Summary: Power button doesn't suspend and 6s long press needed
to resume from suspend-to-idle on Dell Latitude 7275
Product: ACPI
Version: 2.5
Kernel Version: 4.12-rc4 4.12-rc3 4.12-rc2 4.11 4.10 4.9 3.16
Hardware: Intel
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Power-Sleep-Wake
Assignee: acpi_power-sleep-***@kernel-bugs.osdl.org
Reporter: ***@gmail.com
Regression: No

Hi,

Dell Latitude 7275 is a 2-in-1 detachable laptop with an Intel Core-M processor
(6th gen "Skylake"). There is a similar consumer product branded XPS 12 (9250).
This system as the 2 following sleep-wake issues:

1/ Pressing the power button doesn't trigger the suspend.


2/ When suspending manually from the command line in "s2idle" mode instead of
the default "deep" value with:
# echo freeze > /sys/power/state
the system can resume reliably but only with a *very* long press of the power
button, for about 6 to 7 seconds.

It is quite surprising at first, especially since the system wakes up
instantaneously from sleep on Windows with a usual short press.

The wake-up issue has been discussed on the linux-pm / linux-acpi mailing
lists, I'll share the outputs here in follow-up comments.

Thanks,
Jérôme


P.S. The resume case was detected in this other Dell Latitude 7275 issue:
https://bugzilla.kernel.org/show_bug.cgi?id=195897#c8:
I'm creating this separate bug entry as it is a totally different issue than
the bug mentioned above.
--
You are receiving this mail because:
You are watching the assignee of the bug.
b***@bugzilla.kernel.org
2017-06-18 16:38:38 UTC
Permalink
https://bugzilla.kernel.org/show_bug.cgi?id=196115

Jérôme de Bretagne (***@gmail.com) changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |***@gmail.com
| |, ***@intel.com
Resolution|--- |CODE_FIX
--
You are receiving this mail because:
You are watching the assignee of the bug.
b***@bugzilla.kernel.org
2017-06-18 16:50:57 UTC
Permalink
https://bugzilla.kernel.org/show_bug.cgi?id=196115

Jérôme de Bretagne (***@gmail.com) changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|CODE_FIX |---

--- Comment #1 from Jérôme de Bretagne (***@gmail.com) ---
(In reply to Chen Yu from comment #21 in Bug 195897)
(In reply to Chen Yu from comment #20in Bug 195897)
After suspended to idle(with Rafael's patch modified for the Latitude 7275)
on top of BIOS 1.1.31, have to hold the power button for 6 second to
wakeup.Well, I think there is still problem that it takes so much time to
resume. Another test might be, how about waking up the system from s2idle
by
rtcwake?
Waking up from s2idle with rtcwake is instantaneous.
AFAIK, BIOS is not involved during s2idle, is it possible that the system
has already resumed but the graphic did not show up? maybe this can be
verified by ping the 7275 across s2idle test cycle.
The graphic stack is not the issue here. In this previous comment, BIOS was
mentioned since the behavior of that system has changed between version 1.1.20
and the current latest 1.1.31.

Quoting Rafael from http://marc.info/?l=linux-pm&m=149731067302800&w=2:

"However, BIOS 1.1.31 contains additional Notify () invocations in the NEVT ()
method used for processing EC events (invoked by _Q66) with event values (0xCE
and 0xCF) corresponding to the 5-button array power button scancodes."


and then, in http://marc.info/?l=linux-acpi&m=149731336104641&w=2 :

"intel-hid could check the 0xCE event unconditionally in the "wakeup" mode, but
that will be a separate patch on top of my series."
--
You are receiving this mail because:
You are watching the assignee of the bug.
b***@bugzilla.kernel.org
2017-06-19 06:54:05 UTC
Permalink
https://bugzilla.kernel.org/show_bug.cgi?id=196115

Zhang Rui (***@intel.com) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@intel.com
Assignee|acpi_power-sleep-***@kerne |***@rjwysocki.net
|l-bugs.osdl.org |
--
You are receiving this mail because:
You are watching the assignee of the bug.
Loading...