[GUIDE] Framework Laptop 16 Suspend Waking Up Early Or Failing To Suspend Fix

FOLKS, JUST A REMINDER - OLD POST, guides first, always check the guides for current guidance.

Ubuntu 24.04

and

Fedora 40

You should absolutely not need rtc_cmos.use_acpi_alarm=1 any longer on current releases of Fedora or Ubuntu - for other distros, no idea, you will have to test.


This is something we resolved early on with the Framework Laptop 13 AMD Ryzen 7040 Series. It’s presenting itself on Framework Laptop 16.

Symptoms: Framework Laptop 16 wakes up almost immediately from suspend. Or, lid is closed and it becomes warm to the touch as it never hits a proper state of suspend.

Workaround: This could be applied to whichever distro you use, but it is tested on Ubuntu 22.04. On Fedora 39, it’s not needed.


Ubuntu 22.04

sudo nano /etc/default/grub

Change GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
into
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash rtc_cmos.use_acpi_alarm=1"

sudo update-grub

Reboot


Fedora 39

I have not been able to replicate this issue on Fedora 39 (fully updated). So you should be fine on Fedora, BIOS 3.01.


Additional testing can be done with this script.

Download it, run with:

sudo python3 amd_s2idle.py
13 Likes

Hi there,

I’ve been having this issue on Fedora 39, BIOS 3.02 - my Framework Laptop 16 wakes itself up from suspend, typically in <= 10 seconds after suspending. At one point my system even froze entirely after it did this, although I haven’t been able to reproduce the freezing, only the self-waking.

Let me know if there’s a better place to report this; I wasn’t entirely sure whether to reply here, or open a ticket, or follow the instructions from this Laptop 13 thread, so please let me know if there’s anything more I can do to help!

I ran amd_s2idle.py a couple times, with the same effect each time:

  • Prints “Suspend cycle 1: Started at…”
  • Screen goes dark
  • Screen comes back in 2ish-5ish seconds (still signed in, even though I have Automatic Screen Lock turned on)
  • Less than a second later, screen goes dark again very briefly, this time for no more than a second or two
  • When it comes back, script crashes with OSError: [Errno 16] Device or resource busy

I noticed the stack trace isn’t included in the report so I’ll attach below both the report and my stdout that includes the stack trace. (Actually, I’m having a hard time figuring out how to get the forum to accept the s2idle report file, so for now I’ll post a screenshot of its run, let me know how I can send the report if it would help)

Thanks so much to the Framework team for all your awesome hard work on this great laptop! If there’s anything else I can try please let me know.

Thanks,
Jonathan


Update

I have narrowed down this issue! It only happens while I have an Ethernet Expansion Card plugged in (in none of my tests did I have an ethernet cable plugged into the card; I’m not at my desk at the moment so I have no ethernet cable to plug in at this time). Removing the Expansion Card fixes my suspend issues.

I don’t plan to leave the Ethernet card in all the time anyway, so this is mostly fine for me, but it does mean I won’t be able to put my laptop to sleep while it’s “docked” at my desk without unplugging the expansion card, so I’m still happy to help provide more details or try new things to try and resolve the issue :+1:

1 Like

For what it’s worth, I had a similar suspend issue under Linux Mint MATE 21.3–the unit remained warm for hours when supposedly suspended–and the solution was to upgrade from the stock 5.15 kernel to the latest 6.5 one.

(I’m aware that Linux Mint is not an officially-supported distro, but the topic name isn’t restricted to Fedora, so I thought I’d mention the above in case someone else was digging through forum topics looking for a solution. If this isn’t the right place for this comment I’ll be happy to (re)move it.)

This is a known AMD issue. It so well known that AMD is actually attempting to solve it by creating debugging methods for the Linux Kernel.

With the ethernet card plugged in, please can you do:
lspci -vn
and post the output. I can then see which part of the kernel source code has the bug.
It sounds like a kernel suspend bug in the ethernet driver or thunderbolt to me.
Its good that you have narrowed it down to the ethernet card.
I guess the next step is to see if any other FW16 people can do the same test you did with the ethernet card to reproduce the problem.
There would then be workarounds you might be able to use.
e.g. manually do “rmmod drivername” before you suspend and “modprobe drivername” if you wish to use the ethernet card again.
Also, it might save a bit of battery power for you also.

