Touchscreen doesn't work after waking from suspension

Sometimes, after waking my laptop (Lenovo ThinkPad yoga x1 3rd gen) from the suspended state, touchscreen no longer works and the “Wacom Tablet” setting even disappears from the settings. I can’t even use the Lenovo pen anymore.
This has never happened on Ubuntu or Windows. It does not always happen, but it is not rare. Here is the settings tab and how it disappears when touch does not work:



My specs:
Fedora 39 Workstation
Gnome 45.1
Wayland
Touchscreen is detected as: Wacom ISDv4 5148 in the settings.
If you need any more info or logs let me know, I’m fairly new to Linux so simple steps would be appreciated.

2 Likes

I had the same problem with gen3 x1 yoga in Fedora 40. There are two solutions, each one has trade offs:

Switch sleep mode to Windows 10 - i found that this fixes touch screen not working after sleep, but device does not automatically wake when opened. I have to press the power button and then it takes a few seconds for screen to come on.

You can leave sleep mode in Linux setting, and disable Thunderbolt 3 in BIOS. This fixes the touchscreen, anr and device wakes automatically and quickly when opened, but it also means that the usb c ports no longer work except for charging. Anyway for me, i wasn’t able to use a usb c flash drive in either port with thunderbolt disabled.