Bug 202871 - Ubuntu 18.04 suspends intermittently - Lenovo Thinkpad E450 - Core i5-5200U
Summary: Ubuntu 18.04 suspends intermittently - Lenovo Thinkpad E450 - Core i5-5200U
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Sleep-Wake (show other bugs)
Hardware: Intel Linux
: P1 normal
Assignee: acpi_power-sleep-wake
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-11 15:17 UTC by Mukund Varadarajan
Modified: 2019-07-01 08:45 UTC (History)
2 users (show)

See Also:
Kernel Version: 4.14.105
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg file output (68.15 KB, text/plain)
2019-03-11 15:17 UTC, Mukund Varadarajan
Details

Description Mukund Varadarajan 2019-03-11 15:17:39 UTC
Created attachment 281719 [details]
dmesg file output

I am using Lenovo Thinkpad E450 with Ubuntu 18.04.2 and kernel version is Linux 4.14.105-0414105-generic.

I am currently not able to suspend my laptop properly.
I first experienced this when I was using the kernel 4.15.46.

Expected behavior when commanded to suspend:
Display goes black, the CPU fan is switched off, the power LED pulsates showing that the computer is in suspend mode. This should happen whenever the PC is suspended using the command 'sudo systemctl suspend' or closing the lid or choosing suspend in the menu options by long-pressing the power button.

What actually happens:
If any of the above methods is used to suspend the PC, the display goes black, the PC goes to suspend state after a few seconds, but remains in suspend only for a maximum of 7-10 seconds. After that it automatically resumes, with the display trying to show the lockscreen if lid is not closed. If lid is closed, then I know it has resumed as the power LED stays on and the fan runs. As time goes, it intermittently goes to suspend for a few seconds and resumes back. There is no unnatural behavior according to 'journalctl' or 'dmesg'. The system supposedly goes to suspend "only for a few seconds" and resumes back.

To resolve this issue I tried using 4.18 kernel and still the issue persisted.(Original kernel version was 4.15)
In another forum, I was suggested to use 4.14 kernel and even now the issue persists.

I don't know if this information would be helpful but during boot, I got these errors:
ACPI Error: Needed type [Reference], found [Integer] (____ptrval____) (20180531/exresop-69)
ACPI Error: AE_AML_OPERAND_TYPE, While resolving operands for [Store] (20180531/dswexec-427)
ACPI Error: Method parse/execution failed \_PR.CPU0._PDC, AE_AML_OPERAND_TYPE (20180531/psparse-516)

I also did a 'cat /sys/kernel/debug/suspend_stats' which returned 5 successes and 0 failures of any type.

PS: I don't think this is a bug based on a particular application/package, so I didn't include any.
Thanks in advance
Comment 1 Zhang Rui 2019-04-18 07:36:31 UTC
please attach the output of
cat /sys/power/state
cat /sys/power/mem_sleep


please do this
"echo deep > /sys/power/mem_sleep && echo mem > /sys/power/state" and check if the system still resumes automatically or not.

if yes, please attach the output of "cat /proc/acpi/wakeup", and disable them one by one by "echo XXX > /proc/acpi/wakeup", and see if the problem still exists.
Comment 2 Zhang Rui 2019-07-01 08:45:53 UTC
Bug closes as there is no response from the bug reporter. please feel free to reopen it if you can provide the information needed in comment #1

Note You need to log in before you can comment on or make changes to this bug.