Thanks for the reply! I also went ahead and filed a support ticket with Framework earlier as well and have been providing some info over there too.

I noticed I got some more info about capabilities when I ran lspci as root so I did that, here’s the output:

00:00.0 0600: 1022:14e8
	Subsystem: f111:0005
	Flags: fast devsel

00:00.2 0806: 1022:14e9
	Subsystem: f111:0005
	Flags: bus master, fast devsel, latency 0, IRQ 29
	Capabilities: [40] Secure device <?>
	Capabilities: [64] MSI: Enable+ Count=1/4 Maskable- 64bit+
	Capabilities: [74] HyperTransport: MSI Mapping Enable+ Fixed+

00:01.0 0600: 1022:14ea
	Flags: fast devsel, IOMMU group 0

00:01.1 0604: 1022:14ed (prog-if 00 [Normal decode])
	Subsystem: 1022:1453
	Flags: bus master, fast devsel, latency 0, IRQ 38, IOMMU group 1
	Bus: primary=00, secondary=01, subordinate=03, sec-latency=0
	I/O behind bridge: a000-afff [size=4K] [16-bit]
	Memory behind bridge: 90c00000-90efffff [size=3M] [32-bit]
	Prefetchable memory behind bridge: 7800000000-7a0fffffff [size=8448M] [32-bit]
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Root Port (Slot+), MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [c0] Subsystem: 1022:1453
	Capabilities: [c8] HyperTransport: MSI Mapping Enable+ Fixed+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [270] Secondary PCI Express
	Capabilities: [2a0] Access Control Services
	Capabilities: [370] L1 PM Substates
	Capabilities: [400] Data Link Feature <?>
	Capabilities: [410] Physical Layer 16.0 GT/s <?>
	Capabilities: [440] Lane Margining at the Receiver <?>
	Kernel driver in use: pcieport

00:02.0 0600: 1022:14ea
	Flags: fast devsel, IOMMU group 2

00:02.2 0604: 1022:14ee (prog-if 00 [Normal decode])
	Subsystem: 1022:1453
	Flags: bus master, fast devsel, latency 0, IRQ 39, IOMMU group 3
	Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
	I/O behind bridge: [disabled] [32-bit]
	Memory behind bridge: 90b00000-90bfffff [size=1M] [32-bit]
	Prefetchable memory behind bridge: 7a20900000-7a209fffff [size=1M] [32-bit]
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Root Port (Slot+), MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [c0] Subsystem: 1022:1453
	Capabilities: [c8] HyperTransport: MSI Mapping Enable+ Fixed+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [270] Secondary PCI Express
	Capabilities: [2a0] Access Control Services
	Capabilities: [370] L1 PM Substates
	Capabilities: [400] Data Link Feature <?>
	Capabilities: [410] Physical Layer 16.0 GT/s <?>
	Capabilities: [440] Lane Margining at the Receiver <?>
	Kernel driver in use: pcieport

00:02.4 0604: 1022:14ee (prog-if 00 [Normal decode])
	Subsystem: 1022:1453
	Flags: bus master, fast devsel, latency 0, IRQ 40, IOMMU group 4
	Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
	I/O behind bridge: [disabled] [32-bit]
	Memory behind bridge: 90a00000-90afffff [size=1M] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Root Port (Slot+), MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [c0] Subsystem: 1022:1453
	Capabilities: [c8] HyperTransport: MSI Mapping Enable+ Fixed+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [270] Secondary PCI Express
	Capabilities: [2a0] Access Control Services
	Capabilities: [370] L1 PM Substates
	Capabilities: [400] Data Link Feature <?>
	Capabilities: [410] Physical Layer 16.0 GT/s <?>
	Capabilities: [440] Lane Margining at the Receiver <?>
	Kernel driver in use: pcieport

00:03.0 0600: 1022:14ea
	Flags: fast devsel, IOMMU group 5

