Skip to content

Commit

Permalink
save logs
Browse files Browse the repository at this point in the history
  • Loading branch information
nobuto-m committed Jan 2, 2025
1 parent c2ebdd5 commit 41f549c
Show file tree
Hide file tree
Showing 7 changed files with 2,735 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
# Documentation: https://wowchemy.com/docs/managing-content/

title: "How to completely prevent trackpoint touchpad or keyboard events from waking up thinkpad t14 gen 5 amd from suspend"
slug: how-to-completely-prevent-trackpoint-touchpad-or-keyboard-events-from-waking-up-thinkpad-t14-gen-5-amd-from-suspend
subtitle: ""
summary: ""
authors: []

tags: [planet-ubuntu]
categories: [Ubuntu]
keywords: []

reading_time: false
show_related: true
share: true

year: 2025
date: 2025-01-02T22:36:00+09:00
lastmod: 2025-01-02T22:36:00+09:00

featured: false
draft: true

# Featured image
# To use, add an image named `featured.jpg/png` to your page's folder.
image:
preview_only: true
---

{{< figure src="featured.png" caption="" >}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Debugging script for s2idle on AMD systems
💻 LENOVO 21MCCTO1WW (ThinkPad T14 Gen 5) running BIOS 1.11 (R2LET30W (1.11 )) released 11/11/2024 and EC 1.6
🐧 Ubuntu 24.10
🐧 Kernel 6.11.0-13-generic
🔋 Battery BAT0 (BYD 5B11H56417) is operating at 101.75% of design
Checking prerequisites for s2idle
✅ Logs are provided via systemd
✅ AMD Ryzen 7 PRO 8840U w/ Radeon 780M Graphics (family 19 model 75)
✅ ASPM policy set to 'default'
✅ SMT enabled
✅ LPS0 _DSM enabled
✅ ACPI FADT supports Low-power S0 idle
✅ HSMP driver `amd_hsmp` not detected (blocked: False)
✅ PMC driver `amd_pmc` loaded (Program 0 Firmware 76.87.0)
✅ USB4 driver `thunderbolt` bound to 0000:c6:00.5
✅ USB4 driver `thunderbolt` bound to 0000:c6:00.6
✅ GPU driver `amdgpu` bound to 0000:c4:00.0
✅ System is configured for s2idle
✅ NVME KIOXIA Corporation NVMe SSD Controller BG6 (DRAM-less) is configured for s2idle in BIOS
✅ GPIO driver `pinctrl_amd` available
Platform may have low hardware sleep residency with Wake-on-lan disabled. Run `ethtool -s enp1s0f0 wol g` to enable it if necessary.
✅ WCN6855 WLAN (fw build id WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.41)
Suspending system in 0:00:02Suspending system in 0:00:01 Started at 2025-01-02 23:24:31.139298 (cycle finish expected @ 2025-01-02 23:25:05.139328)
Collecting data in 0:00:02Collecting data in 0:00:01 Results from last s2idle cycle
💤 Suspend count: 1
💤 Hardware sleep cycle count: 1
○ GPIOs active: ['8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8']
🥱 Wakeup triggered from IRQ 9: ACPI SCI
🥱 Wakeup triggered from IRQ 7: GPIO Controller
🥱 Woke up from IRQ 7: GPIO Controller
❌ Userspace suspended for 0:00:13.689616 (< minimum expected 0:00:27)
💤 In a hardware sleep state for 0:00:09.638305 (70.41%)
🔋 Battery BAT0 lost 30000 µWh (0.06%) [Average rate 7.89W]
Explanations for your system
🚦 Userspace wasn't asleep at least 0:00:30
The system was programmed to sleep for 0:00:30, but woke up prematurely.
This typically happens when the system was woken up from a non-timer based source.

If you didn't intentionally wake it up, then there may be a kernel or firmware bug

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Debugging script for s2idle on AMD systems
💻 LENOVO 21MCCTO1WW (ThinkPad T14 Gen 5) running BIOS 1.11 (R2LET30W (1.11 )) released 11/11/2024 and EC 1.6
🐧 Ubuntu 24.10
🐧 Kernel 6.11.0-13-generic
🔋 Battery BAT0 (BYD 5B11H56417) is operating at 101.75% of design
Checking prerequisites for s2idle
✅ Logs are provided via systemd
✅ AMD Ryzen 7 PRO 8840U w/ Radeon 780M Graphics (family 19 model 75)
✅ ASPM policy set to 'default'
✅ SMT enabled
✅ LPS0 _DSM enabled
✅ ACPI FADT supports Low-power S0 idle
✅ HSMP driver `amd_hsmp` not detected (blocked: False)
✅ PMC driver `amd_pmc` loaded (Program 0 Firmware 76.87.0)
✅ USB4 driver `thunderbolt` bound to 0000:c6:00.5
✅ USB4 driver `thunderbolt` bound to 0000:c6:00.6
✅ GPU driver `amdgpu` bound to 0000:c4:00.0
✅ System is configured for s2idle
✅ NVME KIOXIA Corporation NVMe SSD Controller BG6 (DRAM-less) is configured for s2idle in BIOS
✅ GPIO driver `pinctrl_amd` available
Platform may have low hardware sleep residency with Wake-on-lan disabled. Run `ethtool -s enp1s0f0 wol g` to enable it if necessary.
✅ WCN6855 WLAN (fw build id WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.41)
Suspending system in 0:00:02Suspending system in 0:00:01 Started at 2025-01-02 23:21:51.676687 (cycle finish expected @ 2025-01-02 23:22:25.676715)
Collecting data in 0:00:02Collecting data in 0:00:01 Results from last s2idle cycle
💤 Suspend count: 1
💤 Hardware sleep cycle count: 3
○ GPIOs active: ['0']
🥱 Wakeup triggered from IRQ 9: ACPI SCI
🥱 Wakeup triggered from IRQ 7: GPIO Controller
🥱 Woke up from IRQ 7: GPIO Controller
❌ Userspace suspended for 0:00:15.051421 (< minimum expected 0:00:27)
💤 In a hardware sleep state for 0:00:10.227172 (67.95%)
🔋 Battery BAT0 lost 20000 µWh (0.04%) [Average rate 4.78W]
Explanations for your system
🚦 Userspace wasn't asleep at least 0:00:30
The system was programmed to sleep for 0:00:30, but woke up prematurely.
This typically happens when the system was woken up from a non-timer based source.

If you didn't intentionally wake it up, then there may be a kernel or firmware bug

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Debugging script for s2idle on AMD systems
💻 LENOVO 21MCCTO1WW (ThinkPad T14 Gen 5) running BIOS 1.11 (R2LET30W (1.11 )) released 11/11/2024 and EC 1.6
🐧 Ubuntu 24.10
🐧 Kernel 6.11.0-13-generic
🔋 Battery BAT0 (BYD 5B11H56417) is operating at 101.75% of design
Checking prerequisites for s2idle
✅ Logs are provided via systemd
✅ AMD Ryzen 7 PRO 8840U w/ Radeon 780M Graphics (family 19 model 75)
✅ ASPM policy set to 'default'
✅ SMT enabled
✅ LPS0 _DSM enabled
✅ ACPI FADT supports Low-power S0 idle
✅ HSMP driver `amd_hsmp` not detected (blocked: False)
✅ PMC driver `amd_pmc` loaded (Program 0 Firmware 76.87.0)
✅ USB4 driver `thunderbolt` bound to 0000:c6:00.5
✅ USB4 driver `thunderbolt` bound to 0000:c6:00.6
✅ GPU driver `amdgpu` bound to 0000:c4:00.0
✅ System is configured for s2idle
✅ NVME KIOXIA Corporation NVMe SSD Controller BG6 (DRAM-less) is configured for s2idle in BIOS
✅ GPIO driver `pinctrl_amd` available
Platform may have low hardware sleep residency with Wake-on-lan disabled. Run `ethtool -s enp1s0f0 wol g` to enable it if necessary.
✅ WCN6855 WLAN (fw build id WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.41)
Suspending system in 0:00:02Suspending system in 0:00:01 Started at 2025-01-02 23:19:39.975856 (cycle finish expected @ 2025-01-02 23:20:13.975880)
Collecting data in 0:00:02Collecting data in 0:00:01 Results from last s2idle cycle
💤 Suspend count: 1
💤 Hardware sleep cycle count: 2
🥱 Wakeup triggered from IRQ 9: ACPI SCI
🥱 Woke up from IRQ 9: ACPI SCI
💤 In a hardware sleep state for 0:00:28.124907 (85.64%)
🔋 Battery BAT0 lost 10000 µWh (0.02%) [Average rate 1.1W]
Expand Down
Loading

0 comments on commit 41f549c

Please sign in to comment.