Bug 1965793 - ThinkPad X1 Carbon 9th touchpad becomes laggy and jumping after S3 suspend
Summary: ThinkPad X1 Carbon 9th touchpad becomes laggy and jumping after S3 suspend
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 34
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: 2021-05-30 01:17 UTC by plumlis
Modified: 2021-06-01 13:01 UTC (History)
19 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-06-01 13:01:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
dmesg (100.14 KB, text/plain)
2021-05-30 01:17 UTC, plumlis
no flags Details

Description plumlis 2021-05-30 01:17:02 UTC
Created attachment 1788053 [details]
dmesg

1. Please describe the problem:

My laptop is ThinkPad X1 Carbon 9th, Recently Lenovo released new version Bios which can make laptop support S3 Linux deep suspend.

After my laptop wake up from S3 Suspend, touchpad become lag and insensitive.

It's normal when I disabled S3 Suspend support in Bios and back to S2idle. I'm not sure if it's Bios or kernel driver related.

Can see some errors in Gnome-log


libinput error: event7  - ELAN0672:00 04F3:3187 Touchpad: kernel bug: Touch jump detected and discarded.


2. What is the Version-Release number of the kernel:

5.12.7-300.fc34.x86_64

Fedroa 34 wayland gnome 40


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 :


4. Can you reproduce this issue? If so, please provide the steps to reproduce
   the issue below:

- Uprade Thinkpad X1 Carbon 9th bios to latest version and enable Linux S3 suspend support.
- Close the lid or use systemctrl suspend to make Laptop into S3 suspend.
- Open the lid or use power bottom to wake up laptop from suspend.
- You will found that touchpad have lag issue.
- By the way, Trackpoint works well.


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``:

Yes


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.

Comment 1 Hans de Goede 2021-05-30 09:15:05 UTC
plumis, thank you for your bug report.

Recent Linux kernels and thus recent Fedora versions work fine with s2idle. The S3 support in the BIOS is really only for RHEL where the kernel does not fully support s2idle yet. Since Windows 10 uses s2idle the s2idle BIOS code tends to be much better tested; and battery usage while suspend should be just as good (or better) with s2idle mode as with S3.

So I always advice people to use s2idle mode when running Fedora. Inline with this my advice to you for this problem is to simply switch back to / leave the setting at s2idle.

I've added Mark Pearson from Lenovo to the Cc. Mark, can you please take a look at this issue ?

Comment 2 plumlis 2021-05-30 12:04:42 UTC
Hi, Thanks for your reply.

I know that s2idle could be a better choice. but my thinkpad with LTE module and  have issue with s2idle suspend.

It stop working after wake up from s2idle. Just like touchpad with S3 Deep suspend I reported in this issue.

https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/372#note_919309

And surprisingly LTE wake up issue is gone under S3 deep suspend.

This make me in a dilemma:  s2idle or S3, LTE module or touchpad.

It will be great to see you Cc this issue to Lenovo. I'm not sure LTE issue is Kernel related or Modemmanager related.

So should I have to report a new bug about LTE wake up issue?

Comment 3 Hans de Goede 2021-05-30 12:47:11 UTC
> So should I have to report a new bug about LTE wake up issue?

Normally we try to have one bug per issue, but first lets wait to see what Mark has to say, maybe there already is an open bug for this.

Comment 4 Mark Pearson 2021-05-31 15:22:38 UTC
Hi,

We test and certify with S0ix on this platform as S3 isn't supported on Tigerlake processors; S0ix is recommended and getting support for S3 is going to be hard. I'm slightly curious as to why they added the S3 support option in the latest BIOS - I hadn't realised that was happening.

I assume you have the Quectel LTE module? We're still working on enabling that so it's cool you have that working at all. Have you picked up all the patches that are upstream? support for it was only included recently. (I'm also intrigued how you got around the FCC lock as we haven't released the utility for that either)

My recommendation here would be a new bug marking it as specifically LTE related. If you could raise that, and tag me on it, I can follow up with the driver team and Quectel for status. It will come with the caveat that we're still working on it, but the driver is upstream and it's under testing so it should work. Once our test team have finished I'm hoping I can get semi-official instructions out on how to enable WWAN.

Mark

Comment 5 plumlis 2021-05-31 19:50:58 UTC
Hi, thanks for your reply and explansation.

I'll stay with s2idle option.

My X1C 9th is Chinese Version, Yes it has Quectel em05-ce wwan module with a LTE simcard preinstalled (5GB/month plan).

I don't know about FCC lock. I just install Fedora on my laptop and try to enabled LTE with network manager. And I found ……It works, but stop working after resume from suspend.

As you said Quectel em05-ce is still work in progress, I'll make a new bug report about this issue.

Thanks for your help. Mark.

Comment 6 plumlis 2021-05-31 20:06:42 UTC
I made a new bug report about LTE
https://bugzilla.redhat.com/show_bug.cgi?id=1966283

I don't know how to make it LTE related so it's in Kernel selection.

Comment 7 Mark Pearson 2021-05-31 21:38:35 UTC
Thanks - I've commented on the other bug and raised an internal ticket at Lenovo for tracking.

Hans - I assume we can close this one in the mean time?

Mark

Comment 8 Hans de Goede 2021-06-01 13:01:40 UTC
(In reply to Mark Pearson from comment #7)
> Hans - I assume we can close this one in the mean time?

Ack, closing.


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