linux-image-5.15.0-27-generic causes Thinkpad T460p to not resume after suspend

Bug #1971437 reported by Sebastien G
36
This bug affects 7 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

After upgrading from Ubuntu 21.10 to Ubuntu 22.04, my Lenovo Thinkpad T460p doesn't wake-up after suspend. The kernel installed was linux-image-5.15.0-27-generic. I downgraded to Linux kernel 5.13.15 and it works fine now.

With Ubuntu 21.10, I had linux-image-5.13.15-40-generic kernel and it worked fine, but I've uninstalled it after the upgrade to 22.04.

I also tested newer versions like 5.16.x and 5.17.x with the mainline program and they cause the same issue.

The issue is that no key nor the power button nor the screen lid wake the laptop with kernel versions superior to Linux 5.13 (5.13.15 I think).

It's either a Linux kernel problem, or a compile options mistake.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: jack 1283 F.... pulseaudio
CasperMD5CheckResult: unknown
CurrentDesktop: LXQt
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2022-04-06 (27 days ago)
InstallationMedia: Lubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
MachineType: LENOVO 20FXS09D00
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-27-generic root=UUID=11961357-77ee-4aa4-82c2-359cbb8ef64b ro quiet cryptdevice=UUID=08f4ae12-6133-4c63-b78d-d855746c5f26:luks-08f4ae12-6133-4c63-b78d-d855746c5f26 root=/dev/mapper/luks-08f4ae12-6133-4c63-b78d-d855746c5f26 splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
RelatedPackageVersions:
 linux-restricted-modules-5.15.0-27-generic N/A
 linux-backports-modules-5.15.0-27-generic N/A
 linux-firmware 20220329.git681281e4-0ubuntu1
