OSDN Git Service

init.sh: support ASUS VivoTab Note 8 (M80TA)
authorChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 29 Mar 2018 02:50:01 +0000 (10:50 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 29 Mar 2018 02:50:01 +0000 (10:50 +0800)
Tested-by: Fotis k <fkalioras@gmail.com>
init.sh

diff --git a/init.sh b/init.sh
index 89670f8..0ae2135 100644 (file)
--- a/init.sh
+++ b/init.sh
@@ -55,7 +55,7 @@ function init_hal_bluetooth()
        done
 
        case "$PRODUCT" in
-               T10*TA|HP*Omni*)
+               T10*TA|M80TA|HP*Omni*)
                        BTUART_PORT=/dev/ttyS1
                        set_property hal.bluetooth.uart.proto bcm
                        ;;
@@ -256,7 +256,7 @@ function init_hal_sensors()
                        modprobe hdaps
                        hal_sensors=hdaps
                        ;;
-               *i7Stylus*)
+               *i7Stylus*|*M80TA*)
                        set_property ro.iio.accel.x.opt_scale -1
                        ;;
                *ONDATablet*)