OSDN Git Service

init.sh: add quirks for Acer SP111-33
authorChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 15 Oct 2019 09:35:48 +0000 (17:35 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 15 Oct 2019 09:35:48 +0000 (17:35 +0800)
Tested-by: Ralph deGennaro <rmdegennaro@gmail.com>
init.sh

diff --git a/init.sh b/init.sh
index 5f09257..3e5ae24 100644 (file)
--- a/init.sh
+++ b/init.sh
@@ -309,6 +309,9 @@ function init_hal_sensors()
                        set_property ro.iio.accel.x.opt_scale -1
                        set_property ro.iio.accel.y.opt_scale -1
                        ;;
                        set_property ro.iio.accel.x.opt_scale -1
                        set_property ro.iio.accel.y.opt_scale -1
                        ;;
+               *SP111-33*)
+                       set_property ro.iio.accel.quirks no-trig
+                       ;&
                *ST70416-6*)
                        set_property ro.iio.accel.order 102
                        ;;
                *ST70416-6*)
                        set_property ro.iio.accel.order 102
                        ;;