Package: src:linux Version: 4.9.30-2+deb9u2 When running an up-to-date version of stretch on Thinkpad S2 2nd Gen, the system would hang after suspend/resume. Unloading hid_multitouch module before suspend will make the resume reliable, but reloading the module after resume has a very high chance to hang the system. The behavior can be reproduced on 4.9.30+deb9u2, 4.11.6-1~bpo9+1, and 4.12.2-1~exp1. The touchscreen device is called RAYD0001:00 2386:3118, both version 1.10 and 1.11 (2017-04-13) of BIOS can reproduce. Attached are logs that collected by unloading the module right before going to sleep, otherwise logs are lost because the system hang (nothing write to disk when checked after reboot). By running PM tests, it shows kernel freezer works (echo freezer > /sys/power/pm_test), but when testing devices (echo devices > /sys/power/pm_test) the problem occurs. $ cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-4.12.0-trunk-amd64 root=UUID=5aabb5b9-f37d-40e5-8e70-3a6b7dc34b2e ro nowatchdog quiet $ lsmod | egrep (hid|i2c) hid_multitouch 20480 0 i2c_designware_platform 16384 0 i2c_designware_core 20480 1 i2c_designware_platform i2c_algo_bit 16384 1 i915 i2c_i801 24576 0 i2c_hid 20480 0 hid 118784 2 i2c_hid,hid_multitouch $ free -m total used free shared buff/cache available Mem: 7872 1014 5981 167 876 6568 Swap: 8191 0 8191 $ xinput ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ ETPS/2 Elantech Touchpad id=13 [slave pointer (2)] ⎜ ↳ ETPS/2 Elantech TrackPoint id=14 [slave pointer (2)] ⎜ ↳ RAYD0001:00 2386:3118 id=12 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Power Button id=6 [slave keyboard (3)] ↳ Video Bus id=7 [slave keyboard (3)] ↳ Power Button id=8 [slave keyboard (3)] ↳ Sleep Button id=9 [slave keyboard (3)] ↳ Integrated Camera id=10 [slave keyboard (3)] ↳ ThinkPad Extra Buttons id=15 [slave keyboard (3)] ↳ AT Translated Set 2 keyboard id=11 [slave keyboard (3)]
Attachment:
pm-suspend.log
Description: Binary data
Attachment:
dmesg
Description: Binary data
Attachment:
Xorg.0.log
Description: Binary data
Attachment:
proc_interrupts
Description: Binary data