Created attachment 894419 [details] Fix touchscreen/touchpad/suspend/als and add zram for kernel 3.14.x Description of problem: Since kernel 3.14.2 (including .3), suspend is broken on the Acer C720P or C720; it causes a hard reset when opening the screen. Version-Release number of selected component (if applicable): 3.14.2 and 3.14.3 How reproducible: close and open the screen. Works everytime Steps to Reproduce: 1.close the screen 2.open the screen 3.the computer exhibit a hard reset Actual results: hard reset Expected results: suspend should work Additional info: This patch is the cause of the issue: https://github.com/torvalds/linux/commit/1569a4c4ceba Reverting it fix the issue. Relevant parts of the script fixing this issue: *** # Fix suspend by reverting drivers/char/tpm/tpm_ppi.c to kernel 3.13 behavior wget -O - https://github.com/torvalds/linux/commit/1569a4c4ceba.patch | patch -p1 -R # Suspend cd drivers/char/tpm/ mv Makefile Makefile.orig echo 'KERNELVERSION = '$archkernver' obj-m += tpm.o tpm-y := tpm-interface.o tpm-dev.o tpm-sysfs.o tpm-y += tpm_ppi.o tpm-y += tpm_eventlog.o tpm_acpi.o KDIR := /lib/modules/$(shell uname -r)/build PWD := $(shell pwd) default: $(MAKE) -C $(KDIR) M=$(PWD) modules' > Makefile make -C /lib/modules/$archkernver/build M=$PWD modules rm Makefile mv Makefile.orig Makefile cd ../../.. mkdir -p /lib/modules/$archkernver/kernel/drivers/char/tpm/ && cp drivers/char/tpm/tpm.ko /lib/modules/$archkernver/kernel/drivers/char/tpm/ *** Grub must also be updated with those options: in /etc/default/grub, add: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash tpm_tis.force=1 tpm_tis.interrupts=0" Update grub: # grub2-mkconfig -o /boot/grub2/grub.cfg "tpm_tis.interrupts=0" is the necessary part. As my spare time is rare, I've not tested removeing the other options. Reference for who had find the fix: https://bbs.archlinux.org/viewtopic.php?id=173418&p=8 Posts #195 and #208
There's actually a fix for this posted. I'll try and get a scratch-build done with the fix included later today. See: https://lkml.org/lkml/2014/5/11/296
@Josh, Indeed. Upstream bug where the fiX was found: https://bugzilla.kernel.org/show_bug.cgi?id=74021 I'll give a try to this fix when I've got some spare time for inclusion in my script, until it appears in 3.15 in Fedora. Thank you!
Yannick, did you get a chance to try the patch? I did a scratch build but forgot to include a link to it here and have since lost it.
This should be fixed with: commit fcbe7574986518eb6896c18804dc77d8dfd879ea Author: Rafael J. Wysocki <rafael.j.wysocki> Date: Mon May 12 01:13:28 2014 +0200 ACPI / TPM: Fix resume regression on Chromebooks commit f759546498d820670934c901a2fdf1ce948d2e5c upstream. which is in 3.14.6.
I tested kernel 3.14.6 and I confirm this issue is now closed. Thank you guys!