Tags: jammy
Uname: Linux 5.15.0-27-generic x86_64
UpgradeStatus: Upgraded to jammy on 2022-05-03 (0 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 07/28/2019
dmi.bios.release: 2.32
dmi.bios.vendor: LENOVO
dmi.bios.version: R07ET92W (2.32 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20FXS09D00
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.5
dmi.modalias: dmi:bvnLENOVO:bvrR07ET92W(2.32):bd07/28/2019:br2.32:efr1.5:svnLENOVO:pn20FXS09D00:pvrThinkPadT460p:rvnLENOVO:rn20FXS09D00:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_20FX_BU_Think_FM_ThinkPadT460p:
dmi.product.family: ThinkPad T460p
dmi.product.name: 20FXS09D00
dmi.product.sku: LENOVO_MT_20FX_BU_Think_FM_ThinkPad T460p
dmi.product.version: ThinkPad T460p
dmi.sys.vendor: LENOVO
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: jack 1283 F.... pulseaudio
CasperMD5CheckResult: unknown
CurrentDesktop: LXQt
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2022-04-06 (27 days ago)
InstallationMedia: Lubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
MachineType: LENOVO 20FXS09D00
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-27-generic root=UUID=11961357-77ee-4aa4-82c2-359cbb8ef64b ro quiet cryptdevice=UUID=08f4ae12-6133-4c63-b78d-d855746c5f26:luks-08f4ae12-6133-4c63-b78d-d855746c5f26 root=/dev/mapper/luks-08f4ae12-6133-4c63-b78d-d855746c5f26 splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
RelatedPackageVersions:
 linux-restricted-modules-5.15.0-27-generic N/A
 linux-backports-modules-5.15.0-27-generic N/A
 linux-firmware 20220329.git681281e4-0ubuntu1
Tags: jammy
Uname: Linux 5.15.0-27-generic x86_64
UpgradeStatus: Upgraded to jammy on 2022-05-03 (0 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 07/28/2019
dmi.bios.release: 2.32
dmi.bios.vendor: LENOVO
dmi.bios.version: R07ET92W (2.32 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20FXS09D00
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.5
dmi.modalias: dmi:bvnLENOVO:bvrR07ET92W(2.32):bd07/28/2019:br2.32:efr1.5:svnLENOVO:pn20FXS09D00:pvrThinkPadT460p:rvnLENOVO:rn20FXS09D00:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_20FX_BU_Think_FM_ThinkPadT460p:
dmi.product.family: ThinkPad T460p
dmi.product.name: 20FXS09D00
dmi.product.sku: LENOVO_MT_20FX_BU_Think_FM_ThinkPad T460p
dmi.product.version: ThinkPad T460p
dmi.sys.vendor: LENOVO

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1971437

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Sebastien G (turbocharger007) wrote :

I've just tested Manjaro Live CD on the same laptop (Lenovo Thinkpad T460p) and the resume works well with kernel 5.15.x so it's a kernel configuration issue from Ubuntu.

Revision history for this message
Sebastien G (turbocharger007) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected jammy
description: updated
Revision history for this message
Sebastien G (turbocharger007) wrote : CRDA.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : IwConfig.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : Lspci.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : Lspci-vt.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : Lsusb.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : Lsusb-t.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : Lsusb-v.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : PaInfo.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : ProcEnviron.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : ProcModules.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : PulseList.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : RfKill.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : UdevDb.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : WifiSyslog.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : acpidump.txt

apport information

description: updated
Revision history for this message
Sebastien G (turbocharger007) wrote : AlsaInfo.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : CRDA.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : IwConfig.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : Lspci.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : Lspci-vt.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : Lsusb.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : Lsusb-t.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : Lsusb-v.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : PaInfo.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : ProcEnviron.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : ProcModules.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : PulseList.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : RfKill.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : UdevDb.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : WifiSyslog.txt

apport information

Revision history for this message
Sebastien G (turbocharger007) wrote : acpidump.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Sebastien G (turbocharger007) wrote :

I have the same resume issue with mainline kernels 5.16.20 and 5.17.5

Revision history for this message
Sebastien G (turbocharger007) wrote :

The resume after suspend works with Ubuntu mainline kernel 5.14.16. So the issue occurs with 5.15.x kernels.

Revision history for this message
Sebastien G (turbocharger007) wrote :

In fact, the issue occurs with all kernels starting from 5.15.x and newer versions. 5.16.x, 5.17.x too.

Revision history for this message
cuby (cuby) wrote :

Also affects my T460.

Revision history for this message
Sebastien G (turbocharger007) wrote :

The Lenovo Thinkpad T460p has 3 ways to resume the laptop after suspend : the screen lid button (when we open up the screen), the power button and the Fn key on the keyboard. All of them work with kernels up to 5.14 on Ubuntu, and none of them work with kernels starting from 5.15 and upwards.

Revision history for this message
Manuel Pégourié-Gonnard (mpg) wrote :

Same here with my ThinkPad E460. Everything was working fine with 20.04.

Revision history for this message
Manuel Pégourié-Gonnard (mpg) wrote :

I tried version-bisecting the issue using the mainline kernel ppa, as in https://wiki.ubuntu.com/Kernel/KernelBisection#Version_bisecting_upstream_kernels

The last good version is 5.14.20.

The first bad version is 5.14.21.

Just to be sure this hasn't been fixed in the meantime, I tried 5.18-r6 and it's still bad.

Revision history for this message
Manuel Pégourié-Gonnard (mpg) wrote :

I tried commit-bisecting the issue, but the build instructions are not working for me.

However, I'd like to point out that there are only 15 commits between 5.14.20 (working for me) and 5.14.21 (not working for me). https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/log/?h=linux-5.14.y

Revision history for this message
Sebastien G (turbocharger007) wrote :

I have what is maybe the beginning of a solution : I was able to disable my USB bluetooth mouse to wake-up my Lenovo Thinkpad T460p by doing this :

# echo XHCI > /proc/acpi/wakeup

# cat /proc/acpi/wakeup
Device S-state Status Sysfs node
LID S4 *enabled platform:PNP0C0D:00
SLPB S3 *enabled platform:PNP0C0E:00
IGBE S4 *disabled pci:0000:00:1f.6
PXSX S4 *disabled pci:0000:03:00.0
PXSX S4 *disabled
PXSX S4 *disabled
PXSX S4 *disabled
PXSX S4 *disabled pci:0000:04:00.0
                *disabled platform:rtsx_pci_sdmmc.0
PXSX S4 *disabled
XHCI S3 *disabled pci:0000:00:14.0

Revision history for this message
Sebastien G (turbocharger007) wrote :

# grep . /sys/bus/usb/devices/*/product
/sys/bus/usb/devices/1-2/product:Wireless Device
/sys/bus/usb/devices/1-8/product:Integrated Camera
/sys/bus/usb/devices/usb1/product:xHCI Host Controller
/sys/bus/usb/devices/usb2/product:xHCI Host Controller

# grep . /sys/bus/usb/devices/*/power/wakeup
/sys/bus/usb/devices/1-2/power/wakeup:enabled
/sys/bus/usb/devices/1-6/power/wakeup:disabled
/sys/bus/usb/devices/1-7/power/wakeup:disabled
/sys/bus/usb/devices/usb1/power/wakeup:disabled
/sys/bus/usb/devices/usb2/power/wakeup:disabled

Note that there is no external USB devices plugged-in except the USB dongle of my Bluetooth mouse.

(That's outpout with the kernel from the linux-image-5.15.0-27-generic package)

Revision history for this message
Sebastien G (turbocharger007) wrote :

I needed to disable my USB bluetooth mouse to wake-up my Lenovo Thinkpad T460p with mainline kernel 5.14.16, but if I redo "# echo XHCI > /proc/acpi/wakeup" with the kernel 5.15.0-27-generic and it prints this :

XHCI S3 *enabled pci:0000:00:14.0

even the USB bluetooth mouse won't be able to wake-up the laptop. I have the exact same issue with newer kernel 5.15.0-33-generic from the current linux-image-generic package.

But the problem is solved using mainline kernel 5.18.0!

Revision history for this message
Manuel Pégourié-Gonnard (mpg) wrote :

After seeing the previous comment, I decided to try 5.18, so I installed 5.18.2 from the mainline ppa and it fixes the problem for me as well.

Revision history for this message
Sebastien G (turbocharger007) wrote (last edit ):

Yes, but using the 5.18 kernel from mainline makes me impossible to use the Ububntu delivered VirtualBox, so I don't use it. I stick with 5.14.20 from mainline. So there's no real solution to use a newer kernel for now.

Revision history for this message
Manuel Pégourié-Gonnard (mpg) wrote :

I'm happy to report that the problem seems to be gone with the 5.15.0-40-generic kernel. I've been able to suspend and resume two times since booting it.

Maybe you should give it a try? If 5.15.0-40 fixes it for you as well, then it probably means this bug can be closed.

To post a comment you must log in.