Bug 2306298 - On kernel 6.10 Thinkpad T14s Gen 4 AMD wakes when plugged in with the lid closed
Summary: On kernel 6.10 Thinkpad T14s Gen 4 AMD wakes when plugged in with the lid closed
Keywords:
Status: CLOSED DUPLICATE of bug 2301921
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 40
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-08-20 22:05 UTC by Chris Adams
Modified: 2024-08-24 14:09 UTC (History)
16 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-08-24 14:09:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
dmesg from kernel 6.10.5 (120.38 KB, text/plain)
2024-08-20 22:06 UTC, Chris Adams
no flags Details

Description Chris Adams 2024-08-20 22:05:39 UTC
1. Please describe the problem:
With kernel 6.10+ when I use my Thinkpad unplugged and close the lid, it goes to sleep (as expected). However when I then plug in the USB-C power to charge it, it wakes up; it does not do this with 6.9 and before (tried 6.9.12-200.fc40.x86_64).

2. What is the Version-Release number of the kernel:
6.10.5-200.fc40.x86_64 (same behavior on 6.10.3 and 6.10.4)

3. Did it work previously in Fedora? If so, what kernel version did the issue
   *first* appear?  Old kernels are available for download at
   https://koji.fedoraproject.org/koji/packageinfo?packageID=8 :
6.10.3 is the first I observed

4. Can you reproduce this issue? If so, please provide the steps to reproduce
   the issue below:
Yes: when unplugged, close the lid, goes to sleep - then plug in with lid still closed, wakes up

5. Does this problem occur with the latest Rawhide kernel? To install the
   Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by
   ``sudo dnf update --enablerepo=rawhide kernel``:
Tried kernel-6.11.0-0.rc3.20240814git6b0f8db921ab.32.fc42.x86_64 but had many (unrelated) problems, system wasn't working right, wouldn't go to sleep at all, wouldn't shut down, had to hold the power button. There was a kernel NULL pointer dereference.

6. Are you running any modules that not shipped with directly Fedora's kernel?:
no

7. Please attach the kernel logs. You can get the complete kernel log
   for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the
   issue occurred on a previous boot, use the journalctl ``-b`` flag.

Reproducible: Always

Comment 1 Chris Adams 2024-08-20 22:06:34 UTC
Created attachment 2044517 [details]
dmesg from kernel 6.10.5

Comment 2 Chris Adams 2024-08-20 23:05:32 UTC
Additional thing I tried (with 6.10.5): I left the lid open, plugged it in, and tried suspending. It went to sleep for a little while, but next time I looked it had wakened itself back up.

Comment 3 Jonathan Billings 2024-08-21 12:44:06 UTC
I believe this is related to this ticket:  https://bugzilla.redhat.com/show_bug.cgi?id=2301921  and the Qualcomm wifi device.

Comment 4 Chris Adams 2024-08-21 13:03:13 UTC
Yep, sounds very similar, although maybe I have slightly different symptoms - I'm pretty sure that when unplugged, when I close the lid and don't plug it in it stays asleep (testing that now).

I figured the Qualcomm wifi code got an update, as my wifi was kind of flakey with 6.9 and got much better with 6.10; too bad that's also potentially the source of the sleep problem.

I'll try to add my debug info to that ticket later today.

Comment 5 Chris Adams 2024-08-24 14:09:09 UTC

*** This bug has been marked as a duplicate of bug 2301921 ***


Note You need to log in before you can comment on or make changes to this bug.