00:03.1 0604: 1022:14ef (prog-if 00 [Normal decode])
	Subsystem: 1022:1453
	Flags: bus master, fast devsel, latency 0, IRQ 41, IOMMU group 5
	Bus: primary=00, secondary=06, subordinate=64, sec-latency=0
	I/O behind bridge: 6000-9fff [size=16K] [16-bit]
	Memory behind bridge: 78000000-8fffffff [size=384M] [32-bit]
	Prefetchable memory behind bridge: 6800000000-77ffffffff [size=64G] [32-bit]
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Root Port (Slot+), MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [c0] Subsystem: 1022:1453
	Capabilities: [c8] HyperTransport: MSI Mapping Enable+ Fixed+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [150] Advanced Error Reporting
	Capabilities: [270] Secondary PCI Express
	Capabilities: [400] Data Link Feature <?>
	Kernel driver in use: pcieport

00:04.0 0600: 1022:14ea
	Flags: fast devsel, IOMMU group 6

00:04.1 0604: 1022:14ef (prog-if 00 [Normal decode])
	Subsystem: 1022:1453
	Flags: bus master, fast devsel, latency 0, IRQ 42, IOMMU group 6
	Bus: primary=00, secondary=65, subordinate=c3, sec-latency=0
	I/O behind bridge: 2000-5fff [size=16K] [16-bit]
	Memory behind bridge: 60000000-77ffffff [size=384M] [32-bit]
	Prefetchable memory behind bridge: 5800000000-67ffffffff [size=64G] [32-bit]
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Root Port (Slot+), MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [c0] Subsystem: 1022:1453
	Capabilities: [c8] HyperTransport: MSI Mapping Enable+ Fixed+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [150] Advanced Error Reporting
	Capabilities: [270] Secondary PCI Express
	Capabilities: [400] Data Link Feature <?>
	Kernel driver in use: pcieport

00:08.0 0600: 1022:14ea
	Flags: fast devsel, IOMMU group 7

00:08.1 0604: 1022:14eb (prog-if 00 [Normal decode])
	Subsystem: 0005:f111
	Flags: bus master, fast devsel, latency 0, IRQ 43, IOMMU group 8
	Bus: primary=00, secondary=c4, subordinate=c4, sec-latency=0
	I/O behind bridge: 1000-1fff [size=4K] [16-bit]
	Memory behind bridge: 90000000-905fffff [size=6M] [32-bit]
	Prefetchable memory behind bridge: 7a10000000-7a207fffff [size=264M] [32-bit]
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Root Port (Slot-), MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [c0] Subsystem: 0005:f111
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [270] Secondary PCI Express
	Capabilities: [2a0] Access Control Services
	Capabilities: [400] Data Link Feature <?>
	Capabilities: [410] Physical Layer 16.0 GT/s <?>
	Capabilities: [450] Lane Margining at the Receiver <?>
	Kernel driver in use: pcieport

00:08.2 0604: 1022:14eb (prog-if 00 [Normal decode])
	Subsystem: 0005:f111
	Flags: bus master, fast devsel, latency 0, IRQ 44, IOMMU group 9
	Bus: primary=00, secondary=c5, subordinate=c5, sec-latency=0
	I/O behind bridge: [disabled] [32-bit]
	Memory behind bridge: 90900000-909fffff [size=1M] [32-bit]
	Prefetchable memory behind bridge: 7a20800000-7a208fffff [size=1M] [32-bit]
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Root Port (Slot-), MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [c0] Subsystem: 0005:f111
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [270] Secondary PCI Express
	Capabilities: [2a0] Access Control Services
	Capabilities: [400] Data Link Feature <?>
	Capabilities: [410] Physical Layer 16.0 GT/s <?>
	Capabilities: [450] Lane Margining at the Receiver <?>
	Kernel driver in use: pcieport

00:08.3 0604: 1022:14eb (prog-if 00 [Normal decode])
	Subsystem: 0005:f111
	Flags: bus master, fast devsel, latency 0, IRQ 45, IOMMU group 10
	Bus: primary=00, secondary=c6, subordinate=c6, sec-latency=0
	I/O behind bridge: [disabled] [32-bit]
	Memory behind bridge: 90600000-908fffff [size=3M] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Root Port (Slot-), MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [c0] Subsystem: 0005:f111
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [270] Secondary PCI Express
	Capabilities: [2a0] Access Control Services
	Capabilities: [400] Data Link Feature <?>
	Capabilities: [410] Physical Layer 16.0 GT/s <?>
	Capabilities: [450] Lane Margining at the Receiver <?>
	Kernel driver in use: pcieport

