On Sun, 2018-12-16 at 13:17 +0100, Andreas Gohr wrote: > Hello > > I'm having trouble with the goodix touchscreen waking up from suspend > properly. It works fine after a fresh boot. A cat on > /dev/input/event6 > and /dev/input/mouse0 show output when I touch the screen. However > after sending the machine to sleep and waking it up again no data is > coming from the input devices anymore. > > Unloading and loading the goodix module and/or restarting X makes no > difference (the driver shows no errors when loading). There are no > errors in dmesg after waking up. > > This is on a One-Mix Yoga 2 on Arch-Linux. > > $ dmesg | grep -i goodix > [ 3.005874] Goodix-TS i2c-GDIX1001:00: ID 9111, version: 4020 > [ 3.019978] input: Goodix Capacitive TouchScreen as > /devices/pci0000:00/0000:00:15.2/i2c_designware.2/i2c-3/i2c- > GDIX1001:00/input/input6 > $ uname -a > Linux krill 4.19.8-arch1-1-ARCH #1 SMP PREEMPT Sat Dec 8 13:49:11 UTC > 2018 x86_64 GNU/Linux > > I'm happy to provide additional info if you tell me where to find it. > There's also problems with the stylus, but that's probably unrelated > - > I will report this issue separately - though I'm unsure if that is X > or driver related. My guess is that it would be i2c driver related, if unloading and reloading the module doesn't work. Any errors related to i2c after resume, whether you unload and reload the driver, or simply suspend with the driver still loaded? Cheers