b***@bugzilla.kernel.org
2017-05-28 15:36:56 UTC
https://bugzilla.kernel.org/show_bug.cgi?id=195897
Bug ID: 195897
Summary: Unable to suspend and resume on Dell Latitude 7275
Product: ACPI
Version: 2.5
Kernel Version: 4.12-rc2
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
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).
Attempting to suspend and resume this system fails, reproducibly 100%.
At first, the suspend step looked successful, the built-in screen and an
external display both switching off, when triggered by:
# echo mem > /sys/power/state
However, comparing the behavior with a suspend from Windows shows differences:
no LED flashing on Linux (LED remains blank); a USB-based network adapter would
still remain powered after a suspend from Windows but not from Linux.
Trying to resume by pressing the power button, or the windows button (on the
tablet side) or with the attached keyboard don't work. Only a very long-press
on the power button will allow the device to quit that state (forced shutdown?)
and then another press on power will reboot the device from the Bios.
pm-hibernate works reliably on the other hand.
I've tried many different kernel versions, 3.16, 4.9, 4.11 (all 3 from Debian)
and an upstream 4.12-rc2 that I've compiled with PM_TRACE_RTC and PM_DEBUG
enabled.
When pm_tracing, here is the Magic number output I get reliably during the next
forced restart in dmesg:
[ 3.010473] Magic number: 1:782:177
[ 3.010567] acpi device:0d: hash matches
I've also tried to reduce the interaction with most dynamic modules by rmmoding
most of them and blacklisting a few other ones. Here is the minimal set I got:
$ lsmod
Module Size Used by
nls_ascii 16384 1
nls_cp437 20480 1
vfat 20480 1
fat 65536 1 vfat
evdev 24576 1
autofs4 40960 2
ext4 585728 1
crc16 16384 1 ext4
jbd2 102400 1 ext4
fscrypto 28672 1 ext4
mbcache 16384 1 ext4
crc32c_intel 24576 2
nvme 28672 3
nvme_core 40960 5 nvme
but the behavior is exactly the same as when fully loaded. Here are a few other
outputs:
# cat /sys/power/state
freeze mem disk
# cat /sys/power/mem_sleep
s2idle [deep]
I've installed the latest Dell Bios for this machine, 1.1.31 from mid-May and
I've tried reverting back to 2 older versions (down to 1.1.26) without any
difference at all.
What other outputs would be useful to help investigate this issue? Let me know
and I'll do my best to provide them.
Thanks,
Jerome
Bug ID: 195897
Summary: Unable to suspend and resume on Dell Latitude 7275
Product: ACPI
Version: 2.5
Kernel Version: 4.12-rc2
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
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).
Attempting to suspend and resume this system fails, reproducibly 100%.
At first, the suspend step looked successful, the built-in screen and an
external display both switching off, when triggered by:
# echo mem > /sys/power/state
However, comparing the behavior with a suspend from Windows shows differences:
no LED flashing on Linux (LED remains blank); a USB-based network adapter would
still remain powered after a suspend from Windows but not from Linux.
Trying to resume by pressing the power button, or the windows button (on the
tablet side) or with the attached keyboard don't work. Only a very long-press
on the power button will allow the device to quit that state (forced shutdown?)
and then another press on power will reboot the device from the Bios.
pm-hibernate works reliably on the other hand.
I've tried many different kernel versions, 3.16, 4.9, 4.11 (all 3 from Debian)
and an upstream 4.12-rc2 that I've compiled with PM_TRACE_RTC and PM_DEBUG
enabled.
When pm_tracing, here is the Magic number output I get reliably during the next
forced restart in dmesg:
[ 3.010473] Magic number: 1:782:177
[ 3.010567] acpi device:0d: hash matches
I've also tried to reduce the interaction with most dynamic modules by rmmoding
most of them and blacklisting a few other ones. Here is the minimal set I got:
$ lsmod
Module Size Used by
nls_ascii 16384 1
nls_cp437 20480 1
vfat 20480 1
fat 65536 1 vfat
evdev 24576 1
autofs4 40960 2
ext4 585728 1
crc16 16384 1 ext4
jbd2 102400 1 ext4
fscrypto 28672 1 ext4
mbcache 16384 1 ext4
crc32c_intel 24576 2
nvme 28672 3
nvme_core 40960 5 nvme
but the behavior is exactly the same as when fully loaded. Here are a few other
outputs:
# cat /sys/power/state
freeze mem disk
# cat /sys/power/mem_sleep
s2idle [deep]
I've installed the latest Dell Bios for this machine, 1.1.31 from mid-May and
I've tried reverting back to 2 older versions (down to 1.1.26) without any
difference at all.
What other outputs would be useful to help investigate this issue? Let me know
and I'll do my best to provide them.
Thanks,
Jerome
--
You are receiving this mail because:
You are watching the assignee of the bug.
You are receiving this mail because:
You are watching the assignee of the bug.