OSDN Git Service

Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
[android-x86/device-generic-common.git] / init.sh
diff --git a/init.sh b/init.sh
index 812e055..e632ec7 100644 (file)
--- a/init.sh
+++ b/init.sh
@@ -282,8 +282,8 @@ function init_hal_sensors()
                        modprobe hdaps
                        hal_sensors=hdaps
                        ;;
-               *e-tabPro*)
-                       set_property ro.iio.accel.quirks no-trig
+               *LINX1010B*)
+                       set_property ro.iio.accel.z.opt_scale -1
                        ;&
                *i7Stylus*|*M80TA*)
                        set_property ro.iio.accel.x.opt_scale -1
@@ -296,7 +296,7 @@ function init_hal_sensors()
                *ST70416-6*)
                        set_property ro.iio.accel.order 102
                        ;;
-               *pnEZpad*)
+               *e-tabPro*|*pnEZpad*)
                        set_property ro.iio.accel.quirks no-trig
                        ;&
                *T*0*TA*)
@@ -456,6 +456,9 @@ function do_bootcomplete()
                VMware*)
                        pm disable com.android.bluetooth
                        ;;
+               X80*Power)
+                       set_property power.nonboot-cpu-off 1
+                       ;;
                *)
                        ;;
        esac