00:14.0 0c05: 1022:790b (rev 71)
	Subsystem: f111:0005
	Flags: 66MHz, medium devsel, IOMMU group 11
	Kernel driver in use: piix4_smbus
	Kernel modules: i2c_piix4, sp5100_tco

00:14.3 0601: 1022:790e (rev 51)
	Subsystem: f111:0005
	Flags: bus master, 66MHz, medium devsel, latency 0, IOMMU group 11

00:18.0 0600: 1022:14f0
	Flags: fast devsel, IOMMU group 12

00:18.1 0600: 1022:14f1
	Flags: fast devsel, IOMMU group 12

00:18.2 0600: 1022:14f2
	Flags: fast devsel, IOMMU group 12

00:18.3 0600: 1022:14f3
	Flags: fast devsel, IOMMU group 12
	Kernel driver in use: k10temp
	Kernel modules: k10temp

00:18.4 0600: 1022:14f4
	Flags: fast devsel, IOMMU group 12

00:18.5 0600: 1022:14f5
	Flags: fast devsel, IOMMU group 12

00:18.6 0600: 1022:14f6
	Flags: fast devsel, IOMMU group 12

00:18.7 0600: 1022:14f7
	Flags: fast devsel, IOMMU group 12

01:00.0 0604: 1002:1478 (rev 12) (prog-if 00 [Normal decode])
	Physical Slot: 0
	Flags: bus master, fast devsel, latency 0, IRQ 46, IOMMU group 13
	Memory at 90e00000 (32-bit, non-prefetchable) [size=16K]
	Bus: primary=01, secondary=02, subordinate=03, sec-latency=0
	I/O behind bridge: a000-afff [size=4K] [16-bit]
	Memory behind bridge: 90c00000-90dfffff [size=2M] [32-bit]
	Prefetchable memory behind bridge: 7800000000-7a0fffffff [size=8448M] [32-bit]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Upstream Port, MSI 00
	Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [150] Advanced Error Reporting
	Capabilities: [270] Secondary PCI Express
	Capabilities: [320] Latency Tolerance Reporting
	Capabilities: [370] L1 PM Substates
	Capabilities: [400] Data Link Feature <?>
	Capabilities: [410] Physical Layer 16.0 GT/s <?>
	Capabilities: [440] Lane Margining at the Receiver <?>
	Kernel driver in use: pcieport

02:00.0 0604: 1002:1479 (rev 12) (prog-if 00 [Normal decode])
	Subsystem: 1002:1479
	Flags: bus master, fast devsel, latency 0, IRQ 47, IOMMU group 14
	Bus: primary=02, secondary=03, subordinate=03, sec-latency=0
	I/O behind bridge: a000-afff [size=4K] [16-bit]
	Memory behind bridge: 90c00000-90dfffff [size=2M] [32-bit]
	Prefetchable memory behind bridge: 7800000000-7a0fffffff [size=8448M] [32-bit]
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Downstream Port (Slot-), MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [c0] Subsystem: 1002:1479
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [150] Advanced Error Reporting
	Capabilities: [270] Secondary PCI Express
	Capabilities: [2a0] Access Control Services
	Capabilities: [400] Data Link Feature <?>
	Capabilities: [410] Physical Layer 16.0 GT/s <?>
	Capabilities: [450] Lane Margining at the Receiver <?>
	Kernel driver in use: pcieport

