laptop wouldn't wake from sleep
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Shortly after upgrading from Jammy to Kinetic my laptop went to sleep after I was idle for 20 minutes, as it is configured to do. The lid was closed when the laptop went to sleep. I was unable to wake up the laptop. Opening the lid back up should have caused it to wake up but did not. Pressing the power button should have caused it to wake up but did not.
Both the LED on the lid and the power button light were cycling on and off as they do when the laptop is sleeping.
I had to hold down the power button for five seconds to power off the laptop completely and then power it back on to get it to come back up.
Never saw this behavior even once with Jammy.
After rebooting and logging in, I put the laptop to sleep by selecting Suspend from the menu, and after _that_ it woke up immediately when I pushed the power button.
I am not sure yet how reproducible this is, but I thought that even a single incidence of something like this was worth reporting.
ProblemType: Bug
DistroRelease: Ubuntu 22.10
Package: systemd 251.4-1ubuntu6
ProcVersionSign
Uname: Linux 5.19.0-15-generic x86_64
ApportVersion: 2.23.0-0ubuntu2
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Sat Sep 24 17:29:50 2022
InstallationDate: Installed on 2019-08-16 (1135 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
MachineType: LENOVO 20KHCTO1WW
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: systemd
UpgradeStatus: Upgraded to kinetic on 2022-09-24 (0 days ago)
dmi.bios.date: 04/20/2019
dmi.bios.release: 1.38
dmi.bios.vendor: LENOVO
dmi.bios.version: N23ET63W (1.38 )
dmi.board.
dmi.board.name: 20KHCTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad X1 Carbon 6th
dmi.product.name: 20KHCTO1WW
dmi.product.sku: LENOVO_
dmi.product.
dmi.sys.vendor: LENOVO
modified.
mtime.conffile.
Is this still an issue for you? If so, what release are you running now? We would also need some logs to investigate further. This sounds like a kernel issue rather than systemd, but it would be helpful if you provided some logs. Specifically:
1. Enable debug logging in systemd-logind:
$ mkdir -p /etc/systemd/ system/ systemd- logind. service. d/ system/ systemd- logind. service. d/debug. conf << EOF SYSTEMD_ LOG_LEVEL= debug
$ cat > /etc/systemd/
[Service]
Environment=
EOF
2. Reboot for this to take effect properly.
3. Try to reproduce the issue.
4. Attach logs from this boot:
$ journalctl -u systemd- logind. service -b > logind-logs.txt
$ journalctl -t kernel -b > kernel-logs.txt