Cannot resume touch after suspend/resume (or after unloading mei mei_me)
This is the same issue as #270, that I am reopening here since it is happening in kernel 5.0.1 (on a surface pro 4). Touch is irrevocably broken after suspend/resume, or after unloading the related modules mei or mei_me
On startup, or when i unload and reload intel_ipts, I can see the following dmesg:
probing Intel Precise Touch & Stylus
IPTS using DMA_BIT_MASK(64)
input: ipts 1B96:006A UNKNOWN as /devices/pci0000:00/0000:00:16.4/mei::3e8d0870-271a-4208-8eb5-9acb9402ae04:0F/0044:1B96:006A.0005/input/input60
input: ipts 1B96:006A as /devices/pci0000:00/0000:00:16.4/mei::3e8d0870-271a-4208-8eb5-9acb9402ae04:0F/0044:1B96:006A.0005/input/input62
input: ipts 1B96:006A Touchscreen as /devices/pci0000:00/0000:00:16.4/mei::3e8d0870-271a-4208-8eb5-9acb9402ae04:0F/0044:1B96:006A.0005/input/input63
input: ipts 1B96:006A Mouse as /devices/pci0000:00/0000:00:16.4/mei::3e8d0870-271a-4208-8eb5-9acb9402ae04:0F/0044:1B96:006A.0005/input/input64
hid-multitouch 0044:1B96:006A.0005: input,hidraw1: <UNKNOWN> HID v16900.00 Mouse [ipts 1B96:006A] on heci3
ipts mei::3e8d0870-271a-4208-8eb5-9acb9402ae04:0F: touch enabled 4
But if I suspend/resume or unload+reload mei once, then touch is broken, and unloading + reloading intel_ipts will only give me the following:
[ 1866.238015] ipts mei::3e8d0870-271a-4208-8eb5-9acb9402ae04:0F: error in reading m2h msg
[ 1866.238023] IPTS removed
[ 1869.801790] IPTS ipts_mei_cl_init() is called
[ 1869.801893] probing Intel Precise Touch & Stylus
[ 1869.801896] IPTS using DMA_BIT_MASK(64)
And nothing beyond.
I have also tried removing/rescaning the pci bus, but this doesn't help.
I can say it happens oftenly on a surface book too, also 5.0.1 kernel. Anyway props for the amazing work done so far :)
Same here: Surface Pro 4 (kernels 5.07/8/9/10) echo freeze > /sys/power/state causes touch to not work on resume. Pulling/reloading the mei and touch modules does not restore functionality. Messages are as per realSpok above. Hibernate to disk does work however, and restores the touch function.
BillK
I can confirm the issue on a Surface Pro 6.
i tested 4 versions of ubuntu it works fine on 16.04 and 14.04 so someting changed on 18.04 and 19.04
@WesleyVanNeck as for me I got this bug on arch linux not on ubuntu.
Same on 5.1.7-1 on Deepin OS (uefi enabled, sp4)
Likewise in SP4 Kubuntu 18.10. This has been brought up a few times and I have never gotten it to work
Same here on SP4, Arch, Kernel 5.1.15-1-surface. Any news?
On recent kernels (qzed fork), this issue may be already fixed.
- If you are not aware of newer prebuilt kernels from qzed, have a look at https://github.com/qzed/linux-surface/releases for releases
- make sure to run setup.sh or manually update sleep sctipt
and tell me if this issue has gone or not. If this issue still persists, try uncommenting IPTS lines on the sleep script
I'm getting the same error on a SB2 15", 19.10 Ubuntu and qzeds v5.3.10-1 kernel. Will try to uncomment the IPTS lines monday.