OSDN Git Service

init.sh: fix sensors support for LINX1010B
[android-x86/device-generic-common.git] / init.sh
diff --git a/init.sh b/init.sh
index 8d87f0c..11ac812 100644 (file)
--- a/init.sh
+++ b/init.sh
@@ -270,6 +270,9 @@ function init_hal_sensors()
                        modprobe hdaps
                        hal_sensors=hdaps
                        ;;
+               *LINX1010B*)
+                       set_property ro.iio.accel.z.opt_scale -1
+                       ;&
                *i7Stylus*|*M80TA*)
                        set_property ro.iio.accel.x.opt_scale -1
                        ;;