From 7d8ecae50e3766b8ee8c9c34a4f31c2e23b7a277 Mon Sep 17 00:00:00 2001 From: Valentin Manea Date: Fri, 12 Apr 2019 16:46:41 +0800 Subject: [PATCH] init.sh: disable offlining of non-boot CPU of Teclast X80 Power This fixes the suspend/resume issue of the device. --- init.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.sh b/init.sh index 11ac812..c8a42d6 100644 --- a/init.sh +++ b/init.sh @@ -440,6 +440,9 @@ function do_bootcomplete() Surface*Go) echo on > /sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/power/control ;; + X80*Power) + set_property power.nonboot-cpu-off 1 + ;; *) ;; esac -- 2.11.0