rtw89 driver lack pre/post suspend handling

Bug #1954438 reported by Pirouette Cacahuète
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Thanks to https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1945967 we now have rtw89 in the 5.13.0-22+ kernels on 21.10.

Because of lockdowns, I have not had the need to far to move away my laptop since I received it and make use of suspend/resume, until yesterday.

On my system it turns out suspend/resume fails unless you unload both rtw89_pci and rtw89_core modules.

Upstream documents and provides a systemd integration script to take care of that: https://github.com/lwfinger/rtw89/blob/ff7e9c5655b139b7436cc91c6371b9687326c623/suspend_rtw89

BIOS Information
        Vendor: LENOVO
        Version: R1MET42W (1.12 )
        Release Date: 09/29/2021
        Address: 0xE0000
        Runtime Size: 128 kB
        ROM Size: 32 MB
        Characteristics:
                PCI is supported
                PNP is supported
                BIOS is upgradeable
                BIOS shadowing is allowed
                Boot from CD is supported
                Selectable boot is supported
                EDD is supported
                3.5"/720 kB floppy services are supported (int 13h)
                Print screen service is supported (int 5h)
                8042 keyboard services are supported (int 9h)
                Serial services are supported (int 14h)
                Printer services are supported (int 17h)
                CGA/mono video services are supported (int 10h)
                ACPI is supported
                USB legacy is supported
                BIOS boot specification is supported
                Targeted content distribution is supported
                UEFI is supported
        BIOS Revision: 1.12
        Firmware Revision: 1.12

System Information
        Manufacturer: LENOVO
        Product Name: 21A0CTO1WW
        Version: ThinkPad P14s Gen 2a
        Wake-up Type: Power Switch
        SKU Number: LENOVO_MT_21A0_BU_Think_FM_ThinkPad P14s Gen 2a
        Family: ThinkPad P14s Gen 2a
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 21.10
HibernationDevice: RESUME=auto
InstallationDate: Installed on 2012-11-03 (3324 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MachineType: LENOVO 21A0CTO1WW
Package: linux (not installed)
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.13.0-23-generic root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.13.0-23.23-generic 5.13.19
RelatedPackageVersions:
 linux-restricted-modules-5.13.0-23-generic N/A
 linux-backports-modules-5.13.0-23-generic N/A
 linux-firmware 1.201.3
Tags: impish wayland-session
Uname: Linux 5.13.0-23-generic x86_64
UpgradeStatus: Upgraded to impish on 2021-10-08 (63 days ago)
UserGroups: adm cdrom dialout dip disk docker libvirt libvirtd lpadmin plugdev sambashare sudo video
_MarkForUpload: True
dmi.bios.date: 09/29/2021
dmi.bios.release: 1.12
dmi.bios.vendor: LENOVO
dmi.bios.version: R1MET42W (1.12 )
dmi.board.asset.tag: Not Available
dmi.board.name: 21A0CTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.12
dmi.modalias: dmi:bvnLENOVO:bvrR1MET42W(1.12):bd09/29/2021:br1.12:efr1.12:svnLENOVO:pn21A0CTO1WW:pvrThinkPadP14sGen2a:rvnLENOVO:rn21A0CTO1WW:rvrNotDefined:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21A0_BU_Think_FM_ThinkPadP14sGen2a:
dmi.product.family: ThinkPad P14s Gen 2a
dmi.product.name: 21A0CTO1WW
dmi.product.sku: LENOVO_MT_21A0_BU_Think_FM_ThinkPad P14s Gen 2a
dmi.product.version: ThinkPad P14s Gen 2a
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 1954438

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
Pirouette Cacahuète (lissyx) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected impish wayland-session
description: updated
Revision history for this message
Pirouette Cacahuète (lissyx) wrote : AudioDevicesInUse.txt

apport information

Revision history for this message
Pirouette Cacahuète (lissyx) wrote : CRDA.txt

apport information

Revision history for this message
Pirouette Cacahuète (lissyx) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Pirouette Cacahuète (lissyx) wrote : IwConfig.txt

apport information

Revision history for this message
Pirouette Cacahuète (lissyx) wrote : Lspci.txt

apport information

Revision history for this message
Pirouette Cacahuète (lissyx) wrote : Lspci-vt.txt

apport information

Revision history for this message
Pirouette Cacahuète (lissyx) wrote : Lsusb.txt

apport information

Revision history for this message
Pirouette Cacahuète (lissyx) wrote : Lsusb-t.txt

apport information

Revision history for this message
Pirouette Cacahuète (lissyx) wrote : Lsusb-v.txt

apport information

Revision history for this message
Pirouette Cacahuète (lissyx) wrote : PaInfo.txt

apport information

Revision history for this message
Pirouette Cacahuète (lissyx) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Pirouette Cacahuète (lissyx) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Pirouette Cacahuète (lissyx) wrote : ProcEnviron.txt

apport information

Revision history for this message
Pirouette Cacahuète (lissyx) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Pirouette Cacahuète (lissyx) wrote : ProcModules.txt

apport information

Revision history for this message
Pirouette Cacahuète (lissyx) wrote : PulseList.txt

apport information

Revision history for this message
Pirouette Cacahuète (lissyx) wrote : RfKill.txt

apport information

Revision history for this message
Pirouette Cacahuète (lissyx) wrote : UdevDb.txt

apport information

Revision history for this message
Pirouette Cacahuète (lissyx) wrote : WifiSyslog.txt

apport information

Revision history for this message
Pirouette Cacahuète (lissyx) wrote : acpidump.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Pirouette Cacahuète (lissyx) wrote :

With latest rtw89 from github and current Jammy beta, I can suspend / resume without a hack.

Revision history for this message
Pirouette Cacahuète (lissyx) wrote :

Also, Jammy's 5.15.0-23-generic and its bundled driver seems to properly perform suspend / resume

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.