OSDN Git Service

init.sh: fix sensors support of Microtech e-tab Pro
authorChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 6 Mar 2019 03:55:57 +0000 (11:55 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 6 Mar 2019 03:55:57 +0000 (11:55 +0800)
init.sh

diff --git a/init.sh b/init.sh
index fae2433..b8e4a88 100644 (file)
--- a/init.sh
+++ b/init.sh
@@ -260,6 +260,9 @@ function init_hal_sensors()
                        modprobe hdaps
                        hal_sensors=hdaps
                        ;;
+               *e-tabPro*)
+                       set_property ro.iio.accel.quirks no-trig
+                       ;&
                *i7Stylus*|*M80TA*)
                        set_property ro.iio.accel.x.opt_scale -1
                        ;;