From 0260e9c1139739d3de33aed500a3dbe4f6f3e5d9 Mon Sep 17 00:00:00 2001 From: Steve Pfetsch Date: Tue, 26 Sep 2017 14:32:13 -0700 Subject: [PATCH] taimen: disable system-pc power management Touch irqs can be handled late when power management is enabled. Bug: 64141048 Change-Id: Iacef8cc340fcedb9326b694288fcb65b7a642f05 --- init-taimen.rc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init-taimen.rc b/init-taimen.rc index 127abf6..6a19881 100644 --- a/init-taimen.rc +++ b/init-taimen.rc @@ -28,6 +28,10 @@ on boot # Allow ftm4 autotune from adb shell chown system shell /sys/devices/virtual/input/ftm4_touch/autotune +on init + # Disable system-pc idle to prevent touch drops [b/64141048] + write /sys/module/lpm_levels/system/system-pc/idle_enabled N + on init && property:ro.boot.revision=* setprop ro.boot.hardware.revision ${ro.boot.revision}