03:00.0 0300: 1002:7480 (rev c1) (prog-if 00 [VGA controller])
	Subsystem: f111:0007
	Flags: bus master, fast devsel, latency 0, IRQ 79, IOMMU group 15
	Memory at 7800000000 (64-bit, prefetchable) [size=8G]
	Memory at 7a00000000 (64-bit, prefetchable) [size=256M]
	I/O ports at a000 [size=256]
	Memory at 90c00000 (32-bit, non-prefetchable) [size=1M]
	Expansion ROM at 90d20000 [disabled] [size=128K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Legacy Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [150] Advanced Error Reporting
	Capabilities: [200] Physical Resizable BAR
	Capabilities: [240] Power Budgeting <?>
	Capabilities: [270] Secondary PCI Express
	Capabilities: [2a0] Access Control Services
	Capabilities: [2d0] Process Address Space ID (PASID)
	Capabilities: [320] Latency Tolerance Reporting
	Capabilities: [410] Physical Layer 16.0 GT/s <?>
	Capabilities: [450] Lane Margining at the Receiver <?>
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu

03:00.1 0403: 1002:ab30
	Subsystem: f111:0005
	Flags: bus master, fast devsel, latency 0, IRQ 119, IOMMU group 16
	Memory at 90d00000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Legacy Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [150] Advanced Error Reporting
	Capabilities: [2a0] Access Control Services
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

04:00.0 0280: 14c3:0616
	Subsystem: 14c3:e616
	Flags: bus master, fast devsel, latency 0, IRQ 122, IOMMU group 17
	Memory at 7a20900000 (64-bit, prefetchable) [size=1M]
	Memory at 90b00000 (64-bit, non-prefetchable) [size=32K]
	Capabilities: [80] Express Endpoint, MSI 00
	Capabilities: [e0] MSI: Enable+ Count=1/32 Maskable+ 64bit+
	Capabilities: [f8] Power Management version 3
	Capabilities: [100] Vendor Specific Information: ID=1556 Rev=1 Len=008 <?>
	Capabilities: [108] Latency Tolerance Reporting
	Capabilities: [110] L1 PM Substates
	Capabilities: [200] Advanced Error Reporting
	Kernel driver in use: mt7921e
	Kernel modules: mt7921e

05:00.0 0108: 15b7:5030 (rev 01) (prog-if 02 [NVM Express])
	Subsystem: 15b7:5030
	Flags: bus master, fast devsel, latency 0, IRQ 58, IOMMU group 18
	Memory at 90a00000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [80] Power Management version 3
	Capabilities: [90] MSI: Enable- Count=1/32 Maskable- 64bit+
	Capabilities: [b0] MSI-X: Enable+ Count=65 Masked-
	Capabilities: [c0] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [1b8] Latency Tolerance Reporting
	Capabilities: [300] Secondary PCI Express
	Capabilities: [900] L1 PM Substates
	Capabilities: [910] Data Link Feature <?>
	Capabilities: [920] Lane Margining at the Receiver <?>
	Capabilities: [9c0] Physical Layer 16.0 GT/s <?>
	Kernel driver in use: nvme
	Kernel modules: nvme

c4:00.0 0300: 1002:15bf (rev c2) (prog-if 00 [VGA controller])
	Subsystem: f111:0005
	Flags: bus master, fast devsel, latency 0, IRQ 50, IOMMU group 19
	Memory at 7a10000000 (64-bit, prefetchable) [size=256M]
	Memory at 90000000 (64-bit, prefetchable) [size=2M]
	I/O ports at 1000 [size=256]
	Memory at 90500000 (32-bit, non-prefetchable) [size=512K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Legacy Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable- Count=1/4 Maskable- 64bit+
	Capabilities: [c0] MSI-X: Enable+ Count=4 Masked-
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [270] Secondary PCI Express
	Capabilities: [2a0] Access Control Services
	Capabilities: [2b0] Address Translation Service (ATS)
	Capabilities: [2c0] Page Request Interface (PRI)
	Capabilities: [2d0] Process Address Space ID (PASID)
	Capabilities: [410] Physical Layer 16.0 GT/s <?>
	Capabilities: [450] Lane Margining at the Receiver <?>
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu

c4:00.1 0403: 1002:1640
	Subsystem: f111:0005
	Flags: bus master, fast devsel, latency 0, IRQ 120, IOMMU group 20
	Memory at 905c8000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Legacy Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [2a0] Access Control Services
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

c4:00.2 1080: 1022:15c7
	Subsystem: f111:0005
	Flags: bus master, fast devsel, latency 0, IRQ 76, IOMMU group 21
	Memory at 90400000 (32-bit, non-prefetchable) [size=1M]
	Memory at 905cc000 (32-bit, non-prefetchable) [size=8K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable- Count=1/2 Maskable- 64bit+
	Capabilities: [c0] MSI-X: Enable+ Count=2 Masked-
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [2a0] Access Control Services
	Kernel driver in use: ccp
	Kernel modules: ccp

c4:00.3 0c03: 1022:15b9 (prog-if 30 [XHCI])
	Subsystem: f111:0005
	Flags: bus master, fast devsel, latency 0, IRQ 49, IOMMU group 22
	Memory at 90200000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [c0] MSI-X: Enable- Count=1 Masked-
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [2a0] Access Control Services
	Kernel driver in use: xhci_hcd

c4:00.4 0c03: 1022:15ba (prog-if 30 [XHCI])
	Subsystem: f111:0005
	Flags: bus master, fast devsel, latency 0, IRQ 51, IOMMU group 23
	Memory at 90300000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [c0] MSI-X: Enable- Count=1 Masked-
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [2a0] Access Control Services
	Kernel driver in use: xhci_hcd

c4:00.5 0480: 1022:15e2 (rev 63)
	Subsystem: f111:0005
	Flags: bus master, fast devsel, latency 0, IRQ 117, IOMMU group 24
	Memory at 90580000 (32-bit, non-prefetchable) [size=256K]
	Memory at 7a20000000 (64-bit, prefetchable) [size=8M]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [2a0] Access Control Services
	Kernel driver in use: snd_pci_ps
	Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh, snd_sof_amd_acp63

c4:00.6 0403: 1022:15e3
	Subsystem: f111:0005
	Flags: bus master, fast devsel, latency 0, IRQ 121, IOMMU group 25
	Memory at 905c0000 (32-bit, non-prefetchable) [size=32K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [2a0] Access Control Services
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

c5:00.0 1300: 1022:14ec
	Subsystem: f111:0005
	Flags: fast devsel, IOMMU group 26
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable- Count=1/4 Maskable- 64bit+
	Capabilities: [d0] SATA HBA v1.0
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [270] Secondary PCI Express
	Capabilities: [2a0] Access Control Services
	Capabilities: [410] Physical Layer 16.0 GT/s <?>
	Capabilities: [450] Lane Margining at the Receiver <?>

c5:00.1 1180: 1022:1502
	Subsystem: f111:0005
	Flags: fast devsel, IRQ 255, IOMMU group 27
	Memory at 90900000 (32-bit, non-prefetchable) [disabled] [size=512K]
	Memory at 909c0000 (32-bit, non-prefetchable) [disabled] [size=8K]
	Memory at 7a20800000 (64-bit, prefetchable) [disabled] [size=256K]
	Memory at 90980000 (32-bit, non-prefetchable) [disabled] [size=256K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable- Count=1/16 Maskable- 64bit+
	Capabilities: [c0] MSI-X: Enable- Count=16 Masked-
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [150] Advanced Error Reporting
	Capabilities: [2a0] Access Control Services
	Capabilities: [2d0] Process Address Space ID (PASID)

c6:00.0 1300: 1022:14ec
	Subsystem: f111:0005
	Flags: fast devsel, IOMMU group 28
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Endpoint, MSI 00
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [270] Secondary PCI Express
	Capabilities: [2a0] Access Control Services
	Capabilities: [410] Physical Layer 16.0 GT/s <?>
	Capabilities: [450] Lane Margining at the Receiver <?>

c6:00.3 0c03: 1022:15c0 (prog-if 30 [XHCI])
	Subsystem: f111:0005
	Flags: bus master, fast devsel, latency 0, IRQ 53, IOMMU group 29
	Memory at 90600000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [c0] MSI-X: Enable- Count=1 Masked-
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [2a0] Access Control Services
	Kernel driver in use: xhci_hcd

c6:00.4 0c03: 1022:15c1 (prog-if 30 [XHCI])
	Subsystem: f111:0005
	Flags: bus master, fast devsel, latency 0, IRQ 55, IOMMU group 30
	Memory at 90700000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [c0] MSI-X: Enable- Count=1 Masked-
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [2a0] Access Control Services
	Kernel driver in use: xhci_hcd

c6:00.5 0c03: 1022:1668 (prog-if 40 [USB4 Host Interface])
	Subsystem: f111:0005
	Flags: bus master, fast devsel, latency 0, IRQ 81, IOMMU group 31
	Memory at 90800000 (64-bit, non-prefetchable) [size=512K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable- Count=1/16 Maskable- 64bit+
	Capabilities: [c0] MSI-X: Enable+ Count=16 Masked-
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [2a0] Access Control Services
	Kernel driver in use: thunderbolt
	Kernel modules: thunderbolt

c6:00.6 0c03: 1022:1669 (prog-if 40 [USB4 Host Interface])
	Subsystem: f111:0005
	Flags: bus master, fast devsel, latency 0, IRQ 100, IOMMU group 32
	Memory at 90880000 (64-bit, non-prefetchable) [size=512K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable- Count=1/16 Maskable- 64bit+
	Capabilities: [c0] MSI-X: Enable+ Count=16 Masked-
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [2a0] Access Control Services
	Kernel driver in use: thunderbolt
	Kernel modules: thunderbolt

Hi,
Just to clarify, was this lspci done with the ethernet card plugged in and passing TCP/IP traffic?

Ah, no, the card was installed in my laptop but no ethernet cable was plugged in at the time. However, I just went and plugged into a port and started streaming a video over the connection, then ran lspci again and it produced an identical result as above.

For what it’s worth, it looks like a patch to automatically flip this flag made it into the kernel recently ish. If I understand correct, you can check if your kernel is already doing this with

cat /sys/module/rtc_cmos/parameters/use_acpi_alarm 
Y

The Y means this flag is set.

2 Likes

Could there be a similar kernel issue where the lock screen freezes, and you have to force shut down the device by holding down the power button? (Admin, if this needs to be on another thread, please move it.)

I did the GRUB workaround that Matt Hartley suggested for the original issue and it seems to have fixed my issue also. Thanks, Matt.

1 Like

Music to my ears! Thanks for the update. :slight_smile:

I’m having the same problem with waking up from suspend after a few seconds. I tried the workaround above, but it didn’t make a difference for me. I have the same issue on ubuntu 24.04, 22.04, fedora 40, and linux mint. I tried running the script if that helps.

1 Like

Thank you, that worked for me. I am on EndeavourOS with systemd-boot so I had to edit /etc/kernel/cmdline and add the rtc_cmos.use_acpi_alarm=1 there.
Then remember to run sudo reinstall-kernels to apply the change to all entries.

Same here. Fresh install of 24.04 latest bios update and it immediately crashes upon waking from suspend.

1 Like

I’m on Ubuntu 24.04 (Linux 6.8.0) and my laptop wakes up randomly, sometimes in my backpack. This could be dangerous.

Before I try random solutions, is there a way to configure the laptop so that it only wakes up by pressing the power button? That would solve all problems, as it can never be unintentional. I don’t want it to wake up by USB events, lid events, keyboard events, or anything else.

1 Like

I am on NixOS Unstable and I am also having this problem, it existed on 24.05 and after changing to Unstable. But it was fine in a 23.11 live ISO. I have tried 2 workarounds in my kernel params with no change in result. Currently I have to press hibernate, wait for it to save to disk, then hold down the power button until it actually shuts down. It will then restore like normal next boot. If it is important I am on an encrypted file system with my swap being a logical volume under the encrypted LVM on LUKS partition.

A new mainboard fixed it for me. I had a couple other issues too though. I would ask support if you haven’t. They’re very helpful.

@tobiac
There are various ways to make the FW16 AMD laptop only wake up on the power button, using udev or scripts.
The following disables: Keyboard, Touchpad and lid opening from waking up the laptop.
I use a script on Ubuntu:

#!/bin/sh
# This file should be placed in directory: /usr/lib/systemd/system-sleep

PATH=/sbin:/usr/sbin:/bin:/usr/bin

case "$1" in
	pre)	echo disabled > /sys/devices/pci0000:00/0000:00:08.1/0000:c1:00.3/usb1/1-4/1-4.3/power/wakeup
		echo disabled > /sys/devices/platform/AMDI0010:03/i2c-1/i2c-PIXA3854:00/power/wakeup
		echo disabled >/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:4b/PNP0C09:00/PNP0C0D:00/power/wakeup
		exit 0
		;;
	post)	exit 0
		;;
 	*)	exit 1
		;;
esac
2 Likes