My laptop (Dell Latitude 7310) has a touchscreen and it works perfectly as soon as it enters suspend mode. After waking the laptop, the touchscreen does not work at all no matter what I do. I have noticed this happening only after I switched /sys/power/mem_sleep to deep. When it was set to s2idle the touchscreen worked fine after waking.
I read a few other threads regarding similar issues and tried the following without any luck:
Changing the suspend mode in BIOS from Linux to Windows (I have no such option)
Disabling Thunderbolt 3
Reloading the hid_multitouch and wacom kernel modules
Using xinput enable/disable for the touchscreen (I use Wayland but I tried it in X11 too)
I should also note that in Gnome settings under the Wacom tablet section it detects no devices.
Is there something I need to configure differently to fix this?
I can provide any hardware information necessary or any logs. Thanks in advance!
I would typically ask, what kernel version you are on, and post your hardware info with inxi -Fzxx , but it looks like you’ve done some tinkering already. . .
Is this a setting you can revert, since it was working prior to your change?
Yes, I can change this setting between s2idle and deep. By default it is set to s2idle but this drained a lot of battery when suspended so I had to use deep (which from what I read suspends to RAM). In fact I did change it back to s2idle before posting this to verify that this behavior was exclusive to the deep suspend mode.