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.

1 Like